html_url
stringlengths
51
51
title
stringlengths
6
280
comments
stringlengths
67
24.7k
body
stringlengths
51
36.2k
__index_level_0__
int64
1
1.17k
comment_length
int64
16
1.45k
text
stringlengths
190
38.3k
embeddings
sequence
https://github.com/huggingface/datasets/issues/4386
Bug for wiki_auto_asset_turk from GEM
Hi again @StevenTang1998, I don't see any problem when loading `totto` dataset: ```python In [4]: import datasets ...: ds = datasets.load_dataset("totto") Downloading builder script: 5.58kB [00:00, 5.33MB/s] Downloading metadata: 2.78kB [00:00, 2.96MB/s] Using custom data configuration default Downloading and preparing dataset totto/default (download: 179.03 MiB, generated: 706.59 MiB, post-processed: Unknown size, total: 885.62 MiB) to .../.cache/huggingface/datasets/totto/default/1.0.0/263c85871e5451bc892c65ca0306c0629eb7beb161e0eb998f56231562335dd2... Downloading data: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 188M/188M [00:32<00:00, 5.77MB/s] Dataset totto downloaded and prepared to .../.cache/huggingface/datasets/totto/default/1.0.0/263c85871e5451bc892c65ca0306c0629eb7beb161e0eb998f56231562335dd2. Subsequent calls will reuse this data. 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 147.95it/s] In [5]: ds Out[5]: DatasetDict({ train: Dataset({ features: ['id', 'table_page_title', 'table_webpage_url', 'table_section_title', 'table_section_text', 'table', 'highlighted_cells', 'example_id', 'sentence_annotations', 'overlap_subset'], num_rows: 120761 }) validation: Dataset({ features: ['id', 'table_page_title', 'table_webpage_url', 'table_section_title', 'table_section_text', 'table', 'highlighted_cells', 'example_id', 'sentence_annotations', 'overlap_subset'], num_rows: 7700 }) test: Dataset({ features: ['id', 'table_page_title', 'table_webpage_url', 'table_section_title', 'table_section_text', 'table', 'highlighted_cells', 'example_id', 'sentence_annotations', 'overlap_subset'], num_rows: 7700 }) }) ```
## Describe the bug The script of wiki_auto_asset_turk for GEM may be out of date. ## Steps to reproduce the bug ```python import datasets datasets.load_dataset('gem', 'wiki_auto_asset_turk') ``` ## Actual results ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/load.py", line 1731, in load_dataset builder_instance.download_and_prepare( File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/builder.py", line 640, in download_and_prepare self._download_and_prepare( File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/builder.py", line 1158, in _download_and_prepare super()._download_and_prepare(dl_manager, verify_infos, check_duplicate_keys=verify_infos) File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/builder.py", line 707, in _download_and_prepare split_generators = self._split_generators(dl_manager, **split_generators_kwargs) File "/home/tangtianyi/.cache/huggingface/modules/datasets_modules/datasets/gem/982a54473b12c6a6e40d4356e025fb7172a5bb2065e655e2c1af51f2b3cf4ca1/gem.py", line 538, in _split_generators dl_dir = dl_manager.download_and_extract(_URLs[self.config.name]) File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/download_manager.py", line 416, in download_and_extract return self.extract(self.download(url_or_urls)) File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/download_manager.py", line 294, in download downloaded_path_or_paths = map_nested( File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/py_utils.py", line 351, in map_nested mapped = [ File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/py_utils.py", line 352, in <listcomp> _single_map_nested((function, obj, types, None, True, None)) File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/py_utils.py", line 288, in _single_map_nested return function(data_struct) File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/download_manager.py", line 320, in _download return cached_path(url_or_filename, download_config=download_config) File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 234, in cached_path output_path = get_from_cache( File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 579, in get_from_cache raise FileNotFoundError(f"Couldn't find file at {url}") FileNotFoundError: Couldn't find file at https://github.com/facebookresearch/asset/raw/master/dataset/asset.test.orig ```
749
134
Bug for wiki_auto_asset_turk from GEM ## Describe the bug The script of wiki_auto_asset_turk for GEM may be out of date. ## Steps to reproduce the bug ```python import datasets datasets.load_dataset('gem', 'wiki_auto_asset_turk') ``` ## Actual results ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/load.py", line 1731, in load_dataset builder_instance.download_and_prepare( File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/builder.py", line 640, in download_and_prepare self._download_and_prepare( File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/builder.py", line 1158, in _download_and_prepare super()._download_and_prepare(dl_manager, verify_infos, check_duplicate_keys=verify_infos) File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/builder.py", line 707, in _download_and_prepare split_generators = self._split_generators(dl_manager, **split_generators_kwargs) File "/home/tangtianyi/.cache/huggingface/modules/datasets_modules/datasets/gem/982a54473b12c6a6e40d4356e025fb7172a5bb2065e655e2c1af51f2b3cf4ca1/gem.py", line 538, in _split_generators dl_dir = dl_manager.download_and_extract(_URLs[self.config.name]) File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/download_manager.py", line 416, in download_and_extract return self.extract(self.download(url_or_urls)) File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/download_manager.py", line 294, in download downloaded_path_or_paths = map_nested( File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/py_utils.py", line 351, in map_nested mapped = [ File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/py_utils.py", line 352, in <listcomp> _single_map_nested((function, obj, types, None, True, None)) File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/py_utils.py", line 288, in _single_map_nested return function(data_struct) File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/download_manager.py", line 320, in _download return cached_path(url_or_filename, download_config=download_config) File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 234, in cached_path output_path = get_from_cache( File "/home/tangtianyi/miniconda3/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 579, in get_from_cache raise FileNotFoundError(f"Couldn't find file at {url}") FileNotFoundError: Couldn't find file at https://github.com/facebookresearch/asset/raw/master/dataset/asset.test.orig ``` Hi again @StevenTang1998, I don't see any problem when loading `totto` dataset: ```python In [4]: import datasets ...: ds = datasets.load_dataset("totto") Downloading builder script: 5.58kB [00:00, 5.33MB/s] Downloading metadata: 2.78kB [00:00, 2.96MB/s] Using custom data configuration default Downloading and preparing dataset totto/default (download: 179.03 MiB, generated: 706.59 MiB, post-processed: Unknown size, total: 885.62 MiB) to .../.cache/huggingface/datasets/totto/default/1.0.0/263c85871e5451bc892c65ca0306c0629eb7beb161e0eb998f56231562335dd2... Downloading data: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 188M/188M [00:32<00:00, 5.77MB/s] Dataset totto downloaded and prepared to .../.cache/huggingface/datasets/totto/default/1.0.0/263c85871e5451bc892c65ca0306c0629eb7beb161e0eb998f56231562335dd2. Subsequent calls will reuse this data. 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 147.95it/s] In [5]: ds Out[5]: DatasetDict({ train: Dataset({ features: ['id', 'table_page_title', 'table_webpage_url', 'table_section_title', 'table_section_text', 'table', 'highlighted_cells', 'example_id', 'sentence_annotations', 'overlap_subset'], num_rows: 120761 }) validation: Dataset({ features: ['id', 'table_page_title', 'table_webpage_url', 'table_section_title', 'table_section_text', 'table', 'highlighted_cells', 'example_id', 'sentence_annotations', 'overlap_subset'], num_rows: 7700 }) test: Dataset({ features: ['id', 'table_page_title', 'table_webpage_url', 'table_section_title', 'table_section_text', 'table', 'highlighted_cells', 'example_id', 'sentence_annotations', 'overlap_subset'], num_rows: 7700 }) }) ```
[ -1.2292745113372803, -0.9165666699409485, -0.6212963461875916, 1.4097907543182373, -0.144746795296669, -1.299035668373108, 0.15479356050491333, -1.068738341331482, 1.4854015111923218, -0.7518871426582336, 0.18796660006046295, -1.6018275022506714, -0.10583112388849258, -0.5439280271530151, -0.6773818731307983, -0.9057062864303589, -0.3360307216644287, -0.8805971741676331, 1.087376356124878, 2.504279613494873, 1.3178175687789917, -1.2867635488510132, 2.760023593902588, 0.6542350649833679, -0.29411882162094116, -0.9943097829818726, 0.5271174907684326, -0.04844844341278076, -1.1626487970352173, -0.44757431745529175, -0.9366795420646667, 0.004780779592692852, -0.5567246079444885, -0.30602994561195374, 0.024037573486566544, 0.510238528251648, -0.339403361082077, -0.2685405910015106, -0.635119616985321, -0.7335913777351379, 0.521899402141571, -0.3310243487358093, 0.9507428407669067, -0.29948070645332336, 1.723852276802063, -0.5728603005409241, 0.44268888235092163, 0.7353073358535767, 1.2366856336593628, 0.1517566591501236, 0.10835147649049759, 0.26236385107040405, 0.3410869240760803, -0.022014286369085312, 0.6064106822013855, 1.225897192955017, 0.5998005867004395, 0.5199782252311707, 0.6472358703613281, -2.2254836559295654, 1.27658212184906, -0.8289064764976501, 0.2123868763446808, 1.332103967666626, -0.7804931402206421, 0.30752137303352356, -1.7721571922302246, -0.027558915317058563, 0.6702327728271484, -2.2445194721221924, 0.3072591722011566, -1.3058949708938599, -0.45517560839653015, 0.861750602722168, 0.39480677247047424, -1.1889039278030396, 0.20342056453227997, -0.5315737128257751, 1.1786274909973145, 0.4513360261917114, 1.000473141670227, -1.7092363834381104, -0.12136530131101608, -0.10313765704631805, 0.09178171306848526, -1.3312739133834839, -1.6789907217025757, 0.5365355014801025, 0.5713229775428772, 0.7288457155227661, -0.03414584696292877, 1.0197664499282837, -1.1574453115463257, 0.816809892654419, -1.0420506000518799, -1.5601001977920532, -1.3917973041534424, -2.4615468978881836, -2.317514657974243, 0.7390514612197876, -0.49654456973075867, -0.5209229588508606, 2.0601043701171875, -1.0155189037322998, -1.7126405239105225, 1.045234203338623, 0.2674366533756256, 0.08284524828195572, 2.397759437561035, 0.21048028767108917, -0.7944780588150024, 0.4809207618236542, -0.6999250054359436, 0.7957437038421631, -0.27461540699005127, 1.2494735717773438, 0.5330044627189636, -1.025508165359497, 1.6004747152328491, -0.46873554587364197, 0.6377715468406677, -0.6094832420349121, -0.5023298859596252, -0.82105952501297, 0.25903192162513733, 1.8282619714736938, -0.3156563937664032, 1.5396552085876465, -0.29279759526252747, -1.57427179813385, -1.5629264116287231, 0.8771067261695862, 0.45904022455215454, -0.9065716862678528, 0.02408599480986595, -0.5566036701202393, 0.15960079431533813, -0.022997934371232986, 1.1677647829055786, 1.2847704887390137, 0.739405632019043, -0.35511595010757446, -0.8380876779556274, 0.21254460513591766, -0.2561664283275604, -0.6510409712791443, -1.773910641670227, -0.30808961391448975, 0.17405851185321808, 0.6157745718955994, -1.154891014099121, 1.8540542125701904, 0.8966699838638306, 2.011941432952881, 0.9564207792282104, -0.3663829565048218, 1.4697444438934326, -0.030145313590765, 1.8678311109542847, -0.5262833833694458, 0.6059020161628723, -0.32629629969596863, -1.1336069107055664, 0.9302575588226318, -0.40265801548957825, -1.9431694746017456, -0.8589992523193359, -0.676041841506958, -0.15369422733783722, -0.7003921270370483, 0.8381607532501221, -0.37416908144950867, -1.529075264930725, 0.08412269502878189, -0.7329421043395996, 0.22940616309642792, -1.2135796546936035, 0.22553427517414093, 0.7462959289550781, -0.7258164882659912, -0.06480074673891068, -0.2415846735239029, -1.2353335618972778, -0.4726000428199768, 0.3839186429977417, 2.0047333240509033, -0.5553317070007324, 0.9169157147407532, 1.0191385746002197, -0.7081822752952576, 0.14561498165130615, 0.176242858171463, -0.32139164209365845, 0.754565417766571, -1.1560059785842896, -0.4317890405654907, 1.2189693450927734, -0.3308575749397278, -0.7643005847930908, 1.4143906831741333, 0.8149241805076599, -1.123130202293396, -0.257308691740036, -0.18514218926429749, -0.8705086708068848, 0.03316940367221832, -1.4819464683532715, -0.16707845032215118, 0.45958995819091797, -1.4996588230133057, -0.32540950179100037, -0.17805978655815125, 1.4259840250015259, -0.19827212393283844, 1.4858235120773315, -0.38494282960891724, -0.11420711874961853, -0.22958441078662872, -0.5389297604560852, 0.2069973349571228, -0.23194551467895508, -0.5345003604888916, 0.1375063955783844, -0.7915127873420715, 0.2532970905303955, 1.5281010866165161, 0.27310022711753845, 0.10375797003507614, 0.4111511707305908, 1.1224600076675415, 0.3880797326564789, -0.053710147738456726, -0.8091999888420105, -1.56880784034729, 1.929160475730896, -1.410441517829895, 1.8841817378997803, 0.7674444913864136, -0.1296851933002472, -1.7745013236999512, -1.8773937225341797, 1.1818814277648926, 1.101701021194458, 2.329331159591675, 0.4339143633842468, 0.42097029089927673, -0.7561414837837219, -0.834791898727417, 0.3518247902393341, -1.0026988983154297, -0.5982123613357544, 0.12456459552049637, 2.3541407585144043, 1.8270657062530518, -0.51483553647995, -0.2999945878982544, -0.8340092301368713, 1.328364610671997, -0.26875782012939453, 0.2686291038990021, 2.0906784534454346, -0.26402920484542847, -1.013297438621521, 1.4248743057250977, -2.3850252628326416, 0.3403926193714142, 2.1526222229003906, 0.2581394910812378, 0.12888072431087494, -1.4030076265335083, -0.6588745713233948, -0.3361348807811737, -0.43799999356269836, -1.2895190715789795, 0.5647910237312317, -0.32099682092666626, -0.8215189576148987, -1.4001744985580444, 0.07298590242862701, -1.0899733304977417, -1.7596309185028076, 0.28700220584869385, 1.935624122619629, 2.082465648651123, -0.8152132630348206, 1.4506866931915283, -0.23710967600345612, 0.05484726279973984, 1.2050375938415527, 1.4307198524475098, 3.1332101821899414, 1.821894884109497, -1.3030258417129517, 0.7103684544563293, -0.2363978624343872, -0.47514790296554565, 1.1362181901931763, -1.170448899269104, 1.1225340366363525, -0.2194620966911316, -1.2494510412216187, -1.2369152307510376, 1.085575819015503, 0.4967370629310608, 0.017352476716041565, -0.4969932734966278, 1.3023135662078857, 0.09053675085306168, 1.352336049079895, 0.622636079788208, -0.42386874556541443, 0.5338805913925171, -0.39969563484191895, -0.6518515944480896, 1.6195871829986572, 0.20897330343723297, -1.5063332319259644, -2.3094162940979004, -0.31073570251464844, -0.882151186466217, -0.01604127697646618, -0.6284694671630859, -1.024066686630249, 1.6163138151168823, 0.40382686257362366, -1.1914578676223755, -0.2991313636302948, -0.23119446635246277, -0.4624343812465668, 2.6786446571350098, -1.2360190153121948, -0.08083140850067139, -0.9589908123016357, -0.5458860993385315, 1.6243575811386108, -1.2919255495071411, -0.27857035398483276, -1.0669677257537842, -0.6246521472930908, -1.2164051532745361, -0.3524817228317261, 0.01832018792629242, -0.9653536677360535, 0.7922986149787903, 0.20535919070243835, -1.1580122709274292, -0.2989170253276825, -0.8980277180671692, 1.0757967233657837, -0.12822453677654266, 0.24637196958065033, 1.7653387784957886, 0.2891283929347992, -0.3858753442764282, 0.8190575838088989, 1.1969609260559082, 0.6294699311256409, -0.6928796172142029, -0.048188697546720505, -0.6224916577339172, 0.3962021470069885, -1.3552879095077515, 0.27150121331214905, -2.9954302310943604, 0.7462294697761536, -0.22680984437465668, -0.18756818771362305, -0.12341269105672836, -1.3604520559310913, 1.0924690961837769, 2.5645313262939453, -1.2299449443817139, 0.5397403240203857, 0.44360440969467163, 1.1569536924362183, -1.6598248481750488, 0.3321117162704468, -0.5381070375442505, 2.0374093055725098, 0.1880710870027542, 1.241227388381958, -0.46185770630836487, -2.2016549110412598, 0.6685725450515747, -1.1891742944717407, -1.0262563228607178, 0.841092050075531, -0.9402965307235718, 0.34146639704704285, -1.3752387762069702, -0.21131590008735657, -0.9394795298576355, -1.2309339046478271, 0.6480324268341064, 0.08440685272216797, 0.37436020374298096, -0.5129379630088806, 0.3313646912574768, -2.1746747493743896, -1.3840299844741821, -0.1760820597410202, -1.0042721033096313, 0.587394118309021, -0.4415005147457123, 0.5452335476875305, -0.07990243285894394, 0.13847856223583221, 0.2330329418182373, 1.5705740451812744, 3.451429843902588, 0.14157088100910187, 0.15583941340446472, -0.11052656173706055, -1.0206000804901123, 1.4279556274414062, 0.8554146885871887, -0.14788472652435303, -0.6570506691932678, -1.0253851413726807, 1.3169516324996948, 1.9924979209899902, 1.0910736322402954, 0.08588336408138275, -0.8348272442817688, -0.7430694699287415, -0.000185500830411911, 0.1792929470539093, 0.577532172203064, 1.0117992162704468, -0.024719204753637314, 0.03695125877857208, 1.3817756175994873, 1.1715450286865234, -0.2741204798221588, 0.3634624481201172, -1.0138589143753052, -0.3921634256839752, 0.37957096099853516, 0.15524347126483917, 0.07720696926116943, 0.4878217279911041, -1.0584946870803833, -0.2495383471250534, -0.3580089211463928, -0.8090931177139282, -0.8166135549545288, -0.3986993134021759, -0.415871262550354, 1.5663299560546875, 0.1443752497434616, -0.5108583569526672, 0.055277176201343536, -0.599181592464447, -0.183334082365036, -1.1228454113006592, 0.17604555189609528, -0.10577678680419922, -0.13984644412994385, -0.15220871567726135, 1.5714530944824219, -0.945566713809967, -2.130680561065674, 0.16277746856212616, 0.35632333159446716, -0.27514728903770447, 0.16851039230823517, 1.7343025207519531, 0.4848576784133911, 1.3976885080337524, 1.2970184087753296, 0.9682215452194214, -0.6129883527755737, -1.2375898361206055, 0.7288194298744202, 0.9480592608451843, -1.3616552352905273, 0.9246598482131958, -0.20746809244155884, -0.5424492955207825, 0.7143135666847229, 1.3359906673431396, 0.43142813444137573, -2.0014235973358154, 0.9346019625663757, -1.0027475357055664, 0.7862666249275208, 0.7142679691314697, 0.7428892254829407, 0.23312222957611084, 0.8949836492538452, -1.2069833278656006, -1.2053841352462769, -0.6563243269920349, -0.6671076416969299, 1.8643909692764282, -0.37572211027145386, 0.5884020328521729, -0.10025585442781448, -1.1001601219177246, -0.1715484857559204, 0.8525837659835815, 0.38432228565216064, -0.40233245491981506, 0.9297806024551392, -0.6513785123825073, -0.9264447689056396, -1.2385753393173218, -0.42510882019996643, -1.0414671897888184, -0.8994477391242981, 0.9396490454673767, 0.7139281034469604, 0.481738805770874, 1.9418103694915771, 0.6062307357788086, 0.34300386905670166, -2.5848169326782227, 0.8316780924797058, 0.29743900895118713, -0.03982222452759743, 0.8825163841247559, 0.24037106335163116, 1.1390820741653442, 0.0601794570684433, 0.5861378312110901, -2.3861212730407715, 2.204035758972168, -0.19402055442333221, 0.5774847865104675, -0.03784584626555443, -0.2217676192522049, 1.1462864875793457, 0.638037383556366, 0.5367631912231445, -1.096699595451355, 0.7394421100616455, -0.5086766481399536, 1.0879852771759033, 0.8741906881332397, -0.9642517566680908, 0.11946352571249008, 1.4650976657867432, 0.4193612337112427, -0.48177310824394226, -0.9877868294715881, -0.8901007175445557, 0.899540901184082, 1.6418317556381226, -0.05031858757138252, -0.005173602607101202, 0.7796119451522827, 0.7042275667190552, -1.2052658796310425, -0.008062722161412239, -0.610320508480072, -0.6981511116027832, 1.7306417226791382, 2.0211353302001953, -0.1290701925754547, -0.22219493985176086, -0.7159857153892517, -1.326523780822754, 0.7682543396949768, -0.12821434438228607, 0.026014044880867004, 0.643679678440094, -0.6817408800125122, 1.0307129621505737, 0.5441434383392334, 1.006873369216919, -0.015583314932882786, 0.3034639060497284, 0.4858775734901428, -0.39937692880630493, -1.1749248504638672, -0.3720260560512543, -1.1394795179367065, -2.6334891319274902, 0.34715765714645386, -0.28598031401634216, -1.5093060731887817, 0.05358906835317612, -1.028643250465393, 0.8922698497772217, -0.631854772567749, -1.21442449092865, -1.4345455169677734, 0.3443264961242676, -0.12220941483974457, 0.9225862622261047, -1.6734570264816284, -0.272623747587204, 1.1871806383132935, 0.8201616406440735, -0.5536222457885742, 0.9666415452957153, 0.25282561779022217, 0.9529666304588318, 0.714187502861023, -0.4223191738128662, 0.6403346657752991, -0.05578522011637688, -1.3600986003875732, 0.4483242630958557, 1.3241808414459229, 0.1669255644083023, 1.4824283123016357, -0.442606657743454, 0.1348569393157959, 0.4256715178489685, -0.7256344556808472, -0.5265787243843079, -0.3388098478317261, 0.713519811630249, 0.03009635955095291, -0.9804624319076538, -0.17991505563259125, -0.1504683792591095, -0.35524117946624756, 0.1880059689283371, -1.463059902191162, -0.29786983132362366, -0.44238534569740295, -0.45073312520980835, -1.3890187740325928, 0.017738837748765945, 1.3341984748840332, -0.7543061971664429, -0.23877307772636414, 0.4248964190483093, 0.40870198607444763, 0.5714353919029236, 0.6229313611984253, -0.8105937242507935, -0.210044264793396, -0.41694220900535583, -0.25307774543762207, 0.3124757409095764, 1.2193535566329956, -0.029975995421409607, -0.9448915123939514, 0.6369118094444275, -0.3646770715713501, 0.17415563762187958, 1.9765883684158325, 0.015344127081334591, -0.6460859775543213, 0.3637143075466156, -0.7202191948890686, 1.7319092750549316, 1.6983925104141235, 1.232779622077942, -0.07781072705984116, -0.8172579407691956, 0.572418212890625, -0.23916485905647278, -0.3037301301956177, 0.885468065738678, 0.4372294843196869, -0.28505221009254456, -1.3756171464920044, 0.758391797542572, 1.177731990814209, -0.758511483669281, -0.7209757566452026, 0.07130500674247742, -0.936532199382782, 1.298354983329773, 0.48167702555656433, 0.34845811128616333, 0.3079584240913391, 1.6144099235534668, 0.7815042734146118, -0.4370172321796417, 0.48573583364486694, 0.535974383354187, -0.21681304275989532, -2.113708734512329, -1.022145390510559, 0.35431617498397827, -0.4430996775627136, -1.5907844305038452, 1.3763288259506226, -1.1262832880020142, -1.0786373615264893, 0.5434672832489014, 0.09912489354610443, 1.2725024223327637, 0.41180551052093506, 1.7267472743988037, 2.1425864696502686, 0.9206671714782715, 0.4264959394931793, 1.2385773658752441, -0.12125027924776077, -0.4950931966304779, 1.8795568943023682, -0.375914603471756, 0.4900699853897095, 1.0240944623947144, -0.40141648054122925, -1.124249815940857, -0.8095497488975525, -1.0893821716308594, -0.6339523792266846, 1.197749376296997, 0.07480452954769135, -1.0745950937271118, 0.20693325996398926, 1.5452966690063477, 0.1716693937778473, -0.17346397042274475, 0.6995304226875305, 0.3832313120365143, -0.7273908853530884, -0.11020313203334808, -0.8485086560249329, 0.5214893221855164, -0.15936751663684845, -0.2901088297367096, 0.2650551497936249, 0.5920221209526062, 1.3266414403915405, -0.15947000682353973, 0.14368197321891785, 1.128676414489746, -1.4416660070419312, 1.5328140258789062, -0.5779685974121094, 0.2705563008785248, -2.418365240097046, 1.351759910583496, -0.7184869647026062, 1.993140697479248, -2.489346504211426, 0.4271937608718872, -0.5239545106887817, -0.5215521454811096, 0.32025909423828125, -0.40579795837402344, 0.06535714119672775, -0.140767440199852, -0.9524327516555786, -0.06261281669139862, -0.6879167556762695, 0.6413301825523376, 1.208080768585205, 1.4137189388275146, -1.1178284883499146, -0.18376782536506653, -1.6926473379135132, -0.17871913313865662, -0.8607528805732727, 0.3389662206172943, -2.0023751258850098, -0.17601428925991058, -2.0376338958740234, -2.3096182346343994, -1.3355381488800049, -0.881476879119873, 1.0387191772460938, 0.23214903473854065, -0.948307454586029, 1.2454478740692139, -0.31859493255615234, -1.7743452787399292, 1.1404435634613037, -2.2457573413848877 ]
https://github.com/huggingface/datasets/issues/4381
Bug in caching 2 datasets both with the same builder class name
Hi @NouamaneTazi, thanks for reporting. Please note that both datasets are cached in the same directory because their loading builder classes have the same name: `class MTOP(datasets.GeneratorBasedBuilder)`. You should name their builder classes differently, e.g.: - `MtopDomain` - `MtopIntent`
## Describe the bug The two datasets `mteb/mtop_intent` and `mteb/mtop_domain `use both the same cache folder `.cache/huggingface/datasets/mteb___mtop`. So if you first load `mteb/mtop_intent` then datasets will not load `mteb/mtop_domain`. If you delete this cache folder and flip the order how you load the two datasets , you will get the opposite datasets loaded (difference is here in terms of the label and label_text). ## Steps to reproduce the bug ```python import datasets dataset = datasets.load_dataset("mteb/mtop_intent", "en") print(dataset['train'][0]) dataset = datasets.load_dataset("mteb/mtop_domain", "en") print(dataset['train'][0]) ``` ## Expected results ``` Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop_intent/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 920.14it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 1, 'label_text': 'GET_MESSAGE'} Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop_domain/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 1307.59it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 0, 'label_text': 'messaging'} ``` ## Actual results ``` Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 920.14it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 1, 'label_text': 'GET_MESSAGE'} Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 1307.59it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 1, 'label_text': 'GET_MESSAGE'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.2.1 - Platform: macOS-12.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 8.0.0 - Pandas version: 1.4.2
750
39
Bug in caching 2 datasets both with the same builder class name ## Describe the bug The two datasets `mteb/mtop_intent` and `mteb/mtop_domain `use both the same cache folder `.cache/huggingface/datasets/mteb___mtop`. So if you first load `mteb/mtop_intent` then datasets will not load `mteb/mtop_domain`. If you delete this cache folder and flip the order how you load the two datasets , you will get the opposite datasets loaded (difference is here in terms of the label and label_text). ## Steps to reproduce the bug ```python import datasets dataset = datasets.load_dataset("mteb/mtop_intent", "en") print(dataset['train'][0]) dataset = datasets.load_dataset("mteb/mtop_domain", "en") print(dataset['train'][0]) ``` ## Expected results ``` Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop_intent/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 920.14it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 1, 'label_text': 'GET_MESSAGE'} Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop_domain/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 1307.59it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 0, 'label_text': 'messaging'} ``` ## Actual results ``` Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 920.14it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 1, 'label_text': 'GET_MESSAGE'} Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 1307.59it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 1, 'label_text': 'GET_MESSAGE'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.2.1 - Platform: macOS-12.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 8.0.0 - Pandas version: 1.4.2 Hi @NouamaneTazi, thanks for reporting. Please note that both datasets are cached in the same directory because their loading builder classes have the same name: `class MTOP(datasets.GeneratorBasedBuilder)`. You should name their builder classes differently, e.g.: - `MtopDomain` - `MtopIntent`
[ -1.2074164152145386, -0.9168906211853027, -0.7638037204742432, 1.519376277923584, -0.13338908553123474, -1.1608984470367432, 0.12146271765232086, -1.021623969078064, 1.5816986560821533, -0.7711011171340942, 0.235040545463562, -1.7120236158370972, -0.08406396210193634, -0.5840659141540527, -0.7569152116775513, -0.8672776222229004, -0.30276551842689514, -0.8156992197036743, 1.017450213432312, 2.495422840118408, 1.2440500259399414, -1.33834707736969, 2.7351346015930176, 0.583246111869812, -0.1762780398130417, -1.0479936599731445, 0.575314998626709, -0.06301495432853699, -1.2384964227676392, -0.4441158175468445, -0.9786556959152222, 0.04336153343319893, -0.5761247873306274, -0.520456075668335, 0.01205524057149887, 0.4517882764339447, -0.3422555923461914, -0.35481682419776917, -0.6211875677108765, -0.7645813226699829, 0.44438862800598145, -0.3279893100261688, 0.9055328369140625, -0.330657035112381, 1.7490792274475098, -0.613235354423523, 0.35274577140808105, 0.7093840837478638, 1.289238452911377, 0.1976167857646942, 0.07288036495447159, 0.3480595648288727, 0.3637023866176605, -0.008783546276390553, 0.5685354471206665, 1.2670482397079468, 0.576740026473999, 0.4498964846134186, 0.7371381521224976, -2.316220283508301, 1.3025957345962524, -0.9493861198425293, 0.28416064381599426, 1.3242926597595215, -0.83697509765625, 0.38179659843444824, -1.7722753286361694, -0.021595923230051994, 0.6111198663711548, -2.1942031383514404, 0.3081694543361664, -1.3220397233963013, -0.46168258786201477, 0.9756770133972168, 0.3926202058792114, -1.2035837173461914, 0.17681077122688293, -0.5306098461151123, 1.177939534187317, 0.3701699376106262, 1.0954772233963013, -1.6756811141967773, -0.04896042123436928, -0.28993263840675354, 0.07539868354797363, -1.2580152750015259, -1.6534864902496338, 0.5220085382461548, 0.6163898706436157, 0.6826927661895752, -0.12602922320365906, 1.113251805305481, -1.0866795778274536, 0.699992299079895, -0.9742797613143921, -1.69291090965271, -1.4032400846481323, -2.3254029750823975, -2.185398578643799, 0.737420916557312, -0.4483043849468231, -0.6082048416137695, 1.9928271770477295, -0.9811109304428101, -1.8529713153839111, 1.1800023317337036, 0.3628285527229309, 0.08966545015573502, 2.36007022857666, 0.2590688467025757, -0.7685158252716064, 0.5295469760894775, -0.7134706974029541, 0.8179514408111572, -0.2941562831401825, 1.3299015760421753, 0.40966513752937317, -0.918684720993042, 1.6118097305297852, -0.4436623752117157, 0.6369189023971558, -0.7427273988723755, -0.5717297792434692, -0.8630746603012085, 0.2546340823173523, 1.9333252906799316, -0.37424910068511963, 1.5738698244094849, -0.4460386335849762, -1.5624500513076782, -1.5740586519241333, 0.8774566650390625, 0.4475455582141876, -0.8024013042449951, 0.0036074230447411537, -0.47274431586265564, 0.1626621037721634, -0.0782046988606453, 1.1973401308059692, 1.237313151359558, 0.6639293432235718, -0.38385432958602905, -0.8118782043457031, 0.23575034737586975, -0.05851603299379349, -0.6464947462081909, -1.8664820194244385, -0.2989521622657776, 0.31058529019355774, 0.6444574594497681, -1.2052865028381348, 1.6835179328918457, 0.933448076248169, 1.9652230739593506, 1.0811070203781128, -0.3335837125778198, 1.4689574241638184, 0.08345211297273636, 1.9535627365112305, -0.4596855938434601, 0.5901851654052734, -0.19638603925704956, -1.1338248252868652, 0.8815909624099731, -0.3147863745689392, -2.0384018421173096, -0.8160083293914795, -0.7683734893798828, -0.2094067484140396, -0.787125825881958, 0.895950198173523, -0.3736174702644348, -1.5041548013687134, 0.2151148021221161, -0.7007731199264526, 0.18438492715358734, -1.1740821599960327, 0.1887717992067337, 0.7292746305465698, -0.6576588153839111, 0.029844123870134354, -0.258505642414093, -1.368396520614624, -0.4124802052974701, 0.40610718727111816, 1.8787167072296143, -0.7237108945846558, 0.8899697065353394, 1.0620315074920654, -0.6521875858306885, 0.10875091701745987, 0.24198943376541138, -0.35176363587379456, 0.8642518520355225, -1.0292161703109741, -0.380010187625885, 1.2563484907150269, -0.16931816935539246, -0.6815013885498047, 1.4392198324203491, 0.7034447193145752, -1.0033953189849854, -0.18871624767780304, -0.14428986608982086, -0.8419280052185059, -0.06881072372198105, -1.5875613689422607, -0.15741890668869019, 0.41446512937545776, -1.4438762664794922, -0.4113025963306427, -0.1782575100660324, 1.3233120441436768, -0.14803747832775116, 1.3761192560195923, -0.33282315731048584, -0.10466352850198746, -0.27689841389656067, -0.4569961726665497, 0.1603173315525055, -0.19169072806835175, -0.6280517578125, 0.1524575799703598, -0.8275139331817627, 0.3228428065776825, 1.410237431526184, 0.4155389070510864, 0.009653257206082344, 0.4811772406101227, 1.1142768859863281, 0.40220722556114197, 0.020242951810359955, -0.8653669357299805, -1.6125600337982178, 2.0015954971313477, -1.5060275793075562, 1.9624282121658325, 0.7596025466918945, -0.02230081334710121, -1.8510347604751587, -1.9366610050201416, 1.3225966691970825, 1.0217496156692505, 2.4133293628692627, 0.4798144996166229, 0.39873090386390686, -0.7344616651535034, -0.7696349620819092, 0.2716315686702728, -1.014959454536438, -0.7069611549377441, 0.1012679934501648, 2.4198031425476074, 1.7629095315933228, -0.43991196155548096, -0.22863051295280457, -0.9425578117370605, 1.2969650030136108, -0.2712693214416504, 0.25898370146751404, 2.0184524059295654, -0.1935042291879654, -1.0285089015960693, 1.336625576019287, -2.3421733379364014, 0.19977432489395142, 2.04052996635437, 0.21130825579166412, 0.19000008702278137, -1.3345526456832886, -0.6216105222702026, -0.2429739087820053, -0.4146203100681305, -1.3598239421844482, 0.5691217184066772, -0.30262520909309387, -0.8141782283782959, -1.4058467149734497, 0.04546429589390755, -1.1224278211593628, -1.5441021919250488, 0.35648709535598755, 2.012876510620117, 2.1651341915130615, -0.7170792818069458, 1.6169956922531128, -0.2413180023431778, 0.12998081743717194, 1.2667720317840576, 1.307051181793213, 3.11236834526062, 1.8730462789535522, -1.3536932468414307, 0.6442818641662598, -0.18860897421836853, -0.543822169303894, 1.2336300611495972, -1.1688613891601562, 1.2503724098205566, -0.2336266040802002, -1.2150630950927734, -1.2755990028381348, 1.03376042842865, 0.47770509123802185, 0.040399543941020966, -0.49803853034973145, 1.2615723609924316, 0.051424894481897354, 1.2013918161392212, 0.6217608451843262, -0.42631796002388, 0.6182278394699097, -0.4327107071876526, -0.5849274396896362, 1.5241340398788452, 0.1736917644739151, -1.4884910583496094, -2.325812339782715, -0.19622652232646942, -0.8602597713470459, 0.03793758153915405, -0.5862683057785034, -1.0815035104751587, 1.6402002573013306, 0.32550519704818726, -1.2476140260696411, -0.37044060230255127, -0.33357760310173035, -0.5583446025848389, 2.646268367767334, -1.2736079692840576, -0.13965819776058197, -0.9847054481506348, -0.5380325317382812, 1.6435984373092651, -1.1755262613296509, -0.22376036643981934, -1.0236077308654785, -0.6899194717407227, -1.3637232780456543, -0.5268450975418091, 0.02782387286424637, -0.9761019945144653, 0.781619668006897, 0.1887170523405075, -1.124421238899231, -0.2909678816795349, -0.9499742984771729, 1.011413335800171, -0.24039675295352936, 0.2368355393409729, 1.8809840679168701, 0.4447113871574402, -0.40823790431022644, 0.7636981010437012, 1.1821759939193726, 0.6012604236602783, -0.6388927698135376, 0.05683973431587219, -0.7171355485916138, 0.34864717721939087, -1.470361351966858, 0.22627337276935577, -2.9371676445007324, 0.6492083072662354, -0.10690432786941528, -0.08976507931947708, 0.006786240264773369, -1.2877907752990723, 1.0926793813705444, 2.510817050933838, -1.2295472621917725, 0.4561096429824829, 0.3578350841999054, 1.178980827331543, -1.670405387878418, 0.34936174750328064, -0.4927414059638977, 2.073923349380493, 0.11482177674770355, 1.1908366680145264, -0.5074662566184998, -2.232011318206787, 0.6087828874588013, -1.300012469291687, -1.0679205656051636, 0.8541879653930664, -0.8693422079086304, 0.2733090817928314, -1.4885390996932983, -0.2984640896320343, -1.0453006029129028, -1.2089077234268188, 0.7467318773269653, 0.15246357023715973, 0.3417726457118988, -0.5021073818206787, 0.28932008147239685, -2.189969301223755, -1.4393534660339355, -0.2580665349960327, -1.0292214155197144, 0.5468306541442871, -0.37546318769454956, 0.6824541091918945, -0.1291184425354004, 0.04914278909564018, 0.3187730312347412, 1.396628499031067, 3.348289728164673, 0.3340156674385071, 0.29668164253234863, -0.12981434166431427, -1.020938515663147, 1.4101811647415161, 0.9714457988739014, -0.09952671825885773, -0.5903066396713257, -0.9679633378982544, 1.2787854671478271, 2.0328640937805176, 1.0058469772338867, 0.0529620423913002, -0.8874516487121582, -0.7182744741439819, -0.038708560168743134, 0.16368120908737183, 0.5154969692230225, 0.8821926116943359, 0.046348728239536285, 0.09520236402750015, 1.3417805433273315, 1.140565037727356, -0.2845788598060608, 0.4024147093296051, -0.9048759937286377, -0.42463845014572144, 0.45174965262413025, 0.20275762677192688, 0.013409685343503952, 0.43876418471336365, -1.0603642463684082, -0.3119316101074219, -0.34543225169181824, -0.8846161365509033, -0.7660259008407593, -0.3817681074142456, -0.3597320318222046, 1.512123942375183, 0.16370125114917755, -0.5554666519165039, -0.030171483755111694, -0.7267724275588989, -0.0980227142572403, -1.0726984739303589, 0.2999243140220642, -0.16569828987121582, -0.15042978525161743, -0.14132651686668396, 1.647302508354187, -0.9693204164505005, -2.060389757156372, 0.18794412910938263, 0.25847071409225464, -0.32564979791641235, 0.1530671864748001, 1.6882359981536865, 0.6493959426879883, 1.3980365991592407, 1.2978768348693848, 0.9973099231719971, -0.6409897804260254, -1.2267662286758423, 0.6555678844451904, 0.9977595806121826, -1.3717336654663086, 0.888862133026123, -0.08993644267320633, -0.5565798282623291, 0.7326616048812866, 1.3853788375854492, 0.4896748661994934, -1.981613039970398, 0.7509270906448364, -1.0064059495925903, 0.778152346611023, 0.6936167478561401, 0.763979434967041, 0.24306762218475342, 0.8951408863067627, -1.1978245973587036, -1.1791787147521973, -0.7318034172058105, -0.6915030479431152, 1.9788689613342285, -0.3089115023612976, 0.5926728248596191, -0.12456667423248291, -1.2504109144210815, -0.06682524085044861, 0.8083511590957642, 0.3455294370651245, -0.4491392970085144, 0.8662784099578857, -0.5963573455810547, -0.9752377271652222, -1.2852599620819092, -0.4560073912143707, -0.9907264709472656, -0.9773399829864502, 0.9694803953170776, 0.7629469633102417, 0.3274257481098175, 1.8035680055618286, 0.577879786491394, 0.3043800890445709, -2.59060001373291, 0.8982948064804077, 0.26639848947525024, -0.057791903614997864, 0.8935946226119995, 0.2952863276004791, 1.1164554357528687, 0.027373112738132477, 0.6751441955566406, -2.359748363494873, 2.183164119720459, -0.17381660640239716, 0.6589272022247314, -0.09506439417600632, -0.17129163444042206, 1.0877721309661865, 0.5191382169723511, 0.5577160120010376, -1.005403757095337, 0.7926714420318604, -0.5744075775146484, 1.110474944114685, 0.9256067276000977, -0.8321219682693481, 0.018608443439006805, 1.4996790885925293, 0.39648690819740295, -0.5255182981491089, -0.9332988262176514, -0.8922747373580933, 0.9426150321960449, 1.604121446609497, -0.0006077969446778297, -0.017916996031999588, 0.8005971908569336, 0.6532987356185913, -1.2974720001220703, 0.19591398537158966, -0.6291229724884033, -0.7005610466003418, 1.7410457134246826, 2.1062893867492676, -0.13220252096652985, -0.1787504106760025, -0.7024431228637695, -1.2263180017471313, 0.6681334972381592, -0.09133918583393097, 0.07725776731967926, 0.6160238981246948, -0.665793776512146, 1.1035963296890259, 0.7141361236572266, 0.9196072816848755, 0.042689450085163116, 0.4093862771987915, 0.4085771143436432, -0.3567313253879547, -1.1644635200500488, -0.3087415099143982, -1.123284101486206, -2.516132354736328, 0.3954352140426636, -0.1666758507490158, -1.4711085557937622, 0.11818762123584747, -0.9996038675308228, 1.0047191381454468, -0.5997411012649536, -1.1472811698913574, -1.5840895175933838, 0.2786157727241516, -0.014131635427474976, 0.8624613285064697, -1.5935277938842773, -0.2057163566350937, 1.1571613550186157, 0.9426474571228027, -0.6449524164199829, 1.0314266681671143, 0.2545489966869354, 1.0261547565460205, 0.7947796583175659, -0.3785207271575928, 0.4758436381816864, 0.015793610364198685, -1.2616060972213745, 0.4473639130592346, 1.2564254999160767, 0.13993114233016968, 1.4183720350265503, -0.43388205766677856, -0.009013043716549873, 0.4279584586620331, -0.6578488349914551, -0.44104358553886414, -0.37489455938339233, 0.6108123064041138, 0.09810551255941391, -0.8673460483551025, -0.04587271064519882, -0.09083597362041473, -0.2735806703567505, 0.23805072903633118, -1.5490694046020508, -0.20002947747707367, -0.4440348744392395, -0.5670148134231567, -1.2385200262069702, 0.02353106066584587, 1.3797568082809448, -0.7479838132858276, -0.29078733921051025, 0.4563339948654175, 0.3702224791049957, 0.5203849077224731, 0.6602414846420288, -0.6270134449005127, -0.2515246868133545, -0.37977123260498047, -0.30951204895973206, 0.2745181620121002, 1.2912025451660156, -0.006909810937941074, -0.9355690479278564, 0.7468430995941162, -0.4805707633495331, 0.05699218064546585, 1.8995083570480347, 0.007815828546881676, -0.7609289884567261, 0.37717172503471375, -0.7949970960617065, 1.894726037979126, 1.6655484437942505, 1.3422385454177856, -0.08937134593725204, -0.9172687530517578, 0.6672035455703735, -0.25653791427612305, -0.41541770100593567, 0.931020975112915, 0.3721868395805359, -0.1954011172056198, -1.3375428915023804, 0.6835572719573975, 1.184794306755066, -0.8445174694061279, -0.7291505336761475, 0.047814540565013885, -0.8667151927947998, 1.1430000066757202, 0.6708308458328247, 0.394515722990036, 0.22532014548778534, 1.513265609741211, 0.7099382877349854, -0.45693835616111755, 0.5172168016433716, 0.5238314867019653, -0.19632607698440552, -2.030963182449341, -0.9915746450424194, 0.3099721372127533, -0.3692280650138855, -1.652849793434143, 1.4111167192459106, -1.1094679832458496, -0.9924699068069458, 0.5629594326019287, 0.09157170355319977, 1.3580501079559326, 0.3979257643222809, 1.618065357208252, 2.083122968673706, 0.7963919639587402, 0.356884241104126, 1.2210949659347534, -0.10250557214021683, -0.48614516854286194, 1.8470457792282104, -0.43280836939811707, 0.5425117015838623, 0.9634512662887573, -0.33625489473342896, -1.1325808763504028, -0.7574547529220581, -1.246864676475525, -0.6250779628753662, 1.1793062686920166, 0.07660222053527832, -1.1087069511413574, 0.18923214077949524, 1.606040596961975, 0.16756868362426758, -0.2829810082912445, 0.6736900806427002, 0.4849672019481659, -0.7995418310165405, -0.05249568819999695, -0.9022988080978394, 0.5353349447250366, -0.14913083612918854, -0.2599823772907257, 0.25095224380493164, 0.4400128722190857, 1.380350947380066, -0.0835861787199974, 0.19911392033100128, 1.1135848760604858, -1.4286683797836304, 1.5292013883590698, -0.660163164138794, 0.2567894756793976, -2.4986038208007812, 1.429528832435608, -0.7555330991744995, 1.9081045389175415, -2.5762014389038086, 0.41920021176338196, -0.651697039604187, -0.5008963942527771, 0.3302215039730072, -0.3752824068069458, 0.13865599036216736, -0.12482742220163345, -1.0715374946594238, 0.006248112767934799, -0.658920407295227, 0.6034359931945801, 1.2370548248291016, 1.2535649538040161, -1.0853512287139893, -0.3192584216594696, -1.742851972579956, -0.246217280626297, -0.7711035013198853, 0.2548239827156067, -2.010399580001831, -0.17253555357456207, -1.9802241325378418, -2.4432694911956787, -1.23909330368042, -0.8506956100463867, 1.054230809211731, 0.15401987731456757, -0.9611430168151855, 1.2992429733276367, -0.3447054326534271, -1.7630319595336914, 1.0805013179779053, -2.1163463592529297 ]
https://github.com/huggingface/datasets/issues/4381
Bug in caching 2 datasets both with the same builder class name
Hi @NouamaneTazi, please note that after our fix: - #4388 we do not consider the class name anymore, but the name of the file where the loading builder class is implemented.
## Describe the bug The two datasets `mteb/mtop_intent` and `mteb/mtop_domain `use both the same cache folder `.cache/huggingface/datasets/mteb___mtop`. So if you first load `mteb/mtop_intent` then datasets will not load `mteb/mtop_domain`. If you delete this cache folder and flip the order how you load the two datasets , you will get the opposite datasets loaded (difference is here in terms of the label and label_text). ## Steps to reproduce the bug ```python import datasets dataset = datasets.load_dataset("mteb/mtop_intent", "en") print(dataset['train'][0]) dataset = datasets.load_dataset("mteb/mtop_domain", "en") print(dataset['train'][0]) ``` ## Expected results ``` Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop_intent/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 920.14it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 1, 'label_text': 'GET_MESSAGE'} Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop_domain/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 1307.59it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 0, 'label_text': 'messaging'} ``` ## Actual results ``` Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 920.14it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 1, 'label_text': 'GET_MESSAGE'} Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 1307.59it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 1, 'label_text': 'GET_MESSAGE'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.2.1 - Platform: macOS-12.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 8.0.0 - Pandas version: 1.4.2
750
31
Bug in caching 2 datasets both with the same builder class name ## Describe the bug The two datasets `mteb/mtop_intent` and `mteb/mtop_domain `use both the same cache folder `.cache/huggingface/datasets/mteb___mtop`. So if you first load `mteb/mtop_intent` then datasets will not load `mteb/mtop_domain`. If you delete this cache folder and flip the order how you load the two datasets , you will get the opposite datasets loaded (difference is here in terms of the label and label_text). ## Steps to reproduce the bug ```python import datasets dataset = datasets.load_dataset("mteb/mtop_intent", "en") print(dataset['train'][0]) dataset = datasets.load_dataset("mteb/mtop_domain", "en") print(dataset['train'][0]) ``` ## Expected results ``` Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop_intent/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 920.14it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 1, 'label_text': 'GET_MESSAGE'} Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop_domain/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 1307.59it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 0, 'label_text': 'messaging'} ``` ## Actual results ``` Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 920.14it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 1, 'label_text': 'GET_MESSAGE'} Reusing dataset mtop (/home/nouamane/.cache/huggingface/datasets/mteb___mtop/en/0.0.0/f930e32a294fed424f70263d8802390e350fff17862266e5fc156175c07d9c35) 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 1307.59it/s] {'id': 3232343436343136, 'text': 'Has Angelika Kratzer video messaged me?', 'label': 1, 'label_text': 'GET_MESSAGE'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.2.1 - Platform: macOS-12.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 8.0.0 - Pandas version: 1.4.2 Hi @NouamaneTazi, please note that after our fix: - #4388 we do not consider the class name anymore, but the name of the file where the loading builder class is implemented.
[ -1.2074164152145386, -0.9168906211853027, -0.7638037204742432, 1.519376277923584, -0.13338908553123474, -1.1608984470367432, 0.12146271765232086, -1.021623969078064, 1.5816986560821533, -0.7711011171340942, 0.235040545463562, -1.7120236158370972, -0.08406396210193634, -0.5840659141540527, -0.7569152116775513, -0.8672776222229004, -0.30276551842689514, -0.8156992197036743, 1.017450213432312, 2.495422840118408, 1.2440500259399414, -1.33834707736969, 2.7351346015930176, 0.583246111869812, -0.1762780398130417, -1.0479936599731445, 0.575314998626709, -0.06301495432853699, -1.2384964227676392, -0.4441158175468445, -0.9786556959152222, 0.04336153343319893, -0.5761247873306274, -0.520456075668335, 0.01205524057149887, 0.4517882764339447, -0.3422555923461914, -0.35481682419776917, -0.6211875677108765, -0.7645813226699829, 0.44438862800598145, -0.3279893100261688, 0.9055328369140625, -0.330657035112381, 1.7490792274475098, -0.613235354423523, 0.35274577140808105, 0.7093840837478638, 1.289238452911377, 0.1976167857646942, 0.07288036495447159, 0.3480595648288727, 0.3637023866176605, -0.008783546276390553, 0.5685354471206665, 1.2670482397079468, 0.576740026473999, 0.4498964846134186, 0.7371381521224976, -2.316220283508301, 1.3025957345962524, -0.9493861198425293, 0.28416064381599426, 1.3242926597595215, -0.83697509765625, 0.38179659843444824, -1.7722753286361694, -0.021595923230051994, 0.6111198663711548, -2.1942031383514404, 0.3081694543361664, -1.3220397233963013, -0.46168258786201477, 0.9756770133972168, 0.3926202058792114, -1.2035837173461914, 0.17681077122688293, -0.5306098461151123, 1.177939534187317, 0.3701699376106262, 1.0954772233963013, -1.6756811141967773, -0.04896042123436928, -0.28993263840675354, 0.07539868354797363, -1.2580152750015259, -1.6534864902496338, 0.5220085382461548, 0.6163898706436157, 0.6826927661895752, -0.12602922320365906, 1.113251805305481, -1.0866795778274536, 0.699992299079895, -0.9742797613143921, -1.69291090965271, -1.4032400846481323, -2.3254029750823975, -2.185398578643799, 0.737420916557312, -0.4483043849468231, -0.6082048416137695, 1.9928271770477295, -0.9811109304428101, -1.8529713153839111, 1.1800023317337036, 0.3628285527229309, 0.08966545015573502, 2.36007022857666, 0.2590688467025757, -0.7685158252716064, 0.5295469760894775, -0.7134706974029541, 0.8179514408111572, -0.2941562831401825, 1.3299015760421753, 0.40966513752937317, -0.918684720993042, 1.6118097305297852, -0.4436623752117157, 0.6369189023971558, -0.7427273988723755, -0.5717297792434692, -0.8630746603012085, 0.2546340823173523, 1.9333252906799316, -0.37424910068511963, 1.5738698244094849, -0.4460386335849762, -1.5624500513076782, -1.5740586519241333, 0.8774566650390625, 0.4475455582141876, -0.8024013042449951, 0.0036074230447411537, -0.47274431586265564, 0.1626621037721634, -0.0782046988606453, 1.1973401308059692, 1.237313151359558, 0.6639293432235718, -0.38385432958602905, -0.8118782043457031, 0.23575034737586975, -0.05851603299379349, -0.6464947462081909, -1.8664820194244385, -0.2989521622657776, 0.31058529019355774, 0.6444574594497681, -1.2052865028381348, 1.6835179328918457, 0.933448076248169, 1.9652230739593506, 1.0811070203781128, -0.3335837125778198, 1.4689574241638184, 0.08345211297273636, 1.9535627365112305, -0.4596855938434601, 0.5901851654052734, -0.19638603925704956, -1.1338248252868652, 0.8815909624099731, -0.3147863745689392, -2.0384018421173096, -0.8160083293914795, -0.7683734893798828, -0.2094067484140396, -0.787125825881958, 0.895950198173523, -0.3736174702644348, -1.5041548013687134, 0.2151148021221161, -0.7007731199264526, 0.18438492715358734, -1.1740821599960327, 0.1887717992067337, 0.7292746305465698, -0.6576588153839111, 0.029844123870134354, -0.258505642414093, -1.368396520614624, -0.4124802052974701, 0.40610718727111816, 1.8787167072296143, -0.7237108945846558, 0.8899697065353394, 1.0620315074920654, -0.6521875858306885, 0.10875091701745987, 0.24198943376541138, -0.35176363587379456, 0.8642518520355225, -1.0292161703109741, -0.380010187625885, 1.2563484907150269, -0.16931816935539246, -0.6815013885498047, 1.4392198324203491, 0.7034447193145752, -1.0033953189849854, -0.18871624767780304, -0.14428986608982086, -0.8419280052185059, -0.06881072372198105, -1.5875613689422607, -0.15741890668869019, 0.41446512937545776, -1.4438762664794922, -0.4113025963306427, -0.1782575100660324, 1.3233120441436768, -0.14803747832775116, 1.3761192560195923, -0.33282315731048584, -0.10466352850198746, -0.27689841389656067, -0.4569961726665497, 0.1603173315525055, -0.19169072806835175, -0.6280517578125, 0.1524575799703598, -0.8275139331817627, 0.3228428065776825, 1.410237431526184, 0.4155389070510864, 0.009653257206082344, 0.4811772406101227, 1.1142768859863281, 0.40220722556114197, 0.020242951810359955, -0.8653669357299805, -1.6125600337982178, 2.0015954971313477, -1.5060275793075562, 1.9624282121658325, 0.7596025466918945, -0.02230081334710121, -1.8510347604751587, -1.9366610050201416, 1.3225966691970825, 1.0217496156692505, 2.4133293628692627, 0.4798144996166229, 0.39873090386390686, -0.7344616651535034, -0.7696349620819092, 0.2716315686702728, -1.014959454536438, -0.7069611549377441, 0.1012679934501648, 2.4198031425476074, 1.7629095315933228, -0.43991196155548096, -0.22863051295280457, -0.9425578117370605, 1.2969650030136108, -0.2712693214416504, 0.25898370146751404, 2.0184524059295654, -0.1935042291879654, -1.0285089015960693, 1.336625576019287, -2.3421733379364014, 0.19977432489395142, 2.04052996635437, 0.21130825579166412, 0.19000008702278137, -1.3345526456832886, -0.6216105222702026, -0.2429739087820053, -0.4146203100681305, -1.3598239421844482, 0.5691217184066772, -0.30262520909309387, -0.8141782283782959, -1.4058467149734497, 0.04546429589390755, -1.1224278211593628, -1.5441021919250488, 0.35648709535598755, 2.012876510620117, 2.1651341915130615, -0.7170792818069458, 1.6169956922531128, -0.2413180023431778, 0.12998081743717194, 1.2667720317840576, 1.307051181793213, 3.11236834526062, 1.8730462789535522, -1.3536932468414307, 0.6442818641662598, -0.18860897421836853, -0.543822169303894, 1.2336300611495972, -1.1688613891601562, 1.2503724098205566, -0.2336266040802002, -1.2150630950927734, -1.2755990028381348, 1.03376042842865, 0.47770509123802185, 0.040399543941020966, -0.49803853034973145, 1.2615723609924316, 0.051424894481897354, 1.2013918161392212, 0.6217608451843262, -0.42631796002388, 0.6182278394699097, -0.4327107071876526, -0.5849274396896362, 1.5241340398788452, 0.1736917644739151, -1.4884910583496094, -2.325812339782715, -0.19622652232646942, -0.8602597713470459, 0.03793758153915405, -0.5862683057785034, -1.0815035104751587, 1.6402002573013306, 0.32550519704818726, -1.2476140260696411, -0.37044060230255127, -0.33357760310173035, -0.5583446025848389, 2.646268367767334, -1.2736079692840576, -0.13965819776058197, -0.9847054481506348, -0.5380325317382812, 1.6435984373092651, -1.1755262613296509, -0.22376036643981934, -1.0236077308654785, -0.6899194717407227, -1.3637232780456543, -0.5268450975418091, 0.02782387286424637, -0.9761019945144653, 0.781619668006897, 0.1887170523405075, -1.124421238899231, -0.2909678816795349, -0.9499742984771729, 1.011413335800171, -0.24039675295352936, 0.2368355393409729, 1.8809840679168701, 0.4447113871574402, -0.40823790431022644, 0.7636981010437012, 1.1821759939193726, 0.6012604236602783, -0.6388927698135376, 0.05683973431587219, -0.7171355485916138, 0.34864717721939087, -1.470361351966858, 0.22627337276935577, -2.9371676445007324, 0.6492083072662354, -0.10690432786941528, -0.08976507931947708, 0.006786240264773369, -1.2877907752990723, 1.0926793813705444, 2.510817050933838, -1.2295472621917725, 0.4561096429824829, 0.3578350841999054, 1.178980827331543, -1.670405387878418, 0.34936174750328064, -0.4927414059638977, 2.073923349380493, 0.11482177674770355, 1.1908366680145264, -0.5074662566184998, -2.232011318206787, 0.6087828874588013, -1.300012469291687, -1.0679205656051636, 0.8541879653930664, -0.8693422079086304, 0.2733090817928314, -1.4885390996932983, -0.2984640896320343, -1.0453006029129028, -1.2089077234268188, 0.7467318773269653, 0.15246357023715973, 0.3417726457118988, -0.5021073818206787, 0.28932008147239685, -2.189969301223755, -1.4393534660339355, -0.2580665349960327, -1.0292214155197144, 0.5468306541442871, -0.37546318769454956, 0.6824541091918945, -0.1291184425354004, 0.04914278909564018, 0.3187730312347412, 1.396628499031067, 3.348289728164673, 0.3340156674385071, 0.29668164253234863, -0.12981434166431427, -1.020938515663147, 1.4101811647415161, 0.9714457988739014, -0.09952671825885773, -0.5903066396713257, -0.9679633378982544, 1.2787854671478271, 2.0328640937805176, 1.0058469772338867, 0.0529620423913002, -0.8874516487121582, -0.7182744741439819, -0.038708560168743134, 0.16368120908737183, 0.5154969692230225, 0.8821926116943359, 0.046348728239536285, 0.09520236402750015, 1.3417805433273315, 1.140565037727356, -0.2845788598060608, 0.4024147093296051, -0.9048759937286377, -0.42463845014572144, 0.45174965262413025, 0.20275762677192688, 0.013409685343503952, 0.43876418471336365, -1.0603642463684082, -0.3119316101074219, -0.34543225169181824, -0.8846161365509033, -0.7660259008407593, -0.3817681074142456, -0.3597320318222046, 1.512123942375183, 0.16370125114917755, -0.5554666519165039, -0.030171483755111694, -0.7267724275588989, -0.0980227142572403, -1.0726984739303589, 0.2999243140220642, -0.16569828987121582, -0.15042978525161743, -0.14132651686668396, 1.647302508354187, -0.9693204164505005, -2.060389757156372, 0.18794412910938263, 0.25847071409225464, -0.32564979791641235, 0.1530671864748001, 1.6882359981536865, 0.6493959426879883, 1.3980365991592407, 1.2978768348693848, 0.9973099231719971, -0.6409897804260254, -1.2267662286758423, 0.6555678844451904, 0.9977595806121826, -1.3717336654663086, 0.888862133026123, -0.08993644267320633, -0.5565798282623291, 0.7326616048812866, 1.3853788375854492, 0.4896748661994934, -1.981613039970398, 0.7509270906448364, -1.0064059495925903, 0.778152346611023, 0.6936167478561401, 0.763979434967041, 0.24306762218475342, 0.8951408863067627, -1.1978245973587036, -1.1791787147521973, -0.7318034172058105, -0.6915030479431152, 1.9788689613342285, -0.3089115023612976, 0.5926728248596191, -0.12456667423248291, -1.2504109144210815, -0.06682524085044861, 0.8083511590957642, 0.3455294370651245, -0.4491392970085144, 0.8662784099578857, -0.5963573455810547, -0.9752377271652222, -1.2852599620819092, -0.4560073912143707, -0.9907264709472656, -0.9773399829864502, 0.9694803953170776, 0.7629469633102417, 0.3274257481098175, 1.8035680055618286, 0.577879786491394, 0.3043800890445709, -2.59060001373291, 0.8982948064804077, 0.26639848947525024, -0.057791903614997864, 0.8935946226119995, 0.2952863276004791, 1.1164554357528687, 0.027373112738132477, 0.6751441955566406, -2.359748363494873, 2.183164119720459, -0.17381660640239716, 0.6589272022247314, -0.09506439417600632, -0.17129163444042206, 1.0877721309661865, 0.5191382169723511, 0.5577160120010376, -1.005403757095337, 0.7926714420318604, -0.5744075775146484, 1.110474944114685, 0.9256067276000977, -0.8321219682693481, 0.018608443439006805, 1.4996790885925293, 0.39648690819740295, -0.5255182981491089, -0.9332988262176514, -0.8922747373580933, 0.9426150321960449, 1.604121446609497, -0.0006077969446778297, -0.017916996031999588, 0.8005971908569336, 0.6532987356185913, -1.2974720001220703, 0.19591398537158966, -0.6291229724884033, -0.7005610466003418, 1.7410457134246826, 2.1062893867492676, -0.13220252096652985, -0.1787504106760025, -0.7024431228637695, -1.2263180017471313, 0.6681334972381592, -0.09133918583393097, 0.07725776731967926, 0.6160238981246948, -0.665793776512146, 1.1035963296890259, 0.7141361236572266, 0.9196072816848755, 0.042689450085163116, 0.4093862771987915, 0.4085771143436432, -0.3567313253879547, -1.1644635200500488, -0.3087415099143982, -1.123284101486206, -2.516132354736328, 0.3954352140426636, -0.1666758507490158, -1.4711085557937622, 0.11818762123584747, -0.9996038675308228, 1.0047191381454468, -0.5997411012649536, -1.1472811698913574, -1.5840895175933838, 0.2786157727241516, -0.014131635427474976, 0.8624613285064697, -1.5935277938842773, -0.2057163566350937, 1.1571613550186157, 0.9426474571228027, -0.6449524164199829, 1.0314266681671143, 0.2545489966869354, 1.0261547565460205, 0.7947796583175659, -0.3785207271575928, 0.4758436381816864, 0.015793610364198685, -1.2616060972213745, 0.4473639130592346, 1.2564254999160767, 0.13993114233016968, 1.4183720350265503, -0.43388205766677856, -0.009013043716549873, 0.4279584586620331, -0.6578488349914551, -0.44104358553886414, -0.37489455938339233, 0.6108123064041138, 0.09810551255941391, -0.8673460483551025, -0.04587271064519882, -0.09083597362041473, -0.2735806703567505, 0.23805072903633118, -1.5490694046020508, -0.20002947747707367, -0.4440348744392395, -0.5670148134231567, -1.2385200262069702, 0.02353106066584587, 1.3797568082809448, -0.7479838132858276, -0.29078733921051025, 0.4563339948654175, 0.3702224791049957, 0.5203849077224731, 0.6602414846420288, -0.6270134449005127, -0.2515246868133545, -0.37977123260498047, -0.30951204895973206, 0.2745181620121002, 1.2912025451660156, -0.006909810937941074, -0.9355690479278564, 0.7468430995941162, -0.4805707633495331, 0.05699218064546585, 1.8995083570480347, 0.007815828546881676, -0.7609289884567261, 0.37717172503471375, -0.7949970960617065, 1.894726037979126, 1.6655484437942505, 1.3422385454177856, -0.08937134593725204, -0.9172687530517578, 0.6672035455703735, -0.25653791427612305, -0.41541770100593567, 0.931020975112915, 0.3721868395805359, -0.1954011172056198, -1.3375428915023804, 0.6835572719573975, 1.184794306755066, -0.8445174694061279, -0.7291505336761475, 0.047814540565013885, -0.8667151927947998, 1.1430000066757202, 0.6708308458328247, 0.394515722990036, 0.22532014548778534, 1.513265609741211, 0.7099382877349854, -0.45693835616111755, 0.5172168016433716, 0.5238314867019653, -0.19632607698440552, -2.030963182449341, -0.9915746450424194, 0.3099721372127533, -0.3692280650138855, -1.652849793434143, 1.4111167192459106, -1.1094679832458496, -0.9924699068069458, 0.5629594326019287, 0.09157170355319977, 1.3580501079559326, 0.3979257643222809, 1.618065357208252, 2.083122968673706, 0.7963919639587402, 0.356884241104126, 1.2210949659347534, -0.10250557214021683, -0.48614516854286194, 1.8470457792282104, -0.43280836939811707, 0.5425117015838623, 0.9634512662887573, -0.33625489473342896, -1.1325808763504028, -0.7574547529220581, -1.246864676475525, -0.6250779628753662, 1.1793062686920166, 0.07660222053527832, -1.1087069511413574, 0.18923214077949524, 1.606040596961975, 0.16756868362426758, -0.2829810082912445, 0.6736900806427002, 0.4849672019481659, -0.7995418310165405, -0.05249568819999695, -0.9022988080978394, 0.5353349447250366, -0.14913083612918854, -0.2599823772907257, 0.25095224380493164, 0.4400128722190857, 1.380350947380066, -0.0835861787199974, 0.19911392033100128, 1.1135848760604858, -1.4286683797836304, 1.5292013883590698, -0.660163164138794, 0.2567894756793976, -2.4986038208007812, 1.429528832435608, -0.7555330991744995, 1.9081045389175415, -2.5762014389038086, 0.41920021176338196, -0.651697039604187, -0.5008963942527771, 0.3302215039730072, -0.3752824068069458, 0.13865599036216736, -0.12482742220163345, -1.0715374946594238, 0.006248112767934799, -0.658920407295227, 0.6034359931945801, 1.2370548248291016, 1.2535649538040161, -1.0853512287139893, -0.3192584216594696, -1.742851972579956, -0.246217280626297, -0.7711035013198853, 0.2548239827156067, -2.010399580001831, -0.17253555357456207, -1.9802241325378418, -2.4432694911956787, -1.23909330368042, -0.8506956100463867, 1.054230809211731, 0.15401987731456757, -0.9611430168151855, 1.2992429733276367, -0.3447054326534271, -1.7630319595336914, 1.0805013179779053, -2.1163463592529297 ]
https://github.com/huggingface/datasets/issues/4379
Latest dill release raises exception
Just an additional insight, the latest dill (either 0.3.5 or 0.3.5.1) also broke the hashing/fingerprinting of any mapping function. For example: ``` from datasets import load_dataset d = load_dataset("rotten_tomatoes") d.map(lambda x: x) ``` Returns the standard non-dillable error: ``` Parameter 'function'=<function <lambda> at 0x7fe7d18c9560> of the transform datasets.arrow_dataset.Dataset._map_single couldn't be hashed properly.... ```
## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): self.wait(timeout) if not self.ready(): raise TimeoutError if self._success: return self._value else: > raise self._value E TypeError: '>' not supported between instances of 'NoneType' and 'float' ```
751
53
Latest dill release raises exception ## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): self.wait(timeout) if not self.ready(): raise TimeoutError if self._success: return self._value else: > raise self._value E TypeError: '>' not supported between instances of 'NoneType' and 'float' ``` Just an additional insight, the latest dill (either 0.3.5 or 0.3.5.1) also broke the hashing/fingerprinting of any mapping function. For example: ``` from datasets import load_dataset d = load_dataset("rotten_tomatoes") d.map(lambda x: x) ``` Returns the standard non-dillable error: ``` Parameter 'function'=<function <lambda> at 0x7fe7d18c9560> of the transform datasets.arrow_dataset.Dataset._map_single couldn't be hashed properly.... ```
[ -1.2098135948181152, -0.9242041110992432, -0.6457740664482117, 1.6308683156967163, -0.1237775906920433, -1.1937587261199951, 0.23423385620117188, -1.0522080659866333, 1.6262333393096924, -0.8332138657569885, 0.3194727301597595, -1.5127794742584229, 0.04049406200647354, -0.6783664226531982, -0.7132858633995056, -0.8685106039047241, -0.340608686208725, -0.7053385972976685, 1.1343685388565063, 2.383326530456543, 1.2348077297210693, -1.3244270086288452, 2.6450653076171875, 0.6613112092018127, -0.24110719561576843, -1.0719962120056152, 0.43626868724823, -0.005988291930407286, -1.2314287424087524, -0.4797288477420807, -0.8522950410842896, -0.062212467193603516, -0.6664986610412598, -0.4161379635334015, 0.025566214695572853, 0.4130541682243347, -0.39496809244155884, -0.39595288038253784, -0.533819317817688, -0.9360805153846741, 0.4465859532356262, -0.34739142656326294, 0.8316083550453186, -0.34394022822380066, 1.7992932796478271, -0.6395025849342346, 0.564572274684906, 0.7648240923881531, 1.250963807106018, 0.1782340109348297, -0.13723687827587128, 0.3188941776752472, 0.3343254625797272, 0.05691027641296387, 0.5148301124572754, 1.0172568559646606, 0.5624542236328125, 0.4282017648220062, 0.6429920196533203, -2.315131425857544, 1.3162670135498047, -1.043291687965393, 0.18381904065608978, 1.4259581565856934, -0.8823318481445312, 0.2680181860923767, -1.6932653188705444, -0.03297992795705795, 0.7330871224403381, -2.291959762573242, 0.3507102429866791, -1.4225600957870483, -0.495437353849411, 1.0899232625961304, 0.48957687616348267, -1.174974799156189, 0.06220657378435135, -0.4109742343425751, 1.0573279857635498, 0.428871750831604, 0.9078043699264526, -1.8040136098861694, -0.06568443775177002, -0.24971748888492584, 0.1403922289609909, -1.3165162801742554, -1.5383808612823486, 0.5555689930915833, 0.6211128830909729, 0.5793445110321045, -0.12597514688968658, 1.048303484916687, -1.0458203554153442, 0.7996377348899841, -1.2709856033325195, -1.6673152446746826, -1.4315967559814453, -2.35836124420166, -2.309105157852173, 0.6031472086906433, -0.399929940700531, -0.5138383507728577, 2.099851608276367, -0.977817952632904, -1.6240476369857788, 1.189554214477539, 0.18374216556549072, 0.09887080639600754, 2.326432704925537, 0.22461910545825958, -0.6905964016914368, 0.39399218559265137, -0.8495203256607056, 0.6695002913475037, -0.23459047079086304, 1.319809913635254, 0.4269179701805115, -1.1110903024673462, 1.5184797048568726, -0.3768046200275421, 0.6100558638572693, -0.6091480255126953, -0.5883808732032776, -0.7146166563034058, 0.2611256539821625, 1.8960864543914795, -0.1408986896276474, 1.4975510835647583, -0.35382482409477234, -1.5140045881271362, -1.6060289144515991, 0.9107425808906555, 0.387891560792923, -0.8857351541519165, 0.09505584836006165, -0.4809279441833496, 0.15957650542259216, -0.14555658400058746, 1.279067873954773, 1.2937687635421753, 0.8115168809890747, -0.44188547134399414, -0.7771508693695068, 0.07650380581617355, -0.009348428808152676, -0.8239090442657471, -1.7746320962905884, -0.30289459228515625, 0.06055469810962677, 0.6554183959960938, -1.1139912605285645, 1.7726472616195679, 0.9440332651138306, 1.8772944211959839, 1.0400264263153076, -0.30858293175697327, 1.4319629669189453, 0.028201768174767494, 1.8813228607177734, -0.5359386801719666, 0.6765134930610657, -0.34833312034606934, -1.1069786548614502, 0.8206856846809387, -0.2947486937046051, -2.069136619567871, -0.7993456125259399, -0.6983917951583862, -0.16868801414966583, -0.6938238739967346, 0.9423425197601318, -0.26903146505355835, -1.4644041061401367, 0.20438644289970398, -0.8208072781562805, 0.2711063623428345, -1.1131391525268555, 0.3469806909561157, 0.7635393738746643, -0.5917356610298157, 0.12367384135723114, -0.2816076874732971, -1.2231141328811646, -0.4852151572704315, 0.4997374415397644, 1.8807477951049805, -0.6485728621482849, 0.8230056166648865, 1.0451189279556274, -0.5829100608825684, 0.07429040223360062, 0.1835874766111374, -0.25956642627716064, 0.7910829782485962, -1.0108811855316162, -0.47489848732948303, 1.3240656852722168, -0.4408051073551178, -0.7199521660804749, 1.5736966133117676, 0.7031878232955933, -1.0437066555023193, -0.18194320797920227, -0.2630153298377991, -0.8280977010726929, 0.13109034299850464, -1.65654456615448, -0.06239598989486694, 0.5541726350784302, -1.5711883306503296, -0.32893726229667664, -0.11950312554836273, 1.50574791431427, -0.1503538340330124, 1.391099452972412, -0.40608087182044983, -0.13685232400894165, -0.3153443932533264, -0.3397541642189026, 0.20716923475265503, -0.20947636663913727, -0.5271514058113098, 0.13597337901592255, -0.7829377055168152, 0.36696919798851013, 1.4452658891677856, 0.2464926689863205, 0.06338395923376083, 0.37550970911979675, 1.0780701637268066, 0.32456687092781067, -0.018708504736423492, -0.8667470216751099, -1.6298828125, 2.041853427886963, -1.366539478302002, 2.0716135501861572, 0.6715627312660217, -0.06616413593292236, -1.736163854598999, -1.8386130332946777, 1.2251695394515991, 1.003312110900879, 2.195648431777954, 0.40072935819625854, 0.3768578767776489, -0.8831428289413452, -0.707409143447876, 0.343443363904953, -0.9605907201766968, -0.6591008305549622, 0.1418781280517578, 2.4548840522766113, 1.6425637006759644, -0.33150723576545715, -0.13856104016304016, -0.9710524678230286, 1.4517682790756226, -0.21194301545619965, 0.29087984561920166, 2.0321106910705566, -0.18604014813899994, -1.1002216339111328, 1.284985899925232, -2.381885051727295, 0.30531638860702515, 2.1609039306640625, 0.20788873732089996, 0.21010726690292358, -1.4057917594909668, -0.581232488155365, -0.3135976195335388, -0.32619598507881165, -1.2058520317077637, 0.5141395926475525, -0.23262086510658264, -0.7553150653839111, -1.3832759857177734, 0.21417836844921112, -1.0609816312789917, -1.7602720260620117, 0.30941277742385864, 1.8784805536270142, 1.9916229248046875, -0.6733351349830627, 1.5726572275161743, -0.33870506286621094, 0.054833002388477325, 1.2422986030578613, 1.363945722579956, 3.0654921531677246, 1.8345643281936646, -1.377192497253418, 0.6666158437728882, -0.08058921247720718, -0.43127432465553284, 1.0976581573486328, -1.2233136892318726, 1.30377995967865, -0.2313161939382553, -1.164642572402954, -1.3551826477050781, 0.994258463382721, 0.5207657217979431, 0.06415450572967529, -0.5294276475906372, 1.258436918258667, 0.07423493266105652, 1.426424264907837, 0.5829779505729675, -0.3599761128425598, 0.6352822780609131, -0.49993062019348145, -0.5911340713500977, 1.4793521165847778, 0.22891229391098022, -1.5207924842834473, -2.2311582565307617, -0.2665262818336487, -0.8123162984848022, 0.009119715541601181, -0.5661591291427612, -0.9903796911239624, 1.6487112045288086, 0.34092438220977783, -1.320505976676941, -0.2540520131587982, -0.2853938639163971, -0.46829989552497864, 2.831609010696411, -1.2945303916931152, -0.1793365329504013, -1.0276246070861816, -0.6547598242759705, 1.646347165107727, -1.281335473060608, -0.27488622069358826, -1.0368008613586426, -0.6146662831306458, -1.1999619007110596, -0.40438225865364075, 0.011705700308084488, -0.9890696406364441, 0.8521509170532227, 0.20946051180362701, -1.2359929084777832, -0.4673767387866974, -0.8967267870903015, 1.023654580116272, -0.11894229054450989, 0.14468370378017426, 1.7924314737319946, 0.2903626561164856, -0.4354898929595947, 0.8803898692131042, 1.1277964115142822, 0.6649728417396545, -0.5701346397399902, 0.15095168352127075, -0.4501657783985138, 0.3642977476119995, -1.3077349662780762, 0.330744206905365, -2.9798781871795654, 0.6573286056518555, -0.06114521622657776, -0.03962576389312744, -0.1273232400417328, -1.4418060779571533, 1.1874315738677979, 2.5859713554382324, -1.2538007497787476, 0.594804584980011, 0.3435712158679962, 1.0436114072799683, -1.6516774892807007, 0.4043959975242615, -0.44155073165893555, 2.1645472049713135, 0.2668662965297699, 1.266077995300293, -0.4251888692378998, -2.3284716606140137, 0.705500602722168, -1.2824087142944336, -1.0983495712280273, 0.790298581123352, -0.9314523935317993, 0.1605510115623474, -1.3901991844177246, -0.267494261264801, -0.8665474653244019, -1.24443781375885, 0.5665730237960815, 0.23929043114185333, 0.4645172357559204, -0.5705819725990295, 0.2869945168495178, -2.286654233932495, -1.3360017538070679, -0.15750236809253693, -1.0497486591339111, 0.5108774900436401, -0.49373552203178406, 0.6780253648757935, -0.1906217634677887, 0.033222444355487823, 0.3996439576148987, 1.5798555612564087, 3.4859046936035156, 0.1451684683561325, 0.20999102294445038, -0.24279312789440155, -0.8492007851600647, 1.4299651384353638, 0.8842398524284363, -0.1262553483247757, -0.48847752809524536, -0.9743921160697937, 1.1958178281784058, 2.064526319503784, 0.9053356051445007, -0.016482317820191383, -0.8568270206451416, -0.7025686502456665, -0.06042000651359558, 0.1902669221162796, 0.6068550944328308, 0.8389952778816223, 0.12494829297065735, 0.04687024652957916, 1.375525951385498, 1.1591975688934326, -0.3748703598976135, 0.31788384914398193, -0.9008520841598511, -0.4046478569507599, 0.49115806818008423, 0.27975285053253174, -0.15403839945793152, 0.3978315591812134, -0.9364472031593323, -0.1365807056427002, -0.4112231731414795, -0.8074964880943298, -0.7365464568138123, -0.4314371943473816, -0.45723825693130493, 1.5800620317459106, 0.14998412132263184, -0.4856814444065094, -0.05457688868045807, -0.6531103849411011, -0.17637930810451508, -1.1096757650375366, 0.33656102418899536, -0.08243872970342636, -0.13985130190849304, -0.2477215826511383, 1.6182022094726562, -0.9355606436729431, -1.9682694673538208, 0.16284045577049255, 0.14749330282211304, -0.30280712246894836, 0.263351708650589, 1.7653847932815552, 0.4471588134765625, 1.4893474578857422, 1.3173558712005615, 0.9311658143997192, -0.6210539937019348, -1.2711559534072876, 0.6402337551116943, 0.9129355549812317, -1.4652440547943115, 0.7908200621604919, -0.10332362353801727, -0.4499047100543976, 0.6668074727058411, 1.2826296091079712, 0.6185340881347656, -1.9913126230239868, 0.7835453152656555, -1.004029631614685, 0.9043138027191162, 0.8313117027282715, 0.6361497044563293, 0.2058410942554474, 0.9012905955314636, -1.1344261169433594, -1.0902507305145264, -0.6194733381271362, -0.7914766073226929, 1.9432425498962402, -0.4255540668964386, 0.5577054023742676, -0.04458165168762207, -1.2287596464157104, -0.11324527859687805, 0.7817491888999939, 0.3451992869377136, -0.4840978682041168, 0.8621211051940918, -0.6366074681282043, -0.976378858089447, -1.1831576824188232, -0.47560110688209534, -1.048769474029541, -1.0284724235534668, 1.0378795862197876, 0.7651094198226929, 0.32963892817497253, 1.84089195728302, 0.574705183506012, 0.3785920739173889, -2.557060956954956, 0.8648813962936401, 0.25446996092796326, -0.12706629931926727, 0.905156672000885, 0.28190848231315613, 1.123332142829895, 0.06308375298976898, 0.5813397765159607, -2.395618200302124, 2.358346462249756, -0.21898183226585388, 0.6478304862976074, -0.07471123337745667, -0.1640828251838684, 1.1488726139068604, 0.6132833957672119, 0.5071595311164856, -1.0361945629119873, 0.7759749293327332, -0.5967476963996887, 1.208663821220398, 0.7804123163223267, -0.8498460650444031, -0.1195787861943245, 1.411123275756836, 0.39309173822402954, -0.66285240650177, -0.9192041754722595, -1.0526158809661865, 0.851712167263031, 1.5286775827407837, -0.1558219939470291, -0.14690440893173218, 0.7406158447265625, 0.6653729677200317, -1.2525612115859985, 0.07238009572029114, -0.6452462673187256, -0.7487268447875977, 1.5977554321289062, 2.0684778690338135, -0.15542444586753845, -0.13149188458919525, -0.7599204778671265, -1.2056821584701538, 0.7439647912979126, -0.08212684839963913, -0.02620840072631836, 0.4070584774017334, -0.5012134313583374, 0.9762688279151917, 0.7913764119148254, 0.9447867274284363, 0.08743233233690262, 0.3563804626464844, 0.41290774941444397, -0.38404348492622375, -1.2764172554016113, -0.3322385251522064, -1.185823917388916, -2.5542891025543213, 0.4710981845855713, -0.33537840843200684, -1.4238299131393433, 0.04169651120901108, -1.093602180480957, 0.9243680238723755, -0.6165950894355774, -1.119148850440979, -1.4454798698425293, 0.1307041496038437, -0.04820690304040909, 0.8475404977798462, -1.5392074584960938, -0.05694662779569626, 1.2743182182312012, 0.7876850366592407, -0.72862309217453, 0.9914601445198059, 0.25009363889694214, 1.1487367153167725, 0.814200222492218, -0.35878807306289673, 0.6292101144790649, 0.08099439740180969, -1.359594464302063, 0.4918280839920044, 1.1723875999450684, 0.23611776530742645, 1.5748374462127686, -0.5004175901412964, 0.03193315863609314, 0.4432942569255829, -0.6650221943855286, -0.45446255803108215, -0.46582579612731934, 0.7251729369163513, 0.05984817445278168, -0.8329713940620422, -0.004258517641574144, -0.12366102635860443, -0.28706085681915283, 0.14238037168979645, -1.584351897239685, -0.18181289732456207, -0.43515801429748535, -0.5073424577713013, -1.3404195308685303, -0.1444620043039322, 1.4344251155853271, -0.6130625009536743, -0.19795386493206024, 0.41679248213768005, 0.40496593713760376, 0.5731903314590454, 0.782408595085144, -0.7171412706375122, -0.3611066937446594, -0.3433448076248169, -0.19196859002113342, 0.44183793663978577, 1.3282876014709473, -0.031009145081043243, -0.9818305373191833, 0.7139515280723572, -0.3940142095088959, 0.18090447783470154, 1.9192328453063965, 0.05781920999288559, -0.7648427486419678, 0.3090939521789551, -0.7656954526901245, 1.9996895790100098, 1.7177603244781494, 1.1541686058044434, -0.15254463255405426, -1.0952675342559814, 0.675736129283905, -0.4126424193382263, -0.3435085117816925, 0.8331702947616577, 0.47110044956207275, -0.3302319645881653, -1.3027921915054321, 0.8383291959762573, 1.0980112552642822, -0.8353883624076843, -0.8486616015434265, 0.24662910401821136, -0.7235286235809326, 1.1175457239151, 0.5676494836807251, 0.42368289828300476, 0.31503963470458984, 1.6356791257858276, 0.7708498239517212, -0.3724929988384247, 0.5961307287216187, 0.45456424355506897, -0.3159327507019043, -2.0783896446228027, -1.1965676546096802, 0.42979517579078674, -0.6100746989250183, -1.6520202159881592, 1.4509434700012207, -1.1268500089645386, -0.9983006715774536, 0.5263735055923462, 0.01562095433473587, 1.3629589080810547, 0.3502729833126068, 1.6530028581619263, 1.9942913055419922, 0.8410534858703613, 0.552771270275116, 1.3884377479553223, -0.23080098628997803, -0.5958725214004517, 1.7619997262954712, -0.5289126634597778, 0.4778919219970703, 1.1968388557434082, -0.3352169096469879, -1.0451960563659668, -0.8655136823654175, -1.135259747505188, -0.74332195520401, 1.195719599723816, 0.10618005692958832, -1.1543036699295044, 0.25389257073402405, 1.5741609334945679, 0.11263693869113922, -0.1963280588388443, 0.6259641647338867, 0.26415500044822693, -0.8243818879127502, -0.10432267189025879, -0.992971658706665, 0.5083447098731995, -0.33722004294395447, -0.32267117500305176, 0.3224043846130371, 0.35229942202568054, 1.3173538446426392, -0.1111689954996109, 0.21328851580619812, 1.0354127883911133, -1.4653435945510864, 1.4781105518341064, -0.6503939628601074, 0.4231184422969818, -2.279252529144287, 1.2253957986831665, -0.7076956629753113, 2.026219367980957, -2.6718015670776367, 0.4217011034488678, -0.5539224147796631, -0.5245130062103271, 0.32383930683135986, -0.270187646150589, 0.10994184762239456, -0.12994301319122314, -1.1419368982315063, -0.04543663561344147, -0.7452741861343384, 0.5893136262893677, 1.0891343355178833, 1.3656184673309326, -1.1060680150985718, -0.26503637433052063, -1.6934128999710083, -0.2024679332971573, -0.8170661926269531, 0.3461467921733856, -1.9098938703536987, -0.04691588878631592, -1.9834266901016235, -2.342653751373291, -1.209877371788025, -0.7240068316459656, 1.0587780475616455, 0.05997508019208908, -0.7847239375114441, 1.2288918495178223, -0.23542088270187378, -1.7305158376693726, 1.0805702209472656, -2.0338125228881836 ]
https://github.com/huggingface/datasets/issues/4379
Latest dill release raises exception
Thanks a lot @gugarosa for the insight: we will incorporate it in our CI as regression testing for future dill releases.
## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): self.wait(timeout) if not self.ready(): raise TimeoutError if self._success: return self._value else: > raise self._value E TypeError: '>' not supported between instances of 'NoneType' and 'float' ```
751
21
Latest dill release raises exception ## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): self.wait(timeout) if not self.ready(): raise TimeoutError if self._success: return self._value else: > raise self._value E TypeError: '>' not supported between instances of 'NoneType' and 'float' ``` Thanks a lot @gugarosa for the insight: we will incorporate it in our CI as regression testing for future dill releases.
[ -1.2187472581863403, -0.9472180604934692, -0.6860899925231934, 1.7549879550933838, -0.1227312758564949, -1.223492980003357, 0.19311664998531342, -1.021497368812561, 1.514481782913208, -0.828414261341095, 0.3906286954879761, -1.434509038925171, 0.09242946654558182, -0.7531238794326782, -0.662437379360199, -0.8169265985488892, -0.3018515408039093, -0.760787844657898, 1.2122716903686523, 2.345773220062256, 1.3358776569366455, -1.3213071823120117, 2.6517066955566406, 0.6487843990325928, -0.24125392735004425, -1.0791819095611572, 0.4248216152191162, -0.03757596015930176, -1.2070815563201904, -0.5168995261192322, -0.8596705794334412, -0.06044768542051315, -0.6384003162384033, -0.23366601765155792, -0.043948620557785034, 0.4523209035396576, -0.33259832859039307, -0.3219577372074127, -0.6248828768730164, -0.9628104567527771, 0.3813730776309967, -0.3471135199069977, 0.8406810164451599, -0.3064916133880615, 1.8263828754425049, -0.640666663646698, 0.48725777864456177, 0.7200963497161865, 1.2582941055297852, 0.08859976381063461, -0.1632472723722458, 0.28421837091445923, 0.2739828824996948, 0.021146653220057487, 0.5005241632461548, 0.9462459087371826, 0.5814582705497742, 0.47574499249458313, 0.5905327796936035, -2.252469539642334, 1.3624340295791626, -1.0512340068817139, 0.1521153748035431, 1.4839515686035156, -0.8569570183753967, 0.28324049711227417, -1.6332592964172363, -0.06478705257177353, 0.7970503568649292, -2.2618892192840576, 0.40269896388053894, -1.3046624660491943, -0.567288875579834, 1.041723370552063, 0.5092328786849976, -1.1892516613006592, 0.004937147721648216, -0.49110177159309387, 1.1069377660751343, 0.3862089216709137, 0.8048167824745178, -1.7928466796875, -0.029201272875070572, -0.20873355865478516, 0.06790012866258621, -1.4807753562927246, -1.5288022756576538, 0.6119170188903809, 0.5733844041824341, 0.6752327680587769, -0.06740202009677887, 1.0721362829208374, -1.1477090120315552, 0.8981053829193115, -1.2616310119628906, -1.5480287075042725, -1.4194355010986328, -2.500572919845581, -2.2555863857269287, 0.5310522317886353, -0.4289833903312683, -0.5725064873695374, 2.165956735610962, -0.9287706017494202, -1.543876051902771, 1.2140976190567017, 0.0790824294090271, 0.22778628766536713, 2.3852293491363525, 0.25744351744651794, -0.6663802862167358, 0.3689941465854645, -0.8857192993164062, 0.6937681436538696, -0.24896039068698883, 1.2905824184417725, 0.37518420815467834, -1.1246495246887207, 1.488884687423706, -0.39389973878860474, 0.5861042737960815, -0.5957286357879639, -0.6701550483703613, -0.7381295561790466, 0.2596563398838043, 1.8308286666870117, 0.016415027901530266, 1.448353886604309, -0.3891526162624359, -1.5159446001052856, -1.6140198707580566, 0.944943368434906, 0.32971420884132385, -0.9608611464500427, 0.154310941696167, -0.5411636829376221, 0.12406647950410843, -0.2034730762243271, 1.3667571544647217, 1.2927833795547485, 0.7147974967956543, -0.5123242735862732, -0.7598071694374084, 0.043150968849658966, -0.0304764024913311, -0.8417468667030334, -1.7803800106048584, -0.21795937418937683, 0.020964903756976128, 0.679751992225647, -1.0406354665756226, 1.8637953996658325, 0.9935344457626343, 1.8890068531036377, 1.0537124872207642, -0.24366144835948944, 1.347325086593628, -0.045506641268730164, 1.8464395999908447, -0.6238133311271667, 0.6546111702919006, -0.4054601192474365, -1.089744210243225, 0.9078583717346191, -0.32142317295074463, -2.0317580699920654, -0.8405337333679199, -0.6235097050666809, -0.27751344442367554, -0.648091197013855, 0.980251133441925, -0.37258657813072205, -1.3819472789764404, 0.18383380770683289, -0.8453629016876221, 0.33079349994659424, -0.9954137206077576, 0.38920071721076965, 0.7443492412567139, -0.5981090068817139, 0.10230258852243423, -0.21256886422634125, -1.1796317100524902, -0.5436495542526245, 0.6247549653053284, 1.877002239227295, -0.5959493517875671, 0.7486739754676819, 1.0565097332000732, -0.5033858418464661, 0.07214336097240448, 0.1601288765668869, -0.2738158404827118, 0.7904535531997681, -1.0262590646743774, -0.5480368733406067, 1.2884180545806885, -0.5782122611999512, -0.7760708332061768, 1.5667190551757812, 0.6934455037117004, -1.063337802886963, -0.2185697853565216, -0.2634961009025574, -0.9143950939178467, 0.18680715560913086, -1.6368831396102905, -0.09799913316965103, 0.616765558719635, -1.5707898139953613, -0.27007678151130676, -0.04798205941915512, 1.60547935962677, -0.12860387563705444, 1.3617769479751587, -0.40221869945526123, -0.13025204837322235, -0.2392515242099762, -0.3604678213596344, 0.2607819437980652, -0.1502034068107605, -0.39989954233169556, 0.06570587307214737, -0.7397879362106323, 0.3855776786804199, 1.4424289464950562, 0.14866949617862701, 0.1429034173488617, 0.22906902432441711, 1.0523213148117065, 0.3529333174228668, 0.026796119287610054, -0.8836262822151184, -1.6058926582336426, 1.9708046913146973, -1.4119296073913574, 2.110563039779663, 0.7777451872825623, -0.08485385030508041, -1.7329221963882446, -1.8051773309707642, 1.1940250396728516, 1.014094352722168, 2.06839919090271, 0.3706703782081604, 0.29518523812294006, -0.9391424655914307, -0.7766950726509094, 0.3774687945842743, -0.9804108142852783, -0.6345269680023193, 0.13697296380996704, 2.4499857425689697, 1.6528069972991943, -0.3066628575325012, -0.1357906609773636, -0.8484912514686584, 1.4249967336654663, -0.16831296682357788, 0.30835065245628357, 2.111192464828491, -0.1961210072040558, -1.044776439666748, 1.2758092880249023, -2.4366445541381836, 0.3432203531265259, 2.2280654907226562, 0.25380972027778625, 0.3122445046901703, -1.4127968549728394, -0.5561525821685791, -0.3451822102069855, -0.3122515380382538, -1.142465591430664, 0.5951640605926514, -0.27234455943107605, -0.7310333847999573, -1.3603456020355225, 0.24399077892303467, -1.1109628677368164, -1.755542516708374, 0.3825901448726654, 1.8433353900909424, 2.123004913330078, -0.7294533252716064, 1.6365139484405518, -0.3108060657978058, 0.011512381955981255, 1.233227252960205, 1.4328068494796753, 3.019865036010742, 1.80910062789917, -1.334021806716919, 0.6172295212745667, -0.07732487469911575, -0.41467973589897156, 1.0316516160964966, -1.198337197303772, 1.3611997365951538, -0.1649135947227478, -1.1208689212799072, -1.4094442129135132, 1.010192632675171, 0.5968337059020996, 0.0036677783355116844, -0.5502515435218811, 1.2992204427719116, 0.07371877133846283, 1.3498131036758423, 0.5510297417640686, -0.28782472014427185, 0.5264831781387329, -0.6058920621871948, -0.6351349949836731, 1.4929481744766235, 0.239670068025589, -1.6507248878479004, -2.117863416671753, -0.2339681088924408, -0.7409374713897705, 0.01496361568570137, -0.6177777051925659, -1.0649641752243042, 1.5787891149520874, 0.2264733761548996, -1.3412559032440186, -0.2485211044549942, -0.2311328798532486, -0.4237080514431, 2.792872905731201, -1.2328306436538696, -0.13601940870285034, -1.0342261791229248, -0.6582840085029602, 1.6795001029968262, -1.3943328857421875, -0.3290746808052063, -1.0732848644256592, -0.6119775176048279, -1.123180866241455, -0.2933371663093567, 0.05695950239896774, -1.0347152948379517, 0.794759213924408, 0.21346606314182281, -1.1958884000778198, -0.4908325672149658, -0.8579278588294983, 1.0698511600494385, -0.13936825096607208, 0.21425239741802216, 1.7370816469192505, 0.23440922796726227, -0.45634329319000244, 0.9121362566947937, 1.135498285293579, 0.6651007533073425, -0.6075063347816467, 0.06057192385196686, -0.33757561445236206, 0.4042299687862396, -1.223233699798584, 0.46055370569229126, -3.0587079524993896, 0.6230552792549133, -0.003712750505656004, -0.1098916083574295, -0.06474275887012482, -1.477676272392273, 1.2344646453857422, 2.5520009994506836, -1.2840681076049805, 0.6487570405006409, 0.3796519935131073, 0.9617292881011963, -1.7328052520751953, 0.43592149019241333, -0.4232271611690521, 2.170123815536499, 0.2838844954967499, 1.3132610321044922, -0.4572048783302307, -2.408113956451416, 0.7598940134048462, -1.2656733989715576, -1.028656005859375, 0.7331460118293762, -0.9743383526802063, 0.2183818519115448, -1.3768922090530396, -0.311387836933136, -0.933354377746582, -1.2723475694656372, 0.5404645204544067, 0.24594402313232422, 0.375534325838089, -0.5381026864051819, 0.19055317342281342, -2.2600948810577393, -1.3503559827804565, -0.09874701499938965, -1.0634828805923462, 0.48078083992004395, -0.6060847043991089, 0.6782038807868958, -0.09859573841094971, 0.14614300429821014, 0.3739910125732422, 1.6576308012008667, 3.5375726222991943, 0.062294647097587585, 0.2231619507074356, -0.25355595350265503, -0.7376275062561035, 1.426543116569519, 0.9015876650810242, -0.024942655116319656, -0.508971095085144, -1.0195802450180054, 1.2086440324783325, 2.103754758834839, 0.8119876384735107, -0.008051710203289986, -0.8529480695724487, -0.6665716767311096, -0.1214320957660675, 0.2515571415424347, 0.647698700428009, 0.8326181173324585, 0.07890954613685608, -0.05339757353067398, 1.337599515914917, 1.112849235534668, -0.43490102887153625, 0.2237105369567871, -0.944298505783081, -0.36080899834632874, 0.3773985207080841, 0.20772424340248108, -0.23597010970115662, 0.42407068610191345, -0.7824321389198303, -0.14062774181365967, -0.4190569221973419, -0.7769681811332703, -0.7234930396080017, -0.40801993012428284, -0.5114649534225464, 1.5375492572784424, 0.21123085916042328, -0.5293089151382446, -0.018258111551404, -0.6303209662437439, -0.25341111421585083, -1.1748356819152832, 0.23515024781227112, -0.06775651127099991, -0.1747603416442871, -0.27206674218177795, 1.6589033603668213, -0.9190995693206787, -2.052255153656006, 0.15761801600456238, 0.13129949569702148, -0.2438616007566452, 0.29869091510772705, 1.7657966613769531, 0.37199831008911133, 1.485897421836853, 1.2681854963302612, 0.9879992008209229, -0.6341036558151245, -1.3509126901626587, 0.7235704660415649, 0.9281592965126038, -1.5558091402053833, 0.7990183234214783, -0.2668150067329407, -0.33442816138267517, 0.7234131097793579, 1.278639316558838, 0.6975479125976562, -1.9798108339309692, 0.8432705998420715, -1.1176762580871582, 1.0724962949752808, 0.8643546104431152, 0.5677494406700134, 0.28333500027656555, 0.9616804122924805, -1.1101984977722168, -1.0805882215499878, -0.6157866716384888, -0.9168760180473328, 1.960994005203247, -0.5890989303588867, 0.5882074236869812, 0.03614908456802368, -1.164739727973938, -0.12642520666122437, 0.7973544001579285, 0.2970396876335144, -0.4039704203605652, 0.9103642702102661, -0.7779828906059265, -0.9468023777008057, -1.1522150039672852, -0.4710267186164856, -1.0117764472961426, -1.0935931205749512, 1.0668061971664429, 0.7006813883781433, 0.3805820643901825, 1.9057782888412476, 0.5560987591743469, 0.44495633244514465, -2.433971881866455, 0.86406409740448, 0.2613371014595032, -0.025664204731583595, 0.9564641118049622, 0.31972581148147583, 1.1718785762786865, 0.12480371445417404, 0.5132280588150024, -2.3892245292663574, 2.405158042907715, -0.19185522198677063, 0.585632860660553, -0.08608632534742355, -0.1887989640235901, 1.202901840209961, 0.694079577922821, 0.4750961661338806, -0.9768039584159851, 0.7970948219299316, -0.46317458152770996, 1.204214096069336, 0.715911865234375, -0.8481921553611755, -0.11570607870817184, 1.404848575592041, 0.4008001387119293, -0.7863702774047852, -0.8421820402145386, -1.0626070499420166, 0.7539003491401672, 1.447969913482666, -0.11019867658615112, -0.19626803696155548, 0.6520376205444336, 0.6494905352592468, -1.098778486251831, 0.05961162596940994, -0.5902997255325317, -0.7993518710136414, 1.5705516338348389, 2.072950601577759, -0.15984098613262177, -0.0495222732424736, -0.7126564979553223, -1.2261077165603638, 0.7458568811416626, -0.1929989606142044, -0.10780198127031326, 0.2556551992893219, -0.4672701954841614, 0.85167396068573, 0.7936658263206482, 0.9357856512069702, 0.020736215636134148, 0.3838881254196167, 0.5123342871665955, -0.44855183362960815, -1.2628045082092285, -0.45976877212524414, -1.3058480024337769, -2.609369993209839, 0.3979567587375641, -0.3076891601085663, -1.3976919651031494, 0.022743431851267815, -1.121071696281433, 0.9513315558433533, -0.5734050273895264, -1.1110907793045044, -1.453719973564148, 0.10170154273509979, -0.07948362827301025, 0.8805125951766968, -1.5302423238754272, -0.14211603999137878, 1.2345566749572754, 0.702431857585907, -0.8074831962585449, 1.0035789012908936, 0.17982713878154755, 1.1496272087097168, 0.6749506592750549, -0.37625250220298767, 0.6215211153030396, 0.16696736216545105, -1.4225070476531982, 0.4998391270637512, 1.1382919549942017, 0.1429765224456787, 1.5469515323638916, -0.37244153022766113, 0.03265656530857086, 0.45635032653808594, -0.7216026782989502, -0.4480269253253937, -0.34968623518943787, 0.7767247557640076, 0.08998557925224304, -0.7957789897918701, -0.07571803778409958, -0.17973485589027405, -0.44385406374931335, 0.08686818182468414, -1.6526371240615845, -0.25023356080055237, -0.5367854237556458, -0.431584894657135, -1.3951853513717651, -0.1053784042596817, 1.459731101989746, -0.4951033592224121, -0.20495592057704926, 0.4058960974216461, 0.5001184940338135, 0.5057826638221741, 0.917978048324585, -0.7632805705070496, -0.3043404817581177, -0.36187833547592163, -0.133452907204628, 0.48952895402908325, 1.2911790609359741, 0.028470559045672417, -0.908668577671051, 0.6764635443687439, -0.33311349153518677, 0.22067923843860626, 1.8952564001083374, -0.008469033986330032, -0.7918221950531006, 0.3195112645626068, -0.795477569103241, 2.093852996826172, 1.6043022871017456, 1.0478858947753906, -0.1792534738779068, -1.035428524017334, 0.7560445666313171, -0.36030852794647217, -0.27725881338119507, 0.7888413667678833, 0.453647255897522, -0.45119908452033997, -1.2955029010772705, 0.9144354462623596, 1.0075762271881104, -0.8097426891326904, -0.871586263179779, 0.3116644322872162, -0.6924118399620056, 1.1202342510223389, 0.5494478940963745, 0.4817415475845337, 0.38045233488082886, 1.5882371664047241, 0.8009003400802612, -0.442187637090683, 0.5993047952651978, 0.4829050898551941, -0.31835243105888367, -2.057284355163574, -1.1920968294143677, 0.44113078713417053, -0.6835595965385437, -1.5895287990570068, 1.460440993309021, -1.1318470239639282, -1.0308998823165894, 0.5097788572311401, -0.08054985851049423, 1.2847509384155273, 0.29729607701301575, 1.6383450031280518, 1.894222617149353, 0.7712067365646362, 0.6399674415588379, 1.4105627536773682, -0.27633726596832275, -0.6465108394622803, 1.841449499130249, -0.544611930847168, 0.47126588225364685, 1.2530858516693115, -0.32955458760261536, -1.0754481554031372, -0.8271121978759766, -0.990289032459259, -0.68513423204422, 1.1411349773406982, 0.10763362795114517, -1.0798180103302002, 0.17636242508888245, 1.5583158731460571, 0.19126318395137787, -0.15736930072307587, 0.5037606358528137, 0.29109257459640503, -0.8718253970146179, -0.17063021659851074, -0.9915372729301453, 0.6018752455711365, -0.39913812279701233, -0.3323477804660797, 0.38681378960609436, 0.3761848211288452, 1.2497656345367432, -0.20075710117816925, 0.21772095561027527, 0.8691269159317017, -1.5446751117706299, 1.4514491558074951, -0.5171391367912292, 0.37706828117370605, -2.2834084033966064, 1.199303150177002, -0.5805675387382507, 2.169341802597046, -2.6856346130371094, 0.3549119830131531, -0.6174003481864929, -0.6107228994369507, 0.3900197744369507, -0.19254840910434723, 0.09606064110994339, -0.16310334205627441, -1.0142844915390015, 0.016512664034962654, -0.7166566252708435, 0.5776992440223694, 1.162144422531128, 1.2500029802322388, -0.9855551719665527, -0.17331045866012573, -1.5814412832260132, -0.2150021195411682, -0.9453226923942566, 0.2601798176765442, -1.9803720712661743, -0.09752713143825531, -1.9875487089157104, -2.268840789794922, -1.1617991924285889, -0.7221038937568665, 1.1100798845291138, 0.19219431281089783, -0.7903501391410828, 1.3214023113250732, -0.1961376965045929, -1.5681498050689697, 0.9629056453704834, -1.9053088426589966 ]
https://github.com/huggingface/datasets/issues/4379
Latest dill release raises exception
@albertvillanova I did a deep dive into @gugarosa's problem and found the issue and it might be related to the one @sgugger discovered. In dill 0.3.5(.1), I created a new `save_function` that fixes a bug in dill that prevented the pickling of recursive inner functions. It was a more complete solution to the problem that `dill._dill.stack` tried to solve in the internal API of dill. Since `dill._dill.stack` was no longer needed, I removed it. Since datasets copies the `save_function` directly from the dill API, it stops working with the new dill version since `dill._dill.stack` is no longer present and the `save_function` has been updated with new code. https://github.com/huggingface/datasets/blob/95193ae61e92aa537d0c65d37a1fd9d2393aae89/src/datasets/utils/py_utils.py#L607-L678 ~If the dill version is below 0.3.5, you should keep this function. If it is after, you would need to update your copy of `save_function` to use the code I introduced, or manually add a `stack` variable to `dill._dill` if it doesn't exist. Fortunately, in any version of Python 3.7+, dictionaries are always in insertion order and dill no longer supports Python 3.6 or older. So, any globals dictionary saved by dill 0.3.5+ will be deterministic given that the version of dill is held constant and this save_function is unnecessary for newer versions of dill.~ Ah. I see what is happening. I guess a different copy of the function code is needed that sorts the global variables by name. ```py if dill.__version__.split('.') < ['0', '3', '5']: # current save_function code inside here else: # new save_function code inside here with the following line inserted after creating the globals globs = {k: globs[k] for k in sorted(globs.keys())} ``` Will look into the test case @sgugger pointed out after that and verify if this is causing the problem. I am actually looking into rewriting the global variables code in uqfoundation/dill#466 and will keep this in mind and will try to create an easy way to modify the global variables in dill 0.3.6 (for example, sort them by key like datasets does).
## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): self.wait(timeout) if not self.ready(): raise TimeoutError if self._success: return self._value else: > raise self._value E TypeError: '>' not supported between instances of 'NoneType' and 'float' ```
751
327
Latest dill release raises exception ## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): self.wait(timeout) if not self.ready(): raise TimeoutError if self._success: return self._value else: > raise self._value E TypeError: '>' not supported between instances of 'NoneType' and 'float' ``` @albertvillanova I did a deep dive into @gugarosa's problem and found the issue and it might be related to the one @sgugger discovered. In dill 0.3.5(.1), I created a new `save_function` that fixes a bug in dill that prevented the pickling of recursive inner functions. It was a more complete solution to the problem that `dill._dill.stack` tried to solve in the internal API of dill. Since `dill._dill.stack` was no longer needed, I removed it. Since datasets copies the `save_function` directly from the dill API, it stops working with the new dill version since `dill._dill.stack` is no longer present and the `save_function` has been updated with new code. https://github.com/huggingface/datasets/blob/95193ae61e92aa537d0c65d37a1fd9d2393aae89/src/datasets/utils/py_utils.py#L607-L678 ~If the dill version is below 0.3.5, you should keep this function. If it is after, you would need to update your copy of `save_function` to use the code I introduced, or manually add a `stack` variable to `dill._dill` if it doesn't exist. Fortunately, in any version of Python 3.7+, dictionaries are always in insertion order and dill no longer supports Python 3.6 or older. So, any globals dictionary saved by dill 0.3.5+ will be deterministic given that the version of dill is held constant and this save_function is unnecessary for newer versions of dill.~ Ah. I see what is happening. I guess a different copy of the function code is needed that sorts the global variables by name. ```py if dill.__version__.split('.') < ['0', '3', '5']: # current save_function code inside here else: # new save_function code inside here with the following line inserted after creating the globals globs = {k: globs[k] for k in sorted(globs.keys())} ``` Will look into the test case @sgugger pointed out after that and verify if this is causing the problem. I am actually looking into rewriting the global variables code in uqfoundation/dill#466 and will keep this in mind and will try to create an easy way to modify the global variables in dill 0.3.6 (for example, sort them by key like datasets does).
[ -1.2255946397781372, -0.8992648720741272, -0.6926354169845581, 1.4929041862487793, -0.07509728521108627, -1.2130564451217651, 0.1971806436777115, -1.0200273990631104, 1.6665928363800049, -0.8009018898010254, 0.2736596465110779, -1.5651130676269531, 0.08237718045711517, -0.6407243013381958, -0.7543413639068604, -0.8124188780784607, -0.3347501754760742, -0.8381386995315552, 1.1045101881027222, 2.480435848236084, 1.2416847944259644, -1.3706846237182617, 2.6640725135803223, 0.6479908227920532, -0.1947549432516098, -0.99342280626297, 0.43927907943725586, -0.07576269656419754, -1.300396203994751, -0.5114291906356812, -0.8938480019569397, -0.026524357497692108, -0.5712162852287292, -0.4768505096435547, -0.013766692951321602, 0.37049853801727295, -0.35593026876449585, -0.41515740752220154, -0.5307576656341553, -0.8371206521987915, 0.4257233738899231, -0.3587166666984558, 0.9168282747268677, -0.2514941692352295, 1.8607701063156128, -0.5688557028770447, 0.49873578548431396, 0.7725927233695984, 1.269342303276062, 0.14856861531734467, -0.09544835984706879, 0.304482638835907, 0.36104053258895874, 0.015057711862027645, 0.41198715567588806, 1.120728850364685, 0.6939262747764587, 0.49230337142944336, 0.7081847786903381, -2.2494566440582275, 1.3647884130477905, -1.0123955011367798, 0.20663361251354218, 1.391088604927063, -0.87385493516922, 0.287773072719574, -1.750180721282959, -0.003596976399421692, 0.6611363291740417, -2.3374311923980713, 0.30683133006095886, -1.38311767578125, -0.5189628601074219, 1.0254877805709839, 0.35554736852645874, -1.1722544431686401, 0.1465141624212265, -0.4478263854980469, 1.0789498090744019, 0.42418333888053894, 1.0362074375152588, -1.7494782209396362, -0.1290377378463745, -0.2683757245540619, 0.1425747573375702, -1.290420651435852, -1.6213334798812866, 0.5375839471817017, 0.6552049517631531, 0.6443442702293396, -0.11990609019994736, 1.055977463722229, -1.0139765739440918, 0.8076836466789246, -1.0569167137145996, -1.594633936882019, -1.4240773916244507, -2.297818422317505, -2.2804410457611084, 0.6634801626205444, -0.5046412944793701, -0.5172017216682434, 2.103922128677368, -0.9811872839927673, -1.6607152223587036, 1.1591075658798218, 0.21123665571212769, 0.048571255058050156, 2.349851608276367, 0.23514144122600555, -0.7059510946273804, 0.4119654595851898, -0.745095431804657, 0.744167149066925, -0.3368496596813202, 1.3169625997543335, 0.42571520805358887, -1.0998338460922241, 1.4989118576049805, -0.4362075626850128, 0.617027997970581, -0.6697983741760254, -0.5922277569770813, -0.7421809434890747, 0.37002435326576233, 1.8273695707321167, -0.17993195354938507, 1.54742431640625, -0.42037224769592285, -1.6115421056747437, -1.6423982381820679, 0.9273101687431335, 0.43090710043907166, -0.8579883575439453, 0.14265228807926178, -0.460529625415802, 0.07349418848752975, -0.14240004122257233, 1.2419672012329102, 1.323348879814148, 0.701876163482666, -0.36312341690063477, -0.8271551728248596, 0.12649758160114288, -0.14480632543563843, -0.7609342932701111, -1.7514537572860718, -0.31005868315696716, 0.128989577293396, 0.6258306503295898, -1.1410914659500122, 1.7911896705627441, 0.9292459487915039, 1.9407105445861816, 1.03797447681427, -0.38016951084136963, 1.4181801080703735, 0.08227507770061493, 1.9166127443313599, -0.55235755443573, 0.6481980085372925, -0.3598930537700653, -1.0996952056884766, 0.8802282214164734, -0.3490772545337677, -2.0721094608306885, -0.699112057685852, -0.7000918984413147, -0.23500750958919525, -0.6876048445701599, 0.920108437538147, -0.33457615971565247, -1.4561876058578491, 0.20799238979816437, -0.7444166541099548, 0.22008632123470306, -1.129815936088562, 0.3262062072753906, 0.8076885342597961, -0.702528715133667, 0.07018625736236572, -0.2107655555009842, -1.2682102918624878, -0.48570922017097473, 0.503167450428009, 1.859566569328308, -0.5684180855751038, 0.8626118898391724, 1.1427720785140991, -0.5850009322166443, 0.037034373730421066, 0.27466607093811035, -0.2549259662628174, 0.8167629837989807, -1.0919849872589111, -0.3545091450214386, 1.2386330366134644, -0.3447369337081909, -0.6254865527153015, 1.4521186351776123, 0.6745396256446838, -1.0493085384368896, -0.204342320561409, -0.19288118183612823, -0.8550859093666077, 0.10179206728935242, -1.5968713760375977, -0.0871826559305191, 0.44819703698158264, -1.589255452156067, -0.41541698575019836, -0.2151658982038498, 1.4308141469955444, -0.1599339246749878, 1.3831878900527954, -0.3644903004169464, -0.16417373716831207, -0.3240979313850403, -0.33415794372558594, 0.20235979557037354, -0.19729338586330414, -0.5516459345817566, 0.14804555475711823, -0.7695395350456238, 0.3405129015445709, 1.4433001279830933, 0.1943608671426773, 0.11589880287647247, 0.3896434009075165, 1.1061289310455322, 0.35812437534332275, -0.018528584390878677, -0.8495566248893738, -1.5890051126480103, 2.0330114364624023, -1.4703459739685059, 2.013115406036377, 0.8043769598007202, -0.04223126545548439, -1.7449337244033813, -1.825889229774475, 1.3030486106872559, 1.0418635606765747, 2.3407680988311768, 0.5065149664878845, 0.3819834887981415, -0.863462507724762, -0.6707762479782104, 0.3555348217487335, -0.98638916015625, -0.7172413468360901, 0.18828049302101135, 2.4021334648132324, 1.6205638647079468, -0.4221315085887909, -0.19205212593078613, -0.9140740633010864, 1.362966775894165, -0.2170817255973816, 0.22333753108978271, 2.010730028152466, -0.21697136759757996, -1.0596741437911987, 1.3058314323425293, -2.3636276721954346, 0.27907103300094604, 2.08378005027771, 0.1924978494644165, 0.16846872866153717, -1.46638822555542, -0.5203027129173279, -0.2624371647834778, -0.4039570391178131, -1.1936136484146118, 0.5133793950080872, -0.2599484324455261, -0.7715458869934082, -1.4593228101730347, 0.18090316653251648, -1.093411922454834, -1.7147762775421143, 0.2655547261238098, 1.8923757076263428, 1.970651388168335, -0.7514551877975464, 1.5800261497497559, -0.29918336868286133, 0.048421405255794525, 1.2509006261825562, 1.2860180139541626, 3.1129419803619385, 1.8817732334136963, -1.2990291118621826, 0.6202033758163452, -0.17036131024360657, -0.5024330615997314, 1.066232681274414, -1.207755446434021, 1.359263300895691, -0.16831113398075104, -1.1577634811401367, -1.3267816305160522, 0.9744190573692322, 0.523004412651062, 0.05567161366343498, -0.5299169421195984, 1.3101067543029785, 0.08984345942735672, 1.2737067937850952, 0.5430722236633301, -0.36299288272857666, 0.6223405599594116, -0.4666387140750885, -0.595690906047821, 1.4898531436920166, 0.2362591177225113, -1.4943768978118896, -2.2078335285186768, -0.29809853434562683, -0.8464382290840149, 0.07592828571796417, -0.6370019912719727, -1.0450156927108765, 1.6560630798339844, 0.2914711534976959, -1.2496943473815918, -0.2586163282394409, -0.3419962525367737, -0.534656822681427, 2.719240665435791, -1.3223588466644287, -0.15840493142604828, -0.9943712949752808, -0.6167824864387512, 1.5968478918075562, -1.2879618406295776, -0.3029026389122009, -1.0249998569488525, -0.5926669239997864, -1.162462830543518, -0.4233485162258148, -0.0336693711578846, -0.9184563755989075, 0.8120661377906799, 0.2694039046764374, -1.1625350713729858, -0.3573148846626282, -0.8403517007827759, 0.9609007239341736, -0.1018461212515831, 0.16625484824180603, 1.8452850580215454, 0.3534071445465088, -0.4141726791858673, 0.7702801823616028, 1.115004301071167, 0.6028556823730469, -0.5697904229164124, 0.17170117795467377, -0.5282111763954163, 0.26824721693992615, -1.3241231441497803, 0.4065486192703247, -2.871134042739868, 0.6001291871070862, -0.016046032309532166, -0.07878854125738144, -0.07252788543701172, -1.4128683805465698, 1.1177735328674316, 2.607114315032959, -1.1641610860824585, 0.5141676664352417, 0.3662278354167938, 1.1337075233459473, -1.626690149307251, 0.3550911545753479, -0.42524680495262146, 2.1665985584259033, 0.2929283380508423, 1.2249683141708374, -0.48950329422950745, -2.4061169624328613, 0.6216632723808289, -1.2213356494903564, -1.1048790216445923, 0.8282605409622192, -0.8458436727523804, 0.06603174656629562, -1.3644477128982544, -0.25007906556129456, -0.8656373620033264, -1.2738324403762817, 0.6948521733283997, 0.1997978240251541, 0.461014986038208, -0.6276641488075256, 0.26144033670425415, -2.207486867904663, -1.388956904411316, -0.2166224867105484, -1.0051912069320679, 0.5016402006149292, -0.39048951864242554, 0.6859984397888184, -0.15488898754119873, 0.036540623754262924, 0.36029690504074097, 1.5416654348373413, 3.410064220428467, 0.19491085410118103, 0.3019859194755554, -0.18810343742370605, -0.86318039894104, 1.414585828781128, 0.8794100284576416, -0.10409638285636902, -0.5778051018714905, -1.028676152229309, 1.1644424200057983, 2.081007242202759, 0.9741983413696289, -0.012645442970097065, -0.8319571018218994, -0.7340090274810791, 0.016422752290964127, 0.17782092094421387, 0.5099833011627197, 0.8877255320549011, 0.12264475226402283, 0.02850508689880371, 1.3502652645111084, 1.0896002054214478, -0.4021323323249817, 0.3909218907356262, -0.8525059819221497, -0.43706056475639343, 0.4194623827934265, 0.31589338183403015, -0.10549052804708481, 0.4060015380382538, -0.9678905606269836, -0.2184445559978485, -0.4292794466018677, -0.8554393649101257, -0.7287074327468872, -0.4258481562137604, -0.3155875504016876, 1.6331703662872314, 0.15761873126029968, -0.5147567987442017, 0.022521991282701492, -0.724335789680481, -0.21667304635047913, -1.0855222940444946, 0.2703174352645874, -0.13604609668254852, -0.15221361815929413, -0.08084521442651749, 1.6753071546554565, -0.9069103598594666, -2.036479949951172, 0.18465973436832428, 0.1339501589536667, -0.34561946988105774, 0.26793351769447327, 1.7146904468536377, 0.49532967805862427, 1.4640207290649414, 1.327850103378296, 0.9918711185455322, -0.63215571641922, -1.302402377128601, 0.6870593428611755, 0.9103330969810486, -1.47176992893219, 0.7980924248695374, -0.17529430985450745, -0.472110390663147, 0.6462885737419128, 1.2909691333770752, 0.5004739761352539, -2.068371295928955, 0.8139379620552063, -0.974031925201416, 0.8653494119644165, 0.7327404618263245, 0.6653526425361633, 0.2103724181652069, 0.8816038966178894, -1.1873817443847656, -1.148820400238037, -0.6622375249862671, -0.804823637008667, 1.9865299463272095, -0.3380970060825348, 0.6163832545280457, -0.10084708780050278, -1.2848554849624634, -0.11050153523683548, 0.7763961553573608, 0.3897412121295929, -0.4868233799934387, 0.8610119819641113, -0.7449983954429626, -1.0269043445587158, -1.2717134952545166, -0.5197640061378479, -1.0263525247573853, -0.9880896806716919, 1.0306555032730103, 0.7498618960380554, 0.35708701610565186, 1.8747172355651855, 0.6630136966705322, 0.37377822399139404, -2.5538618564605713, 0.8268502950668335, 0.3187573254108429, -0.12172601372003555, 0.9597293138504028, 0.3367675244808197, 1.0646759271621704, 0.0824538990855217, 0.581240713596344, -2.4660861492156982, 2.349811553955078, -0.24626494944095612, 0.6750272512435913, -0.03608375042676926, -0.26694419980049133, 1.1280683279037476, 0.6326620578765869, 0.5448952317237854, -1.1134768724441528, 0.7270486950874329, -0.560519814491272, 1.2160435914993286, 0.7754241824150085, -0.8903672099113464, -0.02265600860118866, 1.4224897623062134, 0.37349095940589905, -0.6121892929077148, -0.8491073250770569, -1.1189295053482056, 0.8062629103660583, 1.607040524482727, -0.12016938626766205, 0.004830432124435902, 0.7582730650901794, 0.6839616298675537, -1.246856451034546, 0.13460217416286469, -0.6748469471931458, -0.8241844177246094, 1.5861129760742188, 2.04258131980896, -0.12949638068675995, -0.14208845794200897, -0.7344775199890137, -1.2146742343902588, 0.7678160071372986, -0.058852940797805786, 0.029309649020433426, 0.4320109188556671, -0.619795560836792, 0.981745183467865, 0.8735005855560303, 0.9721999764442444, 0.10715562105178833, 0.3720102906227112, 0.48301494121551514, -0.43610233068466187, -1.1751011610031128, -0.34251609444618225, -1.16562020778656, -2.546865701675415, 0.4105969965457916, -0.21123206615447998, -1.5338183641433716, 0.05227624624967575, -1.0187251567840576, 0.8567894697189331, -0.6466346383094788, -1.1488088369369507, -1.4937388896942139, 0.16317661106586456, -0.08066461980342865, 0.9318214654922485, -1.5087908506393433, -0.16496501863002777, 1.1667263507843018, 0.8424519896507263, -0.6745238304138184, 0.9664537310600281, 0.1999831199645996, 1.0936520099639893, 0.8622158169746399, -0.38363832235336304, 0.5645192265510559, 0.18804839253425598, -1.3911997079849243, 0.43669652938842773, 1.1786259412765503, 0.1955701857805252, 1.521784782409668, -0.5380006432533264, 0.00923957023769617, 0.4207806885242462, -0.6400558948516846, -0.4734923839569092, -0.48788562417030334, 0.7142493724822998, 0.009451993741095066, -0.8516597151756287, 0.040357403457164764, -0.13409380614757538, -0.2696243226528168, 0.188127338886261, -1.5945324897766113, -0.24554766714572906, -0.4361386001110077, -0.5233786106109619, -1.3256192207336426, -0.05713055655360222, 1.4188055992126465, -0.6545699238777161, -0.20455153286457062, 0.4269111752510071, 0.4924895763397217, 0.4565681517124176, 0.6960270404815674, -0.6829277873039246, -0.3393799066543579, -0.2870691418647766, -0.3626781105995178, 0.441832572221756, 1.3290613889694214, -0.05878422036767006, -0.9038224220275879, 0.7170034646987915, -0.41510748863220215, 0.11259105056524277, 1.9096916913986206, 0.07454655319452286, -0.798507034778595, 0.3079623281955719, -0.7079719305038452, 1.9793530702590942, 1.690300703048706, 1.264223575592041, -0.1520136594772339, -1.0016400814056396, 0.689749002456665, -0.37392163276672363, -0.37115511298179626, 0.9503275156021118, 0.4861423373222351, -0.3188033103942871, -1.3308385610580444, 0.7838084101676941, 1.221624493598938, -0.877889096736908, -0.8471535444259644, 0.1627226024866104, -0.7072960138320923, 1.1217752695083618, 0.6398501992225647, 0.40854692459106445, 0.23201727867126465, 1.6817642450332642, 0.8026980757713318, -0.45218852162361145, 0.6423278450965881, 0.4695877730846405, -0.16268104314804077, -2.1277694702148438, -1.1711698770523071, 0.32958245277404785, -0.46949124336242676, -1.587056279182434, 1.4220579862594604, -1.1862640380859375, -1.0339632034301758, 0.4569501578807831, 0.02594912052154541, 1.3767575025558472, 0.31535574793815613, 1.627139687538147, 2.1132733821868896, 0.8162427544593811, 0.49691593647003174, 1.2929624319076538, -0.18757066130638123, -0.5480321645736694, 1.8484742641448975, -0.47334685921669006, 0.46709656715393066, 1.2111619710922241, -0.349060982465744, -1.0756964683532715, -0.8300463557243347, -1.179126262664795, -0.6280817985534668, 1.1856731176376343, 0.04638241231441498, -1.102409839630127, 0.3376486301422119, 1.6484328508377075, 0.1240854561328888, -0.28075045347213745, 0.6459001898765564, 0.41316166520118713, -0.8069313764572144, -0.14904575049877167, -0.9941586852073669, 0.5332055687904358, -0.29721906781196594, -0.3626227080821991, 0.38234931230545044, 0.4231294095516205, 1.2761750221252441, -0.0890006497502327, 0.16526566445827484, 1.0227864980697632, -1.4673967361450195, 1.4940831661224365, -0.6511538624763489, 0.33462056517601013, -2.2803404331207275, 1.2743470668792725, -0.6358436346054077, 2.0138094425201416, -2.606048107147217, 0.4248693883419037, -0.5948997139930725, -0.5455334186553955, 0.3979850113391876, -0.2539501488208771, 0.0733088031411171, -0.19407859444618225, -1.0776621103286743, -0.05236910656094551, -0.7324775457382202, 0.6078981757164001, 1.1703413724899292, 1.344527244567871, -1.0359055995941162, -0.2167406678199768, -1.6778212785720825, -0.18002909421920776, -0.8382508754730225, 0.281349778175354, -1.8907358646392822, -0.1602863222360611, -2.031061887741089, -2.37372088432312, -1.2446198463439941, -0.8092336654663086, 1.0460048913955688, 0.1673298329114914, -0.8639162182807922, 1.2454040050506592, -0.2957605719566345, -1.737091302871704, 1.004760503768921, -2.0278751850128174 ]
https://github.com/huggingface/datasets/issues/4379
Latest dill release raises exception
Thanks a lot for your investigation @anivegesana. Yes, we copied-pasted the old `save_function` function from `dill`, just adding a line to make deterministic the order of global variables `globs`. However, this function has changed a lot from version 0.3.5, after your PR (thank you for the fix in recursiveness, indeed): - uqfoundation/dill#443 We have to address this change. If finally your PR to sort global variables is merged into dill 0.3.6, that will make our life easier, as the tweak will no longer be necessary. ;) I have included a regression test so that we are sure future releases of dill do not break `datasets`: - #4385
## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): self.wait(timeout) if not self.ready(): raise TimeoutError if self._success: return self._value else: > raise self._value E TypeError: '>' not supported between instances of 'NoneType' and 'float' ```
751
107
Latest dill release raises exception ## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): self.wait(timeout) if not self.ready(): raise TimeoutError if self._success: return self._value else: > raise self._value E TypeError: '>' not supported between instances of 'NoneType' and 'float' ``` Thanks a lot for your investigation @anivegesana. Yes, we copied-pasted the old `save_function` function from `dill`, just adding a line to make deterministic the order of global variables `globs`. However, this function has changed a lot from version 0.3.5, after your PR (thank you for the fix in recursiveness, indeed): - uqfoundation/dill#443 We have to address this change. If finally your PR to sort global variables is merged into dill 0.3.6, that will make our life easier, as the tweak will no longer be necessary. ;) I have included a regression test so that we are sure future releases of dill do not break `datasets`: - #4385
[ -1.1867324113845825, -0.9131833910942078, -0.6666879653930664, 1.604217529296875, -0.13851337134838104, -1.2304669618606567, 0.16067668795585632, -1.0760917663574219, 1.5788607597351074, -0.8221644163131714, 0.3662334680557251, -1.5388507843017578, 0.12920497357845306, -0.7196709513664246, -0.7086942195892334, -0.8365586400032043, -0.3835884928703308, -0.7954094409942627, 1.1482301950454712, 2.470864772796631, 1.2667396068572998, -1.375248908996582, 2.622871160507202, 0.7194170355796814, -0.2093680053949356, -1.011407494544983, 0.4116246700286865, -0.03709118068218231, -1.2034529447555542, -0.5151874423027039, -0.8562967777252197, -0.12458702176809311, -0.6601662039756775, -0.3600744903087616, -0.0682341679930687, 0.40756556391716003, -0.3506505489349365, -0.36943161487579346, -0.5337318778038025, -0.9217962026596069, 0.39782506227493286, -0.3876429498195648, 0.8597581386566162, -0.28011956810951233, 1.83343505859375, -0.641960859298706, 0.5071908831596375, 0.7158027291297913, 1.2647894620895386, 0.19883163273334503, -0.11791851371526718, 0.3041922450065613, 0.2809599041938782, -0.014380283653736115, 0.47060930728912354, 0.9988409876823425, 0.692969799041748, 0.4750121831893921, 0.6901757121086121, -2.208629608154297, 1.3469640016555786, -1.1072440147399902, 0.19188256561756134, 1.4152284860610962, -0.8943950533866882, 0.3431724011898041, -1.7147377729415894, -0.0711829736828804, 0.6985584497451782, -2.2552053928375244, 0.3345237672328949, -1.280676007270813, -0.5222920775413513, 1.0595394372940063, 0.42944052815437317, -1.2336292266845703, 0.11484605073928833, -0.4446052312850952, 1.06995689868927, 0.4131305515766144, 0.9190570712089539, -1.7894458770751953, -0.04408872500061989, -0.27279046177864075, 0.1366550326347351, -1.3654299974441528, -1.5097882747650146, 0.5897870063781738, 0.6234330534934998, 0.5989264249801636, -0.10621241480112076, 1.0528415441513062, -1.0599243640899658, 0.8364094495773315, -1.1924411058425903, -1.581993818283081, -1.4337490797042847, -2.396270275115967, -2.3429527282714844, 0.6500250697135925, -0.46452271938323975, -0.5848540663719177, 2.1196091175079346, -0.9508960843086243, -1.5953510999679565, 1.1904478073120117, 0.2056305706501007, 0.049533311277627945, 2.4376683235168457, 0.18566176295280457, -0.6751981377601624, 0.39249205589294434, -0.8421144485473633, 0.7503429651260376, -0.34802448749542236, 1.3364912271499634, 0.37166935205459595, -1.1384899616241455, 1.5184673070907593, -0.4452867805957794, 0.5845911502838135, -0.640860915184021, -0.6031856536865234, -0.7244921326637268, 0.357679545879364, 1.8488011360168457, -0.09755513072013855, 1.5286072492599487, -0.3715890049934387, -1.5364673137664795, -1.590286374092102, 0.9170798659324646, 0.3125697076320648, -0.9201794266700745, 0.22768333554267883, -0.4466326832771301, 0.10281401872634888, -0.11908691376447678, 1.2174956798553467, 1.3156681060791016, 0.6939981579780579, -0.40817248821258545, -0.8349749445915222, 0.09885815531015396, -0.11449044197797775, -0.8270829916000366, -1.7603683471679688, -0.3109959661960602, 0.01658923551440239, 0.6382976174354553, -1.1334590911865234, 1.8477247953414917, 0.9354624152183533, 1.9185035228729248, 1.0576449632644653, -0.34145963191986084, 1.3965193033218384, 0.027270779013633728, 1.866845965385437, -0.605141282081604, 0.7300277352333069, -0.40522709488868713, -1.153832197189331, 0.911044716835022, -0.31696322560310364, -2.051717758178711, -0.7505217790603638, -0.6524004340171814, -0.21440386772155762, -0.7152856588363647, 0.9469125866889954, -0.2568454444408417, -1.4186903238296509, 0.26923438906669617, -0.7663226127624512, 0.24932827055454254, -1.1587960720062256, 0.398830384016037, 0.7757802605628967, -0.5915976166725159, 0.10128805041313171, -0.2359207272529602, -1.2472394704818726, -0.49597135186195374, 0.47340527176856995, 1.8560749292373657, -0.6269084811210632, 0.7617642879486084, 1.0596208572387695, -0.5472385883331299, -0.0014431709423661232, 0.2851327955722809, -0.31506597995758057, 0.7906848788261414, -1.0087288618087769, -0.5124921798706055, 1.2832982540130615, -0.40675556659698486, -0.6837824583053589, 1.4803444147109985, 0.6869420409202576, -1.045926570892334, -0.14455081522464752, -0.24336464703083038, -0.9444092512130737, 0.14075203239917755, -1.6548130512237549, -0.07801977545022964, 0.49716487526893616, -1.5913032293319702, -0.3475741147994995, -0.0911625325679779, 1.4567747116088867, -0.12491675466299057, 1.3928287029266357, -0.4755811095237732, -0.12801124155521393, -0.3593730628490448, -0.3334903120994568, 0.24045903980731964, -0.19141997396945953, -0.48042184114456177, 0.14113524556159973, -0.7289825677871704, 0.3761732578277588, 1.4323657751083374, 0.1607484370470047, 0.12890785932540894, 0.3155287206172943, 1.0320770740509033, 0.33951491117477417, -0.04170817509293556, -0.8513547778129578, -1.5393140316009521, 2.0303919315338135, -1.3956339359283447, 2.052539348602295, 0.8016892075538635, 0.012352672405540943, -1.7516603469848633, -1.7907121181488037, 1.2543121576309204, 1.1010456085205078, 2.175309419631958, 0.4585205018520355, 0.3279116749763489, -0.908083438873291, -0.6504573822021484, 0.3346509337425232, -1.0497184991836548, -0.6892032027244568, 0.1474883258342743, 2.4608840942382812, 1.6750507354736328, -0.39398476481437683, -0.16546496748924255, -0.9213712215423584, 1.4533898830413818, -0.21187396347522736, 0.2418970912694931, 2.0409040451049805, -0.2359807938337326, -1.037424087524414, 1.299692988395691, -2.442875862121582, 0.26690927147865295, 2.112473964691162, 0.2727374732494354, 0.2431492954492569, -1.369969129562378, -0.5954275727272034, -0.29175108671188354, -0.35260269045829773, -1.1129037141799927, 0.4956721365451813, -0.2264097034931183, -0.713908851146698, -1.4448609352111816, 0.21823641657829285, -1.138641595840454, -1.7055127620697021, 0.3375847041606903, 1.7807421684265137, 2.0186893939971924, -0.7367374300956726, 1.603582739830017, -0.3142790198326111, 0.060241930186748505, 1.2406264543533325, 1.339552640914917, 3.076744318008423, 1.8673886060714722, -1.3204180002212524, 0.5922003984451294, -0.12619471549987793, -0.4633599817752838, 1.047903060913086, -1.2576227188110352, 1.3566316366195679, -0.15300042927265167, -1.1185261011123657, -1.3375279903411865, 0.969362199306488, 0.5264599919319153, 0.06800004094839096, -0.5408427715301514, 1.2266845703125, 0.10353267192840576, 1.34280264377594, 0.5540673136711121, -0.30279800295829773, 0.5093635320663452, -0.5544422268867493, -0.5946064591407776, 1.5340603590011597, 0.261829137802124, -1.5420944690704346, -2.1854567527770996, -0.23772817850112915, -0.7950447201728821, 0.027828119695186615, -0.6421750783920288, -0.9953892230987549, 1.5924029350280762, 0.28025737404823303, -1.2830932140350342, -0.2582467198371887, -0.2833636403083801, -0.47939062118530273, 2.788376808166504, -1.3897807598114014, -0.18293704092502594, -0.9970519542694092, -0.6684257984161377, 1.6179300546646118, -1.3070765733718872, -0.26398494839668274, -1.0751407146453857, -0.5869342088699341, -1.1661165952682495, -0.38215118646621704, -0.025097128003835678, -0.9543701410293579, 0.8258653879165649, 0.23737630248069763, -1.2356613874435425, -0.46944037079811096, -0.9018351435661316, 0.9381166100502014, -0.07612350583076477, 0.23615233600139618, 1.75114107131958, 0.31322601437568665, -0.4223577082157135, 0.8249936103820801, 1.167736530303955, 0.6661608219146729, -0.5826722383499146, 0.13419516384601593, -0.4474753141403198, 0.36099696159362793, -1.2186988592147827, 0.4207524359226227, -2.954005718231201, 0.6409198641777039, 0.004783078096807003, -0.07450823485851288, -0.07076448947191238, -1.4428635835647583, 1.2087411880493164, 2.592952013015747, -1.196517825126648, 0.5963263511657715, 0.36390435695648193, 1.076000690460205, -1.689184308052063, 0.417888343334198, -0.41572627425193787, 2.2295045852661133, 0.24712572991847992, 1.2366615533828735, -0.4682201147079468, -2.4372851848602295, 0.664108395576477, -1.2669010162353516, -1.0959839820861816, 0.7784518003463745, -0.9644635319709778, 0.08943168818950653, -1.3798106908798218, -0.26617398858070374, -0.8651200532913208, -1.261825442314148, 0.6369518637657166, 0.19755563139915466, 0.4494844079017639, -0.5806182622909546, 0.2574966549873352, -2.2411718368530273, -1.3523247241973877, -0.18245068192481995, -0.9618110060691833, 0.4356060028076172, -0.49535250663757324, 0.6921149492263794, -0.11508350819349289, 0.07645221799612045, 0.3505018651485443, 1.5895891189575195, 3.4598989486694336, 0.12337414920330048, 0.32967111468315125, -0.2227824330329895, -0.824164867401123, 1.3613429069519043, 0.8250773549079895, -0.07175887376070023, -0.5420125722885132, -0.9848434329032898, 1.1981998682022095, 2.0528130531311035, 0.9295727014541626, -0.015167410485446453, -0.792044997215271, -0.6851895451545715, -0.07386957108974457, 0.24772672355175018, 0.5448052287101746, 0.8763178586959839, 0.0704081729054451, 0.006623602472245693, 1.38284170627594, 1.1417856216430664, -0.44235116243362427, 0.2665479779243469, -0.8536098003387451, -0.4220145046710968, 0.4283957779407501, 0.31166762113571167, -0.10080587863922119, 0.40234097838401794, -0.8834888339042664, -0.2172103077173233, -0.36740678548812866, -0.8159795999526978, -0.7415605187416077, -0.4582189619541168, -0.4121550917625427, 1.610434651374817, 0.13789471983909607, -0.48595085740089417, 0.0032858802005648613, -0.6943439245223999, -0.13248659670352936, -1.1341010332107544, 0.20092082023620605, -0.053447190672159195, -0.18303245306015015, -0.18692311644554138, 1.7166203260421753, -0.9156787991523743, -2.054734468460083, 0.214095339179039, 0.16431351006031036, -0.2743857502937317, 0.2026917189359665, 1.7609902620315552, 0.3849754333496094, 1.5305708646774292, 1.2843626737594604, 1.0224802494049072, -0.6547102928161621, -1.3098032474517822, 0.7422971129417419, 0.9925872683525085, -1.47028386592865, 0.7936325073242188, -0.07668444514274597, -0.3871477246284485, 0.6091611981391907, 1.2057949304580688, 0.6093419790267944, -2.0109782218933105, 0.8224018216133118, -1.0626858472824097, 0.935292661190033, 0.7651515007019043, 0.5886173248291016, 0.20746469497680664, 0.8706427812576294, -1.1786218881607056, -1.1192630529403687, -0.6253451704978943, -0.7835753560066223, 1.968792200088501, -0.42760902643203735, 0.6165276765823364, -0.055060289800167084, -1.2886731624603271, -0.07513584196567535, 0.8136959671974182, 0.33011114597320557, -0.509116530418396, 0.8775070905685425, -0.7076979875564575, -1.0161076784133911, -1.2734538316726685, -0.4649621546268463, -1.0355182886123657, -0.9773262739181519, 1.0511059761047363, 0.7755426168441772, 0.2773480713367462, 1.8892072439193726, 0.6150341629981995, 0.37114500999450684, -2.4871938228607178, 0.8380162715911865, 0.2671838402748108, -0.09841886162757874, 0.9115793108940125, 0.32749226689338684, 1.0410748720169067, 0.0696442648768425, 0.5234497785568237, -2.448615074157715, 2.3942809104919434, -0.1997452825307846, 0.6484248042106628, -0.023905828595161438, -0.18761593103408813, 1.179606318473816, 0.6364157795906067, 0.4917210638523102, -1.0110018253326416, 0.6831231117248535, -0.5188663005828857, 1.2536574602127075, 0.7787860035896301, -0.8472388982772827, -0.10228720307350159, 1.3503776788711548, 0.38287824392318726, -0.6699178814888, -0.9153962731361389, -1.0375462770462036, 0.8359183073043823, 1.5978668928146362, -0.1042436808347702, -0.1306106001138687, 0.7233343720436096, 0.6912636756896973, -1.2077029943466187, 0.11562952399253845, -0.6946775913238525, -0.8331806063652039, 1.5651803016662598, 2.06492018699646, -0.17017728090286255, -0.11245966702699661, -0.7406914830207825, -1.2457681894302368, 0.788266658782959, -0.08082246035337448, 0.0005027130246162415, 0.42782875895500183, -0.5375134348869324, 0.9754543900489807, 0.8698377013206482, 0.9150071144104004, 0.19792242348194122, 0.3090057969093323, 0.48543745279312134, -0.4397619068622589, -1.1955211162567139, -0.350643128156662, -1.2275274991989136, -2.5950567722320557, 0.46771863102912903, -0.25064077973365784, -1.485595703125, 0.024556774646043777, -1.0743131637573242, 0.8766483664512634, -0.5392044186592102, -1.1428320407867432, -1.505751371383667, 0.16656632721424103, -0.07455015927553177, 0.9099031090736389, -1.538738489151001, -0.0746106430888176, 1.21595299243927, 0.7369421124458313, -0.6964771747589111, 0.9340507984161377, 0.21739709377288818, 1.1348786354064941, 0.8515744209289551, -0.3463820219039917, 0.5463113188743591, 0.14263352751731873, -1.4071714878082275, 0.419879287481308, 1.2150194644927979, 0.1896105706691742, 1.4904271364212036, -0.4905412495136261, 0.02582000195980072, 0.36705437302589417, -0.6304579377174377, -0.48656755685806274, -0.499843031167984, 0.7427462339401245, 0.08088613301515579, -0.8353352546691895, -0.03028031438589096, -0.13316623866558075, -0.35304269194602966, 0.13975639641284943, -1.612290859222412, -0.18603675067424774, -0.4313250482082367, -0.5033131241798401, -1.3298379182815552, -0.13039109110832214, 1.4795610904693604, -0.5743569731712341, -0.18988819420337677, 0.45179611444473267, 0.46197307109832764, 0.49557313323020935, 0.793978214263916, -0.6498475074768066, -0.3480931222438812, -0.28424182534217834, -0.22140802443027496, 0.42980295419692993, 1.3213248252868652, -0.012789801694452763, -0.9111302495002747, 0.7320789098739624, -0.34763023257255554, 0.14241862297058105, 1.9139631986618042, 0.09917773306369781, -0.8247799873352051, 0.36508119106292725, -0.7175463438034058, 1.9675652980804443, 1.708693504333496, 1.1442667245864868, -0.13025732338428497, -1.0822389125823975, 0.7637803554534912, -0.3561014235019684, -0.3471185863018036, 0.8352543115615845, 0.4177257716655731, -0.3628263771533966, -1.3429380655288696, 0.8156184554100037, 1.129804253578186, -0.8103978633880615, -0.9374104142189026, 0.23510773479938507, -0.7573632001876831, 1.1268569231033325, 0.6120404005050659, 0.48245707154273987, 0.3114786744117737, 1.6511030197143555, 0.8036161661148071, -0.4909997284412384, 0.6281687021255493, 0.47353434562683105, -0.3030380606651306, -2.05462908744812, -1.2135248184204102, 0.3490964472293854, -0.6209677457809448, -1.5850332975387573, 1.4466392993927002, -1.1731895208358765, -1.0290918350219727, 0.5221383571624756, -0.03352446109056473, 1.3197554349899292, 0.2867541015148163, 1.5938235521316528, 2.0267586708068848, 0.815030574798584, 0.5435724258422852, 1.374795913696289, -0.23434464633464813, -0.5807871222496033, 1.8519428968429565, -0.4576566815376282, 0.47738683223724365, 1.2602404356002808, -0.288792222738266, -1.0353894233703613, -0.8375952839851379, -1.0399891138076782, -0.7285515666007996, 1.2247930765151978, 0.06443847715854645, -1.0375903844833374, 0.29116368293762207, 1.651673436164856, 0.0927523672580719, -0.2527788579463959, 0.5458516478538513, 0.3977537453174591, -0.8633358478546143, -0.12309230118989944, -1.0282689332962036, 0.5579456090927124, -0.3238462805747986, -0.2959538698196411, 0.4030877947807312, 0.43864884972572327, 1.2544478178024292, -0.08938883990049362, 0.22929397225379944, 0.9247258305549622, -1.5218474864959717, 1.4733784198760986, -0.6124476790428162, 0.3789675533771515, -2.28469181060791, 1.246864914894104, -0.5982246994972229, 2.048187494277954, -2.6580917835235596, 0.3636697232723236, -0.6101300120353699, -0.5903512835502625, 0.3693041205406189, -0.2987535893917084, 0.13663779199123383, -0.14719834923744202, -1.0908390283584595, -0.02357759326696396, -0.7061909437179565, 0.5529863238334656, 1.1252118349075317, 1.3146158456802368, -1.0169010162353516, -0.26894238591194153, -1.6095353364944458, -0.17848312854766846, -0.7587310671806335, 0.2876317799091339, -1.9322870969772339, -0.13714900612831116, -1.964261531829834, -2.28849196434021, -1.2387843132019043, -0.8044229745864868, 1.1011910438537598, 0.12385597825050354, -0.8337283730506897, 1.208634376525879, -0.31836795806884766, -1.762294054031372, 1.0773944854736328, -1.9680553674697876 ]
https://github.com/huggingface/datasets/issues/4379
Latest dill release raises exception
I should note that because Python 3.6 and older are now deprecated and Python 3.7 has insertion order dictionaries, the globals in dill will have a deterministic order, just not sorted. I would still keep it sorted like you have it to help with stability (for example, if someone reorders variables in a file, then sorting the globals would not invalidate the cache.) It seems that the order is not quite deterministic in IPython. Huggingface datasets seems to do well in Jupyter regardless, so it is not a good idea to remove the sorting. uqfoundation/dill#19
## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): self.wait(timeout) if not self.ready(): raise TimeoutError if self._success: return self._value else: > raise self._value E TypeError: '>' not supported between instances of 'NoneType' and 'float' ```
751
95
Latest dill release raises exception ## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): self.wait(timeout) if not self.ready(): raise TimeoutError if self._success: return self._value else: > raise self._value E TypeError: '>' not supported between instances of 'NoneType' and 'float' ``` I should note that because Python 3.6 and older are now deprecated and Python 3.7 has insertion order dictionaries, the globals in dill will have a deterministic order, just not sorted. I would still keep it sorted like you have it to help with stability (for example, if someone reorders variables in a file, then sorting the globals would not invalidate the cache.) It seems that the order is not quite deterministic in IPython. Huggingface datasets seems to do well in Jupyter regardless, so it is not a good idea to remove the sorting. uqfoundation/dill#19
[ -1.2067763805389404, -0.936922013759613, -0.6720626354217529, 1.5780889987945557, -0.11557842046022415, -1.2240122556686401, 0.10953758656978607, -1.0938847064971924, 1.6134039163589478, -0.8471161127090454, 0.36419278383255005, -1.4899840354919434, 0.09714096784591675, -0.7082810997962952, -0.7234145998954773, -0.8502175807952881, -0.3746436834335327, -0.8606133460998535, 1.1009764671325684, 2.4371626377105713, 1.2561813592910767, -1.404029369354248, 2.648690938949585, 0.6383852362632751, -0.19078567624092102, -1.0435746908187866, 0.4489925801753998, -0.04889228940010071, -1.1989182233810425, -0.5278873443603516, -0.9448556303977966, -0.027629677206277847, -0.6732011437416077, -0.37271326780319214, -0.032664988189935684, 0.366573303937912, -0.3367380201816559, -0.31056225299835205, -0.5449031591415405, -0.8739578127861023, 0.4152489900588989, -0.3621255159378052, 0.9501278400421143, -0.3487187325954437, 1.8339141607284546, -0.5743640661239624, 0.45234259963035583, 0.7641974091529846, 1.2623226642608643, 0.15829254686832428, -0.09387216717004776, 0.23594436049461365, 0.29619860649108887, -0.004114990588277578, 0.5150545239448547, 0.9653701782226562, 0.6102659702301025, 0.45319053530693054, 0.6092039346694946, -2.2045135498046875, 1.3287808895111084, -1.0468586683273315, 0.1866615265607834, 1.4528042078018188, -0.8051594495773315, 0.2883995473384857, -1.678471565246582, -0.04670661315321922, 0.7452605366706848, -2.2910664081573486, 0.3417649567127228, -1.3067115545272827, -0.4825989007949829, 1.0984656810760498, 0.45135852694511414, -1.203733205795288, 0.10887893289327621, -0.44698119163513184, 1.0670503377914429, 0.4702748656272888, 0.9534558653831482, -1.767215371131897, -0.03311997279524803, -0.20180976390838623, 0.13817866146564484, -1.3799127340316772, -1.526271104812622, 0.5475178956985474, 0.5729458332061768, 0.5909576416015625, -0.02245939150452614, 1.0534995794296265, -1.1098884344100952, 0.8509856462478638, -1.1646181344985962, -1.5351513624191284, -1.4092888832092285, -2.363921880722046, -2.312309980392456, 0.627413272857666, -0.4966387152671814, -0.5703791379928589, 2.1554391384124756, -0.9543687105178833, -1.5663914680480957, 1.1710330247879028, 0.19307644665241241, 0.15478703379631042, 2.421290636062622, 0.20356044173240662, -0.6720951199531555, 0.4393608272075653, -0.8046559691429138, 0.7330454587936401, -0.3288722336292267, 1.2837234735488892, 0.4039841592311859, -1.1047381162643433, 1.5176122188568115, -0.4638683497905731, 0.5641943216323853, -0.579938530921936, -0.6168453693389893, -0.8086236119270325, 0.3378647267818451, 1.8205965757369995, -0.13040904700756073, 1.5429073572158813, -0.35590097308158875, -1.6054202318191528, -1.6678574085235596, 0.962661862373352, 0.3910079598426819, -0.9643454551696777, 0.14377817511558533, -0.4670858681201935, 0.14222677052021027, -0.1691891998052597, 1.222551941871643, 1.3141061067581177, 0.7326701283454895, -0.3998657763004303, -0.7934545874595642, 0.1409147083759308, -0.11794084310531616, -0.7812290787696838, -1.7847622632980347, -0.3057572841644287, 0.03257466480135918, 0.6321102976799011, -1.081921935081482, 1.8543438911437988, 1.029320478439331, 1.889960765838623, 1.0381736755371094, -0.3346107006072998, 1.4017380475997925, 0.04322333633899689, 1.8523633480072021, -0.5740522742271423, 0.7229671478271484, -0.3421287536621094, -1.1365818977355957, 0.8412678837776184, -0.3692784607410431, -2.014132022857666, -0.8042189478874207, -0.6527241468429565, -0.21773749589920044, -0.715741753578186, 0.969515323638916, -0.2834860384464264, -1.4009419679641724, 0.25580617785453796, -0.756053626537323, 0.25455954670906067, -1.0708585977554321, 0.42060530185699463, 0.7682574987411499, -0.6435666084289551, 0.09854665398597717, -0.1854679435491562, -1.2261977195739746, -0.4596060514450073, 0.46339884400367737, 1.9207206964492798, -0.6789392828941345, 0.8107377886772156, 1.0157957077026367, -0.5553937554359436, 0.05270490422844887, 0.276644229888916, -0.27683937549591064, 0.8083574771881104, -1.0334522724151611, -0.474025160074234, 1.3511563539505005, -0.4910860061645508, -0.6717190742492676, 1.4758843183517456, 0.6807790994644165, -1.0452194213867188, -0.11481262743473053, -0.278249591588974, -0.8954342007637024, 0.11519846320152283, -1.5995265245437622, -0.03646969050168991, 0.5014010071754456, -1.5380373001098633, -0.29709821939468384, -0.12514853477478027, 1.4481182098388672, -0.1754866987466812, 1.4260097742080688, -0.47346335649490356, -0.15118759870529175, -0.3285363018512726, -0.37988707423210144, 0.2949737012386322, -0.14879971742630005, -0.4553264081478119, 0.09343351423740387, -0.7548691630363464, 0.31879061460494995, 1.3534871339797974, 0.22531311213970184, 0.15064677596092224, 0.29301783442497253, 1.0263751745224, 0.34378862380981445, -0.03506099432706833, -0.8799735307693481, -1.5225452184677124, 2.08205246925354, -1.4228980541229248, 2.0957412719726562, 0.8150470852851868, -0.05691074952483177, -1.7318469285964966, -1.7799694538116455, 1.2494295835494995, 1.0385496616363525, 2.1911089420318604, 0.42128533124923706, 0.3639892041683197, -0.9490935206413269, -0.7389342188835144, 0.3967534601688385, -0.9844929575920105, -0.6950131058692932, 0.08317763358354568, 2.4777448177337646, 1.6510573625564575, -0.3732534646987915, -0.1765976995229721, -0.8834671974182129, 1.4377658367156982, -0.21483294665813446, 0.24623525142669678, 2.092592477798462, -0.2158018797636032, -1.0553300380706787, 1.296860933303833, -2.4122557640075684, 0.261503130197525, 2.12101149559021, 0.277874231338501, 0.24376222491264343, -1.4559217691421509, -0.5573325753211975, -0.2736133933067322, -0.35860466957092285, -1.1837363243103027, 0.5567753911018372, -0.2900654673576355, -0.795621931552887, -1.418526530265808, 0.22298139333724976, -1.0912542343139648, -1.719942331314087, 0.31118538975715637, 1.8616671562194824, 2.080718755722046, -0.7584400773048401, 1.5852128267288208, -0.233002170920372, 0.08543549478054047, 1.235329270362854, 1.391829252243042, 3.093033790588379, 1.84748375415802, -1.3808549642562866, 0.561566174030304, -0.14548492431640625, -0.4816291332244873, 1.0357794761657715, -1.2016299962997437, 1.3052741289138794, -0.12436874210834503, -1.1961272954940796, -1.3439524173736572, 1.0063132047653198, 0.5680413246154785, 0.030025236308574677, -0.5526958703994751, 1.2999639511108398, 0.044467974454164505, 1.3624505996704102, 0.5084823369979858, -0.277164101600647, 0.5451093316078186, -0.5290514826774597, -0.6121549010276794, 1.486230492591858, 0.21223795413970947, -1.5501266717910767, -2.204702615737915, -0.26197534799575806, -0.8198255300521851, 0.041935939341783524, -0.5845050811767578, -1.0118839740753174, 1.5715880393981934, 0.26301541924476624, -1.3440110683441162, -0.28988438844680786, -0.30022239685058594, -0.4818633794784546, 2.7533068656921387, -1.3118038177490234, -0.15590408444404602, -0.9908255338668823, -0.6319624185562134, 1.5865694284439087, -1.378474473953247, -0.23773102462291718, -1.0758479833602905, -0.6749715209007263, -1.203344464302063, -0.40734294056892395, -0.04759055748581886, -0.941108763217926, 0.8139744997024536, 0.3165798485279083, -1.1681047677993774, -0.4197234511375427, -0.9168201088905334, 0.9319139122962952, -0.07183057069778442, 0.22047066688537598, 1.7234842777252197, 0.23946934938430786, -0.422627329826355, 0.8002378940582275, 1.1570234298706055, 0.634684681892395, -0.5982696413993835, 0.07873962074518204, -0.4971010386943817, 0.37503305077552795, -1.267226219177246, 0.3877508044242859, -3.015122413635254, 0.6997155547142029, -0.04739469662308693, -0.13163907825946808, -0.11711373180150986, -1.3943462371826172, 1.1433690786361694, 2.632084846496582, -1.1537517309188843, 0.6029995083808899, 0.3523208200931549, 1.0719636678695679, -1.7473853826522827, 0.42075231671333313, -0.4210326075553894, 2.2022180557250977, 0.3426803648471832, 1.2279778718948364, -0.4177645146846771, -2.387089490890503, 0.6736797094345093, -1.2937031984329224, -1.0367214679718018, 0.7996301054954529, -0.8985927700996399, 0.13856950402259827, -1.3540730476379395, -0.2426275759935379, -0.8621532320976257, -1.2769851684570312, 0.6179688572883606, 0.21519964933395386, 0.4913867712020874, -0.5202466249465942, 0.2480870485305786, -2.24391770362854, -1.3461105823516846, -0.13344277441501617, -1.014407753944397, 0.46744316816329956, -0.45671188831329346, 0.7180339694023132, -0.1315029114484787, 0.08439874649047852, 0.4143889546394348, 1.552004098892212, 3.5253400802612305, 0.1523750275373459, 0.3139043152332306, -0.22695912420749664, -0.8420068621635437, 1.4384313821792603, 0.8813233375549316, -0.1469947099685669, -0.5635841488838196, -0.9898519515991211, 1.2062523365020752, 2.0656208992004395, 0.8881955742835999, 0.0014139935374259949, -0.8316883444786072, -0.6934828758239746, -0.0894179493188858, 0.16212394833564758, 0.6487352848052979, 0.7991293668746948, 0.031557049602270126, 0.014664937742054462, 1.3707133531570435, 1.193241000175476, -0.403846800327301, 0.2880879044532776, -0.8999801278114319, -0.39933106303215027, 0.4202379882335663, 0.24655193090438843, -0.11538653075695038, 0.4283660054206848, -0.842223584651947, -0.163101926445961, -0.40006688237190247, -0.8507354259490967, -0.7476885318756104, -0.4431725740432739, -0.42086076736450195, 1.6256948709487915, 0.17201688885688782, -0.5150957107543945, 0.024088546633720398, -0.7015742063522339, -0.16984760761260986, -1.1210386753082275, 0.1798100769519806, -0.02961113303899765, -0.20207244157791138, -0.1794658601284027, 1.7166177034378052, -0.9252350926399231, -2.0669100284576416, 0.1473722755908966, 0.16458459198474884, -0.2731928825378418, 0.24553322792053223, 1.6581330299377441, 0.393697053194046, 1.4899581670761108, 1.3038408756256104, 0.9971781373023987, -0.6615000367164612, -1.3138580322265625, 0.7699849605560303, 0.9422747492790222, -1.55592942237854, 0.8279929161071777, -0.18312588334083557, -0.4540521204471588, 0.6974466443061829, 1.2412686347961426, 0.5954431891441345, -1.9627381563186646, 0.8563418984413147, -1.0306758880615234, 0.9422119855880737, 0.7498839497566223, 0.5516999959945679, 0.2769148647785187, 0.9071664214134216, -1.1999220848083496, -1.154737949371338, -0.6327046751976013, -0.8048885464668274, 1.9754042625427246, -0.4647273123264313, 0.5898227691650391, -0.026723872870206833, -1.234588623046875, -0.08132761716842651, 0.7832133769989014, 0.33114323019981384, -0.3309513330459595, 0.8548386693000793, -0.7505779266357422, -1.028428554534912, -1.2777435779571533, -0.4256453514099121, -1.056968331336975, -0.9812324047088623, 1.0728272199630737, 0.7239744067192078, 0.32349926233291626, 1.8458482027053833, 0.5730686783790588, 0.3882318139076233, -2.490151882171631, 0.866550087928772, 0.2776558995246887, -0.0856478363275528, 0.8993584513664246, 0.3121693730354309, 1.1035181283950806, 0.11745946109294891, 0.5469149351119995, -2.468959331512451, 2.395956039428711, -0.21096813678741455, 0.6347675919532776, -0.026632949709892273, -0.2415027767419815, 1.1619950532913208, 0.7021647095680237, 0.4868220388889313, -1.0353991985321045, 0.6962992548942566, -0.5195596814155579, 1.2109060287475586, 0.8497488498687744, -0.8497774600982666, -0.08926666527986526, 1.3647098541259766, 0.40475600957870483, -0.6818109154701233, -0.8889194130897522, -1.0480326414108276, 0.7976676821708679, 1.6066123247146606, -0.11182866990566254, -0.197992205619812, 0.7384322881698608, 0.6790886521339417, -1.2070858478546143, 0.13819065690040588, -0.6836052536964417, -0.8574028015136719, 1.6043083667755127, 2.074483871459961, -0.10538877546787262, -0.09434743225574493, -0.6629392504692078, -1.2706925868988037, 0.753582775592804, -0.06926250457763672, 0.0322457030415535, 0.3576338589191437, -0.573340117931366, 0.9280239343643188, 0.853019654750824, 0.9433230757713318, 0.10316599160432816, 0.2611309885978699, 0.4900791347026825, -0.4387369155883789, -1.1607471704483032, -0.4053208827972412, -1.2343791723251343, -2.5716521739959717, 0.43112221360206604, -0.2591623067855835, -1.471596121788025, 0.007643093355000019, -1.0219062566757202, 0.8821712732315063, -0.5261557698249817, -1.1307986974716187, -1.4755957126617432, 0.13159437477588654, -0.06969743221998215, 0.8999348878860474, -1.507036805152893, -0.12850777804851532, 1.2425239086151123, 0.7416195869445801, -0.7169549465179443, 0.9970441460609436, 0.1620354950428009, 1.098099708557129, 0.7764732241630554, -0.3677944540977478, 0.6536864042282104, 0.16461428999900818, -1.4454925060272217, 0.46037617325782776, 1.176170825958252, 0.1554497927427292, 1.5458005666732788, -0.41614866256713867, 0.07158048450946808, 0.3986576497554779, -0.6786763668060303, -0.45734792947769165, -0.44386231899261475, 0.7446221709251404, 0.10126553475856781, -0.8632379770278931, -0.005810076370835304, -0.15450136363506317, -0.38634294271469116, 0.10011892765760422, -1.6240772008895874, -0.2324257642030716, -0.41549450159072876, -0.46993523836135864, -1.3353155851364136, -0.12459611147642136, 1.4970289468765259, -0.5754022002220154, -0.21304066479206085, 0.42795777320861816, 0.5117949843406677, 0.48507899045944214, 0.7915361523628235, -0.6992400288581848, -0.3577408492565155, -0.32541102170944214, -0.20914529263973236, 0.4364127218723297, 1.2643510103225708, -0.013472624123096466, -0.9150350093841553, 0.7011670470237732, -0.3911830186843872, 0.14623987674713135, 1.8909692764282227, 0.03572416305541992, -0.7600310444831848, 0.38776078820228577, -0.8019725680351257, 1.9727795124053955, 1.6628577709197998, 1.12697172164917, -0.1491079181432724, -1.0375312566757202, 0.7807207107543945, -0.42530691623687744, -0.30912306904792786, 0.8985912799835205, 0.41191938519477844, -0.3126338720321655, -1.3562510013580322, 0.737184464931488, 1.0325367450714111, -0.8098985552787781, -0.8530572056770325, 0.1754785031080246, -0.7547644972801208, 1.108588457107544, 0.5927613973617554, 0.5091479420661926, 0.27246156334877014, 1.661338448524475, 0.8379440307617188, -0.46755465865135193, 0.5876366496086121, 0.42931222915649414, -0.32062971591949463, -2.088409423828125, -1.1670591831207275, 0.3637157380580902, -0.6243676543235779, -1.5504196882247925, 1.4466935396194458, -1.1444485187530518, -0.9932753443717957, 0.5167860984802246, -0.09932765364646912, 1.270887851715088, 0.28330734372138977, 1.5933760404586792, 1.9515886306762695, 0.8668476343154907, 0.5110800266265869, 1.3656193017959595, -0.2197660356760025, -0.5152179002761841, 1.8437886238098145, -0.47347238659858704, 0.4644692540168762, 1.2193074226379395, -0.3898206353187561, -1.0662022829055786, -0.8331491351127625, -1.034672498703003, -0.668298065662384, 1.1635311841964722, 0.07150695472955704, -1.0932157039642334, 0.21701453626155853, 1.6294538974761963, 0.13783809542655945, -0.23591770231723785, 0.5560987591743469, 0.39198556542396545, -0.8241220116615295, -0.10575009882450104, -0.9315341711044312, 0.5297568440437317, -0.31845229864120483, -0.3605490028858185, 0.3854909837245941, 0.4035273492336273, 1.279996395111084, -0.13308964669704437, 0.24145281314849854, 1.000937819480896, -1.4485727548599243, 1.4447340965270996, -0.5748397707939148, 0.3360057771205902, -2.323389768600464, 1.2715641260147095, -0.6061185002326965, 2.069131851196289, -2.602691411972046, 0.39449813961982727, -0.6103437542915344, -0.5620389580726624, 0.4235534071922302, -0.27941253781318665, 0.15426862239837646, -0.19269445538520813, -1.1267844438552856, -0.040289103984832764, -0.7248786687850952, 0.5999969244003296, 1.1276516914367676, 1.289353609085083, -1.0165729522705078, -0.22715015709400177, -1.588541865348816, -0.18807239830493927, -0.825567901134491, 0.2530359625816345, -1.973724603652954, -0.06182362139225006, -2.0264711380004883, -2.2823996543884277, -1.3080397844314575, -0.7539063096046448, 1.1392812728881836, 0.1465749591588974, -0.8196026086807251, 1.2668766975402832, -0.26999202370643616, -1.681105613708496, 1.0293989181518555, -2.013770818710327 ]
https://github.com/huggingface/datasets/issues/4376
irc_disentagle viewer error
DUPLICATED comment from https://github.com/huggingface/datasets/issues/3807: my code: ``` from datasets import load_dataset dataset = load_dataset("irc_disentangle", download_mode="force_redownload") ``` however, it produces the same error ``` [38](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=37) if len(bad_urls) > 0: [39](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=38) error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> [40](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=39) raise NonMatchingChecksumError(error_msg + str(bad_urls)) [41](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=40) logger.info("All the checksums matched successfully" + for_verification_name) NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://github.com/jkkummerfeld/irc-disentanglement/tarball/master'] ``` I attempted to use the `ignore_verifications' as such: ``` ds = datasets.load_dataset('irc_disentangle', download_mode="force_redownload", ignore_verifications=True) Downloading builder script: 12.0kB [00:00, 5.92MB/s] Downloading metadata: 7.58kB [00:00, 3.48MB/s] No config specified, defaulting to: irc_disentangle/ubuntu Downloading and preparing dataset irc_disentangle/ubuntu (download: 112.98 MiB, generated: 60.05 MiB, post-processed: Unknown size, total: 173.03 MiB) to /Users/laylabouzoubaa/.cache/huggingface/datasets/irc_disentangle/ubuntu/1.0.0/0f24ab262a21d8c1d989fa53ed20caa928f5880be26c162bfbc02445dbade7e5... Downloading data: 118MB [00:09, 12.1MB/s] Dataset irc_disentangle downloaded and prepared to /Users/laylabouzoubaa/.cache/huggingface/datasets/irc_disentangle/ubuntu/1.0.0/0f24ab262a21d8c1d989fa53ed20caa928f5880be26c162bfbc02445dbade7e5. Subsequent calls will reuse this data. 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 675.38it/s] ``` but, this returns an empty set? ``` DatasetDict({ train: Dataset({ features: ['id', 'raw', 'ascii', 'tokenized', 'date', 'connections'], num_rows: 0 }) test: Dataset({ features: ['id', 'raw', 'ascii', 'tokenized', 'date', 'connections'], num_rows: 0 }) validation: Dataset({ features: ['id', 'raw', 'ascii', 'tokenized', 'date', 'connections'], num_rows: 0 }) }) ``` not sure what else to try at this point? Thanks in advancedπŸ€—
the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits: ``` Server error Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file ``` it appears to give the same message for the "channel_two" data as well. I get a Checksums error when using `load_data()` with this dataset. Even with the `download_mode` and `ignore_verifications` options set. i referenced the issue here: https://github.com/huggingface/datasets/issues/3807
752
193
irc_disentagle viewer error the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits: ``` Server error Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file ``` it appears to give the same message for the "channel_two" data as well. I get a Checksums error when using `load_data()` with this dataset. Even with the `download_mode` and `ignore_verifications` options set. i referenced the issue here: https://github.com/huggingface/datasets/issues/3807 DUPLICATED comment from https://github.com/huggingface/datasets/issues/3807: my code: ``` from datasets import load_dataset dataset = load_dataset("irc_disentangle", download_mode="force_redownload") ``` however, it produces the same error ``` [38](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=37) if len(bad_urls) > 0: [39](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=38) error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> [40](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=39) raise NonMatchingChecksumError(error_msg + str(bad_urls)) [41](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=40) logger.info("All the checksums matched successfully" + for_verification_name) NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://github.com/jkkummerfeld/irc-disentanglement/tarball/master'] ``` I attempted to use the `ignore_verifications' as such: ``` ds = datasets.load_dataset('irc_disentangle', download_mode="force_redownload", ignore_verifications=True) Downloading builder script: 12.0kB [00:00, 5.92MB/s] Downloading metadata: 7.58kB [00:00, 3.48MB/s] No config specified, defaulting to: irc_disentangle/ubuntu Downloading and preparing dataset irc_disentangle/ubuntu (download: 112.98 MiB, generated: 60.05 MiB, post-processed: Unknown size, total: 173.03 MiB) to /Users/laylabouzoubaa/.cache/huggingface/datasets/irc_disentangle/ubuntu/1.0.0/0f24ab262a21d8c1d989fa53ed20caa928f5880be26c162bfbc02445dbade7e5... Downloading data: 118MB [00:09, 12.1MB/s] Dataset irc_disentangle downloaded and prepared to /Users/laylabouzoubaa/.cache/huggingface/datasets/irc_disentangle/ubuntu/1.0.0/0f24ab262a21d8c1d989fa53ed20caa928f5880be26c162bfbc02445dbade7e5. Subsequent calls will reuse this data. 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 675.38it/s] ``` but, this returns an empty set? ``` DatasetDict({ train: Dataset({ features: ['id', 'raw', 'ascii', 'tokenized', 'date', 'connections'], num_rows: 0 }) test: Dataset({ features: ['id', 'raw', 'ascii', 'tokenized', 'date', 'connections'], num_rows: 0 }) validation: Dataset({ features: ['id', 'raw', 'ascii', 'tokenized', 'date', 'connections'], num_rows: 0 }) }) ``` not sure what else to try at this point? Thanks in advancedπŸ€—
[ -1.182087779045105, -0.875440776348114, -0.7196758389472961, 1.4997038841247559, -0.08972524106502533, -1.226550579071045, 0.0726974755525589, -1.011785864830017, 1.5259417295455933, -0.6323450803756714, 0.28712478280067444, -1.6455955505371094, -0.11431917548179626, -0.5246931910514832, -0.7549072504043579, -0.8461010456085205, -0.35848572850227356, -0.7901419401168823, 0.964006781578064, 2.4885141849517822, 1.2970035076141357, -1.315354585647583, 2.7581727504730225, 0.6541385650634766, -0.22030505537986755, -1.0358105897903442, 0.5869974493980408, 0.026438742876052856, -1.1845961809158325, -0.41270291805267334, -0.9287997484207153, -0.012019572779536247, -0.48772427439689636, -0.3989964723587036, 0.11426358669996262, 0.45463138818740845, -0.24412336945533752, -0.3545765280723572, -0.751651406288147, -0.7537742257118225, 0.5542504787445068, -0.34277841448783875, 0.8647578358650208, -0.3403608798980713, 1.7782530784606934, -0.6135663390159607, 0.3607887029647827, 0.6825892329216003, 1.3323426246643066, 0.18588827550411224, 0.10869454592466354, 0.2550574541091919, 0.3855302333831787, 0.0239730142056942, 0.6396889090538025, 1.2710856199264526, 0.5749806761741638, 0.5250687003135681, 0.7065679430961609, -2.2343907356262207, 1.218893051147461, -0.9369349479675293, 0.2863456904888153, 1.319753885269165, -0.8582596182823181, 0.27627596259117126, -1.8531922101974487, 0.045033443719148636, 0.601945698261261, -2.3036179542541504, 0.27288055419921875, -1.377410888671875, -0.5287973880767822, 0.9527940154075623, 0.3255038261413574, -1.1886532306671143, 0.18827404081821442, -0.48308926820755005, 1.1294502019882202, 0.46316882967948914, 1.1564611196517944, -1.5766535997390747, -0.06205383315682411, -0.14262834191322327, 0.08807200938463211, -1.2448068857192993, -1.6635315418243408, 0.5767244696617126, 0.5663642287254333, 0.6494503021240234, -0.13772746920585632, 1.011776328086853, -1.0178900957107544, 0.849339485168457, -0.9553903937339783, -1.6676627397537231, -1.4570387601852417, -2.343515634536743, -2.2661044597625732, 0.8710340857505798, -0.46878546476364136, -0.400028795003891, 1.9492660760879517, -0.9129993915557861, -1.8377398252487183, 1.020605206489563, 0.3503575623035431, 0.07350732386112213, 2.2772257328033447, 0.25459569692611694, -0.8157731294631958, 0.43742451071739197, -0.6941395401954651, 0.7849131226539612, -0.3050106167793274, 1.3180326223373413, 0.5259827971458435, -0.9722816348075867, 1.6788020133972168, -0.43879109621047974, 0.5992888808250427, -0.647459864616394, -0.5031566023826599, -0.7533324360847473, 0.2451423704624176, 1.9381730556488037, -0.4204806983470917, 1.5534493923187256, -0.26997101306915283, -1.539343237876892, -1.5692676305770874, 0.8026019930839539, 0.5683609843254089, -0.8280879855155945, -0.009895137511193752, -0.46001768112182617, 0.20708133280277252, -0.07211127877235413, 1.113215684890747, 1.20686674118042, 0.7941383719444275, -0.30753639340400696, -0.8077237010002136, 0.21874652802944183, -0.015996558591723442, -0.7271305918693542, -1.7387279272079468, -0.34269893169403076, 0.2647203803062439, 0.5856562852859497, -1.2805324792861938, 1.8396269083023071, 0.8395252227783203, 1.9699795246124268, 0.9730344414710999, -0.40580734610557556, 1.5362821817398071, -0.03554220497608185, 1.8698703050613403, -0.5243198275566101, 0.5246149897575378, -0.3197003901004791, -1.1480456590652466, 0.7413583993911743, -0.3223559260368347, -2.0153822898864746, -0.8568211197853088, -0.8024346232414246, -0.12273537367582321, -0.7372865676879883, 0.8158366680145264, -0.346743106842041, -1.480494737625122, -0.04591434448957443, -0.7152994871139526, 0.09955588728189468, -1.2465877532958984, 0.1762198656797409, 0.7357423305511475, -0.7204311490058899, -0.0686398297548294, -0.21337482333183289, -1.2301172018051147, -0.5862143039703369, 0.2738553285598755, 2.017378807067871, -0.6290083527565002, 0.9691484570503235, 1.0415593385696411, -0.8267948627471924, 0.18949447572231293, 0.29634979367256165, -0.3111173212528229, 0.8468737006187439, -1.119025468826294, -0.4775753617286682, 1.213025689125061, -0.1624942272901535, -0.7066173553466797, 1.4840857982635498, 0.8609417080879211, -1.0828166007995605, -0.3160519003868103, -0.1961764693260193, -0.7089369297027588, -0.03245639055967331, -1.462038516998291, -0.16652348637580872, 0.31193476915359497, -1.476922869682312, -0.4840145707130432, -0.1666601002216339, 1.3591899871826172, -0.2656134366989136, 1.4381710290908813, -0.2265912890434265, -0.16165755689144135, -0.28936702013015747, -0.502831220626831, 0.09953657537698746, -0.2119569629430771, -0.6743113398551941, 0.19602034986019135, -0.8264408111572266, 0.3053933084011078, 1.466373324394226, 0.3395034074783325, 0.016434956341981888, 0.5237476825714111, 1.2131047248840332, 0.4277006685733795, -0.06323950737714767, -0.944193959236145, -1.5331079959869385, 1.8975448608398438, -1.4385018348693848, 1.9759018421173096, 0.7506763339042664, -0.05406973510980606, -1.7187702655792236, -1.8993405103683472, 1.316571593284607, 1.1544616222381592, 2.469850778579712, 0.4820588529109955, 0.41711002588272095, -0.8127643465995789, -0.7518033385276794, 0.31796514987945557, -0.9790500998497009, -0.6665418744087219, 0.18154259026050568, 2.305986166000366, 1.8790520429611206, -0.5710049867630005, -0.353940486907959, -0.9591355323791504, 1.2563562393188477, -0.21001304686069489, 0.2543029487133026, 1.9998074769973755, -0.22847774624824524, -1.0579543113708496, 1.2843302488327026, -2.379321336746216, 0.2767263650894165, 2.07293701171875, 0.2452177107334137, 0.13331404328346252, -1.4465010166168213, -0.6881248950958252, -0.27581143379211426, -0.5013743042945862, -1.2397382259368896, 0.5659164190292358, -0.2067146897315979, -0.8545936942100525, -1.3141354322433472, 0.04026223346590996, -1.1946357488632202, -1.7839163541793823, 0.32678312063217163, 1.9654399156570435, 1.988777756690979, -0.7999492287635803, 1.3993566036224365, -0.32983580231666565, 0.017995305359363556, 1.3766381740570068, 1.3908573389053345, 3.1553032398223877, 1.860917329788208, -1.2935773134231567, 0.8048231601715088, -0.279212087392807, -0.4466433525085449, 1.1980082988739014, -1.1522679328918457, 1.0852261781692505, -0.22216984629631042, -1.185109257698059, -1.1762096881866455, 1.0128389596939087, 0.5703602433204651, -0.02449476346373558, -0.4921908974647522, 1.1685011386871338, 0.12883411347866058, 1.3502434492111206, 0.6094356775283813, -0.511719822883606, 0.5686284899711609, -0.26141345500946045, -0.4642252027988434, 1.61677885055542, 0.10772456228733063, -1.4499505758285522, -2.339273452758789, -0.18944908678531647, -0.9640560150146484, -0.05254525691270828, -0.6567128300666809, -1.099764108657837, 1.658353328704834, 0.4215136468410492, -1.2454984188079834, -0.2562866806983948, -0.3658096492290497, -0.5898301005363464, 2.652215003967285, -1.3537728786468506, -0.12652204930782318, -1.0342538356781006, -0.5137069225311279, 1.6344026327133179, -1.1014419794082642, -0.23684152960777283, -0.9853272438049316, -0.6201450228691101, -1.3290401697158813, -0.5597763657569885, 0.06003134325146675, -0.8627057671546936, 0.7524194121360779, 0.11966270953416824, -1.0988330841064453, -0.3164595365524292, -0.8411400318145752, 1.0425435304641724, -0.08074405789375305, 0.13257235288619995, 1.9705073833465576, 0.38229870796203613, -0.39710533618927, 0.7244688868522644, 1.2482625246047974, 0.6064003109931946, -0.6177907586097717, 0.2232097089290619, -0.6805905103683472, 0.3980601131916046, -1.496262550354004, 0.19397254288196564, -2.919557571411133, 0.7792493104934692, -0.1662595123052597, -0.10603229701519012, -0.06696180254220963, -1.2883844375610352, 1.0250012874603271, 2.6178905963897705, -1.1419589519500732, 0.432787150144577, 0.43224889039993286, 1.1109888553619385, -1.621100902557373, 0.1637173593044281, -0.43793559074401855, 1.995386004447937, 0.12021694332361221, 1.206730604171753, -0.5241170525550842, -2.1335713863372803, 0.6211685538291931, -1.2532539367675781, -1.0147465467453003, 0.8194039463996887, -0.8063393831253052, 0.26326674222946167, -1.4330967664718628, -0.13252884149551392, -0.8933823704719543, -1.2369014024734497, 0.7657561898231506, 0.06678615510463715, 0.38401174545288086, -0.5939318537712097, 0.38815513253211975, -2.1420340538024902, -1.4290562868118286, -0.17129547894001007, -1.0215966701507568, 0.5938707590103149, -0.4014996290206909, 0.6387755274772644, -0.025379803031682968, 0.05941474065184593, 0.2654249668121338, 1.4598309993743896, 3.40826416015625, 0.13665802776813507, 0.1913662999868393, -0.14311479032039642, -1.0407249927520752, 1.4811716079711914, 0.9489683508872986, -0.20051611959934235, -0.5686558485031128, -1.0407840013504028, 1.3226613998413086, 1.9862669706344604, 1.168091058731079, 0.1576753854751587, -0.8685234785079956, -0.7798586487770081, 0.018785148859024048, 0.20132404565811157, 0.5253583788871765, 0.9448490142822266, -0.024036336690187454, 0.11484717577695847, 1.2929843664169312, 1.1929339170455933, -0.2892845869064331, 0.3623652756214142, -0.9286738038063049, -0.4153096079826355, 0.44562581181526184, 0.1799667775630951, 0.05648691579699516, 0.47506675124168396, -1.1337273120880127, -0.3348035216331482, -0.3092930316925049, -0.8447522521018982, -0.7315399646759033, -0.4651223421096802, -0.44106417894363403, 1.5048844814300537, 0.006893807090818882, -0.5479527115821838, 0.04325232654809952, -0.751901388168335, -0.17577464878559113, -1.068695306777954, 0.1363944560289383, -0.08092688769102097, -0.05469059944152832, -0.13307195901870728, 1.6096962690353394, -0.9085513353347778, -2.112074136734009, 0.26708707213401794, 0.31579598784446716, -0.37592267990112305, 0.2413730025291443, 1.6946183443069458, 0.5707948207855225, 1.2809982299804688, 1.310867428779602, 0.9378109574317932, -0.5518651604652405, -1.208869218826294, 0.695796012878418, 0.9709354043006897, -1.338950514793396, 0.9157575964927673, -0.1846868097782135, -0.5147310495376587, 0.6115126609802246, 1.3462703227996826, 0.38380831480026245, -1.954965353012085, 0.8487690091133118, -0.8061493635177612, 0.7079595327377319, 0.6534932851791382, 0.7572376728057861, 0.2357991486787796, 0.8894047141075134, -1.1774070262908936, -1.0856032371520996, -0.6316660642623901, -0.6623393297195435, 1.9515701532363892, -0.1716708391904831, 0.5410876870155334, -0.19455157220363617, -1.2472035884857178, -0.19495970010757446, 0.7846804261207581, 0.37451615929603577, -0.5301692485809326, 0.9099869728088379, -0.6129477620124817, -0.8998682498931885, -1.2197176218032837, -0.4321269690990448, -0.9992222785949707, -0.865523636341095, 1.0370824337005615, 0.8431398868560791, 0.4121248424053192, 1.9363473653793335, 0.5917379856109619, 0.266831636428833, -2.684617042541504, 0.8612555861473083, 0.34051239490509033, -0.07833941280841827, 0.8562824130058289, 0.2328343391418457, 1.1456754207611084, -0.04239002987742424, 0.5898758769035339, -2.272538900375366, 2.2489428520202637, -0.1212378591299057, 0.603253185749054, -0.02441091276705265, -0.20267198979854584, 1.1689428091049194, 0.5739629864692688, 0.6029666066169739, -1.0939884185791016, 0.6963422894477844, -0.5725259780883789, 1.0418778657913208, 0.9009732007980347, -0.9385399222373962, 0.024859469383955002, 1.4158893823623657, 0.558844804763794, -0.3824293613433838, -0.9578929543495178, -0.7638245820999146, 1.0266340970993042, 1.7140227556228638, 0.0539381317794323, 0.015596591867506504, 0.92401522397995, 0.6693864464759827, -1.2538453340530396, -0.007468841038644314, -0.6725372672080994, -0.5988449454307556, 1.7444039583206177, 2.1021664142608643, -0.07635308802127838, -0.2976571023464203, -0.7752071619033813, -1.3008219003677368, 0.7462974190711975, -0.11924432963132858, 0.09574714303016663, 0.7247905135154724, -0.7404104471206665, 1.201631784439087, 0.6454545855522156, 1.0129379034042358, -0.04806634411215782, 0.3256109952926636, 0.35065776109695435, -0.36437055468559265, -1.251001238822937, -0.38394469022750854, -1.1112027168273926, -2.551628589630127, 0.490003377199173, -0.19243597984313965, -1.377440333366394, 0.043393295258283615, -1.0454729795455933, 0.8506277799606323, -0.6804132461547852, -1.1258642673492432, -1.379282832145691, 0.30494722723960876, -0.16255898773670197, 0.8464771509170532, -1.6675328016281128, -0.21491041779518127, 1.2782924175262451, 0.9490208625793457, -0.6022272109985352, 0.8809699416160583, 0.2207610309123993, 0.9898278117179871, 0.8274058103561401, -0.39676547050476074, 0.6277527213096619, -0.03516159579157829, -1.384237289428711, 0.42444172501564026, 1.229406714439392, 0.1591779887676239, 1.4690608978271484, -0.464638352394104, 0.1653873324394226, 0.454837828874588, -0.642803966999054, -0.568314790725708, -0.5367857813835144, 0.6609794497489929, 0.004842789843678474, -1.1204586029052734, -0.12963001430034637, -0.02068735472857952, -0.199951171875, 0.15475565195083618, -1.4544540643692017, -0.24739374220371246, -0.3452835977077484, -0.4803008437156677, -1.3038538694381714, 0.09275242686271667, 1.2642223834991455, -0.8643419146537781, -0.2591220736503601, 0.4344308376312256, 0.2575262188911438, 0.5574120879173279, 0.5030962228775024, -0.7821676135063171, -0.24427680671215057, -0.3038087487220764, -0.41820409893989563, 0.23404641449451447, 1.2748559713363647, -0.1658671647310257, -1.006162166595459, 0.6606643199920654, -0.35648608207702637, 0.17583023011684418, 1.9819238185882568, -0.023114154115319252, -0.6504160165786743, 0.33015140891075134, -0.7419946193695068, 1.7280189990997314, 1.6931939125061035, 1.3248335123062134, -0.13142141699790955, -0.7565367221832275, 0.5416127443313599, -0.34926873445510864, -0.3183407187461853, 0.8500757813453674, 0.3754935562610626, -0.20087465643882751, -1.4823049306869507, 0.596576452255249, 1.3164092302322388, -0.9051721692085266, -0.72792649269104, 0.06927309930324554, -0.8788410425186157, 1.1970741748809814, 0.6161674857139587, 0.29389575123786926, 0.32470831274986267, 1.5098001956939697, 0.7165078520774841, -0.4240584075450897, 0.4332708716392517, 0.5195275545120239, -0.24753424525260925, -2.133758306503296, -1.0688056945800781, 0.3370893895626068, -0.42528894543647766, -1.6384187936782837, 1.3173916339874268, -1.1403714418411255, -0.933204710483551, 0.5607541799545288, 0.12969964742660522, 1.3780878782272339, 0.3907413184642792, 1.7269257307052612, 2.062051773071289, 0.8908002972602844, 0.32448217272758484, 1.1902083158493042, -0.04338018596172333, -0.42398738861083984, 1.8338251113891602, -0.4946763217449188, 0.5248516798019409, 0.9600061178207397, -0.3550243675708771, -1.135489583015442, -0.8099278807640076, -1.3103556632995605, -0.7047330737113953, 1.2327284812927246, 0.09245757758617401, -1.0458149909973145, 0.18893282115459442, 1.63568913936615, 0.12770400941371918, -0.18833830952644348, 0.7964757680892944, 0.3627302348613739, -0.7547736167907715, -0.06577331572771072, -0.8336336612701416, 0.46406877040863037, -0.007780805230140686, -0.3157258629798889, 0.17986571788787842, 0.5327833294868469, 1.3491157293319702, 0.013662309385836124, 0.0744524598121643, 1.1488772630691528, -1.3620045185089111, 1.6228662729263306, -0.6628063917160034, 0.39789775013923645, -2.5559780597686768, 1.4483039379119873, -0.8573654890060425, 1.9165774583816528, -2.499208927154541, 0.4690006971359253, -0.5075681209564209, -0.43789175152778625, 0.20543745160102844, -0.4388587772846222, 0.09912630915641785, -0.10040940344333649, -0.9881345629692078, -0.012857973575592041, -0.7702687382698059, 0.6535404920578003, 1.1803532838821411, 1.4695388078689575, -1.1412365436553955, -0.246557354927063, -1.846771478652954, -0.17077437043190002, -0.754280686378479, 0.3580111861228943, -1.9700740575790405, -0.1866496354341507, -1.9050005674362183, -2.2975680828094482, -1.3549950122833252, -0.8327418565750122, 1.0188779830932617, 0.15358030796051025, -0.9097045063972473, 1.1100674867630005, -0.4744511842727661, -1.8265115022659302, 1.1327433586120605, -2.2798380851745605 ]
https://github.com/huggingface/datasets/issues/4376
irc_disentagle viewer error
The issue with checksum and empty dataset has been fixed by: - #4377 To load the dataset, you should force the re-generation of the dataset from the downloaded file by passing `download_mode="reuse_cache_if_exists"` to `load_dataset`. In relation with the issue with the dataset viewer, first the dataset should be refactored to support streaming.
the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits: ``` Server error Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file ``` it appears to give the same message for the "channel_two" data as well. I get a Checksums error when using `load_data()` with this dataset. Even with the `download_mode` and `ignore_verifications` options set. i referenced the issue here: https://github.com/huggingface/datasets/issues/3807
752
52
irc_disentagle viewer error the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits: ``` Server error Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file ``` it appears to give the same message for the "channel_two" data as well. I get a Checksums error when using `load_data()` with this dataset. Even with the `download_mode` and `ignore_verifications` options set. i referenced the issue here: https://github.com/huggingface/datasets/issues/3807 The issue with checksum and empty dataset has been fixed by: - #4377 To load the dataset, you should force the re-generation of the dataset from the downloaded file by passing `download_mode="reuse_cache_if_exists"` to `load_dataset`. In relation with the issue with the dataset viewer, first the dataset should be refactored to support streaming.
[ -1.1615924835205078, -0.862339973449707, -0.8649031519889832, 1.4600586891174316, -0.22504137456417084, -1.2298580408096313, 0.11878734827041626, -1.1262980699539185, 1.6864670515060425, -0.7914770245552063, 0.3776213228702545, -1.7090623378753662, 0.05745917931199074, -0.551598846912384, -0.7381791472434998, -0.9358466267585754, -0.3820948898792267, -0.6663174629211426, 0.8527491092681885, 2.3882534503936768, 1.2129565477371216, -1.352901816368103, 2.688971519470215, 0.6329398155212402, -0.12466584891080856, -1.0351600646972656, 0.5440212488174438, 0.07040069997310638, -1.130105972290039, -0.3934501111507416, -0.9331300258636475, -0.13209988176822662, -0.5212137699127197, -0.5819490551948547, -0.046983253210783005, 0.45333877205848694, -0.4025648236274719, -0.4107060134410858, -0.6153386831283569, -0.9263187050819397, 0.4881201684474945, -0.3698827922344208, 0.9708059430122375, -0.5119927525520325, 1.9283767938613892, -0.5383835434913635, 0.4431333839893341, 0.7743818163871765, 1.269789695739746, 0.1454341560602188, -0.06403829902410507, 0.2238118052482605, 0.3893442749977112, 0.05383049324154854, 0.3845968246459961, 1.0891382694244385, 0.4535745084285736, 0.5748512148857117, 0.7155695557594299, -2.2679688930511475, 1.2259244918823242, -1.1073987483978271, 0.1663256287574768, 1.4563353061676025, -0.987167477607727, 0.265743225812912, -1.8144155740737915, -0.0822817012667656, 0.5192071795463562, -2.3268330097198486, 0.24611763656139374, -1.3806849718093872, -0.5699898600578308, 1.0828088521957397, 0.32688453793525696, -1.1445833444595337, 0.10631144791841507, -0.2878900170326233, 1.0427873134613037, 0.5932121276855469, 1.1388806104660034, -1.6049435138702393, 0.03651556000113487, -0.3655955493450165, 0.05603596940636635, -1.3972785472869873, -1.5250720977783203, 0.5797978639602661, 0.5786812901496887, 0.577052116394043, -0.08830896764993668, 1.0673584938049316, -0.9364854097366333, 0.8303043246269226, -1.0338191986083984, -1.6266131401062012, -1.3515303134918213, -2.2561919689178467, -2.311084032058716, 0.8430731892585754, -0.5060527324676514, -0.5261411666870117, 1.984683632850647, -0.9853026270866394, -1.7758500576019287, 1.205351710319519, 0.22755366563796997, 0.0072311824187636375, 2.3110687732696533, 0.25639787316322327, -0.6988468170166016, 0.4124266803264618, -0.7412927746772766, 0.7906395792961121, -0.3377426266670227, 1.372607707977295, 0.5877597332000732, -1.0762141942977905, 1.7013590335845947, -0.4105527400970459, 0.6233834624290466, -0.6468743085861206, -0.6648980379104614, -0.7724348902702332, 0.3591577410697937, 1.8428092002868652, -0.33662810921669006, 1.5106316804885864, -0.3012622594833374, -1.5176045894622803, -1.6097283363342285, 0.9798825979232788, 0.4598836600780487, -0.7434455752372742, 0.05074109882116318, -0.2270573079586029, 0.10462821274995804, -0.13590575754642487, 1.1850931644439697, 1.2135429382324219, 0.8258321285247803, -0.34324413537979126, -0.7739657759666443, 0.1685778945684433, 0.09017080813646317, -0.7778838872909546, -1.7292207479476929, -0.3777424693107605, 0.12948976457118988, 0.6076501607894897, -1.1181291341781616, 1.7444263696670532, 0.8988634943962097, 1.882169485092163, 0.973248302936554, -0.28189632296562195, 1.4115402698516846, -0.038350462913513184, 1.8871824741363525, -0.4463808834552765, 0.5305231809616089, -0.25498107075691223, -1.1057322025299072, 0.8372951149940491, -0.24821066856384277, -2.0669314861297607, -0.8729536533355713, -0.9188905954360962, -0.23284943401813507, -0.7382259368896484, 1.001306414604187, -0.2637196183204651, -1.4162214994430542, 0.1775943636894226, -0.5862812399864197, 0.033865753561258316, -1.2017704248428345, 0.3101304769515991, 0.6134631633758545, -0.6989569664001465, 0.0018218252807855606, -0.1829879730939865, -1.2244287729263306, -0.5217421650886536, 0.24778865277767181, 1.956559181213379, -0.788090169429779, 0.9566670656204224, 1.0377893447875977, -0.7821123600006104, 0.030977055430412292, 0.3173670172691345, -0.2985162138938904, 0.8341075778007507, -1.045659065246582, -0.4997295141220093, 1.19355309009552, -0.22813613712787628, -0.6643868088722229, 1.508765459060669, 0.7260857224464417, -0.9935584664344788, -0.13443684577941895, -0.2971912920475006, -0.7701762914657593, -0.03673364222049713, -1.5352040529251099, -0.09658677875995636, 0.2750837206840515, -1.427151083946228, -0.4829062223434448, -0.14893805980682373, 1.3310383558273315, -0.2263231873512268, 1.3156030178070068, -0.39539405703544617, -0.32998088002204895, -0.4051913917064667, -0.3669329285621643, 0.06750138103961945, -0.16271989047527313, -0.6511337161064148, 0.12253822386264801, -0.7934638261795044, 0.2854330837726593, 1.34929621219635, 0.366134375333786, 0.04647576063871384, 0.548682689666748, 1.1790921688079834, 0.32732489705085754, -0.0030858987011015415, -0.9434334635734558, -1.4596306085586548, 1.939782738685608, -1.5090060234069824, 1.9802476167678833, 0.6300108432769775, -0.027021851390600204, -1.8273694515228271, -1.8931206464767456, 1.441334843635559, 1.1351646184921265, 2.3359203338623047, 0.5289544463157654, 0.34182995557785034, -0.8453734517097473, -0.7171553373336792, 0.3550066649913788, -1.0386155843734741, -0.6374674439430237, 0.16707856953144073, 2.274796485900879, 1.7434543371200562, -0.5339409112930298, -0.22772489488124847, -1.0181143283843994, 1.2603650093078613, -0.10544593632221222, 0.23349244892597198, 2.0004773139953613, -0.32226118445396423, -1.1378923654556274, 1.2314069271087646, -2.306748628616333, 0.0450919084250927, 1.9990347623825073, 0.2198706418275833, 0.09185981750488281, -1.3576856851577759, -0.6766260862350464, -0.226643905043602, -0.49960240721702576, -1.2270179986953735, 0.5152747631072998, -0.3849949240684509, -0.7929584980010986, -1.347319483757019, 0.19704872369766235, -1.0951926708221436, -1.6670461893081665, 0.28415194153785706, 1.872673749923706, 1.9856735467910767, -0.6891209483146667, 1.5860098600387573, -0.2954530417919159, 0.17187108099460602, 1.3972662687301636, 1.300337314605713, 3.120800018310547, 1.8532685041427612, -1.3019999265670776, 0.6727070212364197, -0.08147675544023514, -0.5063633322715759, 1.2516714334487915, -1.1644569635391235, 1.3543790578842163, -0.18736135959625244, -1.1412042379379272, -1.2555550336837769, 0.8546867370605469, 0.45037347078323364, 0.18421445786952972, -0.5194848775863647, 1.21896231174469, 0.0728401392698288, 1.330423355102539, 0.5588656663894653, -0.4466182589530945, 0.6226726174354553, -0.41159966588020325, -0.4919086694717407, 1.5478476285934448, 0.2213703989982605, -1.3970309495925903, -2.320991039276123, -0.17510651051998138, -0.8553324341773987, -0.002389314118772745, -0.6194705367088318, -1.0155428647994995, 1.755853295326233, 0.3916936218738556, -1.332226276397705, -0.34020841121673584, -0.4804645776748657, -0.6835432648658752, 2.7485263347625732, -1.3686933517456055, -0.19310832023620605, -0.9873736500740051, -0.6749613285064697, 1.7081629037857056, -1.172907829284668, -0.1893615871667862, -1.0501644611358643, -0.548569917678833, -1.4616219997406006, -0.6066322922706604, 0.10354028642177582, -0.9949553608894348, 0.9006180763244629, 0.15096352994441986, -1.108731985092163, -0.3341236412525177, -0.8265913724899292, 0.839514970779419, -0.17574787139892578, 0.30645644664764404, 1.9728800058364868, 0.4662906229496002, -0.35184159874916077, 0.7458851933479309, 1.1312488317489624, 0.6295865774154663, -0.64656662940979, 0.34626317024230957, -0.707346498966217, 0.303398460149765, -1.2894123792648315, 0.31873559951782227, -2.9189300537109375, 0.6175409555435181, -0.10942717641592026, -0.012650995515286922, 0.0011288877576589584, -1.2983731031417847, 1.029209017753601, 2.6526942253112793, -1.2137619256973267, 0.38392016291618347, 0.32135555148124695, 1.1472017765045166, -1.5990321636199951, 0.31554654240608215, -0.45395413041114807, 2.0919926166534424, 0.12355093657970428, 1.151977300643921, -0.4884737432003021, -2.1909334659576416, 0.7054258584976196, -1.2733327150344849, -1.2724732160568237, 0.8574038743972778, -0.7198336720466614, 0.10556688904762268, -1.3453811407089233, -0.1669386476278305, -0.8884574770927429, -1.2624170780181885, 0.8712733387947083, 0.17419138550758362, 0.4664857089519501, -0.5429027080535889, 0.38374432921409607, -2.2371809482574463, -1.438970923423767, -0.2322826236486435, -0.886777937412262, 0.5027590990066528, -0.3507634103298187, 0.7589924931526184, -0.26696479320526123, 0.11308038234710693, 0.39860162138938904, 1.503309965133667, 3.453578472137451, 0.23482286930084229, 0.3501717448234558, -0.2148260474205017, -0.9258280396461487, 1.5772953033447266, 0.9427946209907532, -0.09462053328752518, -0.4561172425746918, -0.9995375275611877, 1.1287418603897095, 1.8928718566894531, 0.9337176084518433, 0.06177515909075737, -0.8176236748695374, -0.5566644072532654, -0.027721155434846878, 0.16464173793792725, 0.5089542865753174, 0.8647624254226685, 0.0480496771633625, 0.1104704886674881, 1.3561322689056396, 1.1806222200393677, -0.3439963459968567, 0.28892502188682556, -0.7629066705703735, -0.3920731842517853, 0.658988356590271, 0.31069785356521606, 0.0702764242887497, 0.3770309388637543, -0.9570074677467346, -0.28215888142585754, -0.361022025346756, -0.9857041239738464, -0.6391205191612244, -0.5039544105529785, -0.47068163752555847, 1.5434097051620483, 0.05349813774228096, -0.4749734401702881, -0.04135880991816521, -0.8437082171440125, -0.15757149457931519, -1.1571866273880005, 0.26269030570983887, -0.15243655443191528, -0.13907840847969055, -0.11466928571462631, 1.7123405933380127, -0.974208414554596, -2.088942527770996, 0.380913108587265, 0.30670496821403503, -0.35795852541923523, 0.2604360282421112, 1.5252022743225098, 0.5285065174102783, 1.466117024421692, 1.3644404411315918, 0.8948281407356262, -0.5840325951576233, -1.3116612434387207, 0.6309100389480591, 0.978420078754425, -1.5103806257247925, 0.7655145525932312, 0.08919070661067963, -0.47242075204849243, 0.6952261328697205, 1.231966257095337, 0.39588671922683716, -1.9204096794128418, 0.7244271636009216, -0.8088432550430298, 0.7655092477798462, 0.6593316197395325, 0.6781535744667053, 0.17361216247081757, 0.9344993233680725, -1.0736578702926636, -1.1386033296585083, -0.6692228317260742, -0.6423794031143188, 1.945148229598999, -0.16897304356098175, 0.6167356371879578, -0.22837653756141663, -1.2665691375732422, -0.017718154937028885, 0.6250941157341003, 0.3966919481754303, -0.37982597947120667, 0.801521897315979, -0.6559209823608398, -0.9641698598861694, -1.3881410360336304, -0.37887611985206604, -1.0229440927505493, -0.9238109588623047, 1.051606297492981, 0.8324196338653564, 0.2093074917793274, 1.8823918104171753, 0.6364151835441589, 0.2810429632663727, -2.6529855728149414, 0.9074940085411072, 0.3175085186958313, -0.0027611367404460907, 0.8553581833839417, 0.34815117716789246, 1.1005644798278809, -0.09176430851221085, 0.5258543491363525, -2.352175712585449, 2.2664504051208496, -0.26916566491127014, 0.5560497045516968, -0.047439176589250565, -0.2505287826061249, 1.0718274116516113, 0.5631763339042664, 0.47370052337646484, -1.1069751977920532, 0.6838399767875671, -0.6147512793540955, 1.1896584033966064, 0.9931257367134094, -0.789295494556427, 0.02400798350572586, 1.4515856504440308, 0.6413840055465698, -0.4755557179450989, -0.8293179869651794, -0.7919784784317017, 0.9253328442573547, 1.664562463760376, 0.029340248554944992, -0.07186799496412277, 0.896491527557373, 0.6583470702171326, -1.2144418954849243, 0.13845865428447723, -0.686456024646759, -0.7144842743873596, 1.6917425394058228, 2.0293893814086914, -0.035588596016168594, -0.17882812023162842, -0.8996889591217041, -1.14107084274292, 0.8685411810874939, 0.033886294811964035, 0.18029388785362244, 0.5528837442398071, -0.6529931426048279, 1.1207095384597778, 0.8598133325576782, 0.9222962856292725, 0.15020842850208282, 0.40445610880851746, 0.4266349673271179, -0.3048625588417053, -1.1912015676498413, -0.23541226983070374, -1.1083875894546509, -2.5525026321411133, 0.5989763736724854, -0.3455735743045807, -1.4219101667404175, -0.008943126536905766, -1.010090708732605, 0.9875602126121521, -0.5962498784065247, -1.1301889419555664, -1.5521910190582275, 0.13903109729290009, -0.038696467876434326, 0.9045478701591492, -1.5694210529327393, -0.10943863540887833, 1.3275130987167358, 0.9396787881851196, -0.7532205581665039, 0.9415163397789001, 0.2165757119655609, 1.1674628257751465, 0.7774773240089417, -0.4816363453865051, 0.5238001942634583, -0.010995493270456791, -1.484816074371338, 0.4519614577293396, 1.0999888181686401, 0.11271677911281586, 1.5919413566589355, -0.45575448870658875, 0.10082942992448807, 0.4143470525741577, -0.5560597777366638, -0.6207441687583923, -0.6290571093559265, 0.6888733506202698, 0.0576978363096714, -0.9249016642570496, 0.12121626734733582, 0.029432661831378937, -0.20954877138137817, 0.15213452279567719, -1.4669309854507446, -0.2264593243598938, -0.4050515592098236, -0.6052425503730774, -1.279197096824646, -0.03455589711666107, 1.322367548942566, -0.6900535225868225, -0.13428379595279694, 0.46297311782836914, 0.26615723967552185, 0.44711682200431824, 0.5678606629371643, -0.6884891986846924, -0.33581027388572693, -0.35582005977630615, -0.3849376440048218, 0.2826848030090332, 1.320494294166565, -0.16540135443210602, -0.9886406064033508, 0.7272968292236328, -0.261089950799942, 0.05268354341387749, 1.949074387550354, 0.09835030138492584, -0.7502325177192688, 0.31230416893959045, -0.6960427165031433, 1.817988395690918, 1.6909834146499634, 1.3498896360397339, -0.13666291534900665, -0.8792131543159485, 0.5299915075302124, -0.4073393642902374, -0.3608662486076355, 0.8536783456802368, 0.4316066801548004, -0.10201974213123322, -1.364230990409851, 0.7153909802436829, 1.2101699113845825, -0.9376006126403809, -0.8112002611160278, 0.10530662536621094, -0.7158619165420532, 0.9633633494377136, 0.6495920419692993, 0.4310753345489502, 0.38660362362861633, 1.53729248046875, 0.7057185769081116, -0.4057715833187103, 0.56966233253479, 0.5024653673171997, -0.11387541890144348, -2.0704331398010254, -1.2232413291931152, 0.40373513102531433, -0.6171563863754272, -1.6161267757415771, 1.4832452535629272, -1.120198130607605, -0.9132698178291321, 0.5951762795448303, 0.13803553581237793, 1.5129550695419312, 0.35069727897644043, 1.629562258720398, 2.0441529750823975, 0.8178842067718506, 0.35503318905830383, 1.3612293004989624, -0.0752149373292923, -0.4846535921096802, 1.9244667291641235, -0.5366649031639099, 0.5109198093414307, 1.1484416723251343, -0.28526782989501953, -1.0516972541809082, -0.8429207801818848, -1.2892528772354126, -0.6833084225654602, 1.1314955949783325, 0.13720594346523285, -1.0806796550750732, 0.1419558823108673, 1.640925407409668, 0.0222320519387722, -0.3422775864601135, 0.6739855408668518, 0.37060126662254333, -0.8722228407859802, -0.0896935909986496, -0.9299021363258362, 0.6195926070213318, -0.12710124254226685, -0.39442339539527893, 0.30026471614837646, 0.4780767858028412, 1.3348188400268555, -0.07220028340816498, 0.167066290974617, 1.187108039855957, -1.4055317640304565, 1.4845529794692993, -0.6421058773994446, 0.29171672463417053, -2.3639965057373047, 1.378965973854065, -0.8105834722518921, 1.853986144065857, -2.6180779933929443, 0.414549320936203, -0.5735036730766296, -0.4439796209335327, 0.30385249853134155, -0.45965877175331116, 0.10770752280950546, -0.15071885287761688, -1.066812515258789, -0.014578106813132763, -0.7180042862892151, 0.6296864151954651, 1.1769874095916748, 1.440162181854248, -1.099554181098938, -0.3963690400123596, -1.842400074005127, -0.19848209619522095, -0.6922370195388794, 0.3705878257751465, -2.034235954284668, -0.17443488538265228, -1.9213720560073853, -2.4139280319213867, -1.2865493297576904, -0.8996776938438416, 1.1357342004776, 0.13308216631412506, -0.8824907541275024, 1.111568808555603, -0.3424096703529358, -1.8515955209732056, 1.1802564859390259, -2.122624158859253 ]
https://github.com/huggingface/datasets/issues/4376
irc_disentagle viewer error
Hi there, I see this issue is closed, but I am wondering if there is any chance the source files have been moved since this fix? I am stumbling into the same NonMatchingChecksumError noted by lebouz's second post once 118MB of data has been downloaded, and have tried the solutions noted in the various fix checksum posts linked here and in other posts regarding passing in "reuse_cache_if_exists" to download_mode. Any suggestions? Thank you!
the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits: ``` Server error Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file ``` it appears to give the same message for the "channel_two" data as well. I get a Checksums error when using `load_data()` with this dataset. Even with the `download_mode` and `ignore_verifications` options set. i referenced the issue here: https://github.com/huggingface/datasets/issues/3807
752
73
irc_disentagle viewer error the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits: ``` Server error Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file ``` it appears to give the same message for the "channel_two" data as well. I get a Checksums error when using `load_data()` with this dataset. Even with the `download_mode` and `ignore_verifications` options set. i referenced the issue here: https://github.com/huggingface/datasets/issues/3807 Hi there, I see this issue is closed, but I am wondering if there is any chance the source files have been moved since this fix? I am stumbling into the same NonMatchingChecksumError noted by lebouz's second post once 118MB of data has been downloaded, and have tried the solutions noted in the various fix checksum posts linked here and in other posts regarding passing in "reuse_cache_if_exists" to download_mode. Any suggestions? Thank you!
[ -1.2027391195297241, -0.9330759644508362, -0.7653388381004333, 1.4653139114379883, -0.21699939668178558, -1.1999872922897339, 0.10910212248563766, -1.1125435829162598, 1.6692571640014648, -0.827778160572052, 0.3483855724334717, -1.644538164138794, 0.06107724457979202, -0.5974963903427124, -0.7116076946258545, -0.9234294295310974, -0.36349597573280334, -0.7461769580841064, 0.9382763504981995, 2.445483684539795, 1.26655113697052, -1.4431825876235962, 2.6791605949401855, 0.6203961968421936, -0.20543383061885834, -1.028903603553772, 0.5587278008460999, 0.07677455991506577, -1.0428237915039062, -0.42895227670669556, -0.9324377179145813, -0.06556090712547302, -0.49422577023506165, -0.4958636462688446, -0.08972354978322983, 0.44471555948257446, -0.3385957181453705, -0.39286360144615173, -0.6011916995048523, -0.8774596452713013, 0.5482106804847717, -0.4105992317199707, 1.0019689798355103, -0.43471014499664307, 1.910957932472229, -0.5363292694091797, 0.4446180462837219, 0.8457577228546143, 1.2788649797439575, 0.14430740475654602, -0.09980807453393936, 0.1473011076450348, 0.37862610816955566, -0.007482432760298252, 0.45027491450309753, 1.079452395439148, 0.5486788153648376, 0.602507472038269, 0.743713915348053, -2.2363271713256836, 1.2266348600387573, -1.1324007511138916, 0.19967912137508392, 1.3945465087890625, -0.9793354272842407, 0.2988355755805969, -1.8415900468826294, -0.04420308768749237, 0.5651978254318237, -2.2566232681274414, 0.24507296085357666, -1.3239611387252808, -0.5473905205726624, 0.972749650478363, 0.23606060445308685, -1.205707311630249, 0.1107797846198082, -0.25149819254875183, 1.069769263267517, 0.5660820603370667, 1.0530812740325928, -1.6003001928329468, 0.03283480927348137, -0.31078991293907166, 0.08131533861160278, -1.3457129001617432, -1.558731198310852, 0.5551090836524963, 0.5424153208732605, 0.4882185161113739, -0.062973253428936, 1.0454217195510864, -0.9928547739982605, 0.9060409665107727, -1.0272278785705566, -1.5414364337921143, -1.399943232536316, -2.3237876892089844, -2.290677070617676, 0.7598008513450623, -0.5188134908676147, -0.5158430933952332, 1.9989780187606812, -0.9784570932388306, -1.796573281288147, 1.2596023082733154, 0.259708046913147, 0.06472279131412506, 2.283363103866577, 0.24522799253463745, -0.7513275146484375, 0.427971214056015, -0.7538080215454102, 0.7879831194877625, -0.3782150447368622, 1.3704540729522705, 0.5749369859695435, -1.050222396850586, 1.6718672513961792, -0.40325483679771423, 0.5935449004173279, -0.6089820861816406, -0.6176594495773315, -0.7546678781509399, 0.37266477942466736, 1.815755009651184, -0.4136315584182739, 1.521302342414856, -0.3162248432636261, -1.5208358764648438, -1.617739200592041, 0.9646885395050049, 0.5056701302528381, -0.7669792175292969, 0.13984648883342743, -0.2778281271457672, 0.13490615785121918, -0.13481655716896057, 1.0990608930587769, 1.2799690961837769, 0.791353702545166, -0.3024722635746002, -0.8083605766296387, 0.19363237917423248, -0.028841141611337662, -0.7100063562393188, -1.781990885734558, -0.4113028645515442, 0.09420332312583923, 0.6319491267204285, -1.0752317905426025, 1.7642897367477417, 0.9561779499053955, 1.8765039443969727, 0.9374337792396545, -0.2639421820640564, 1.4691312313079834, -0.06052761524915695, 1.8720903396606445, -0.45511096715927124, 0.5875886082649231, -0.2509181499481201, -1.1178913116455078, 0.8390593528747559, -0.31200966238975525, -2.004617691040039, -0.8730400204658508, -0.9686509370803833, -0.21543805301189423, -0.730091392993927, 0.9758427739143372, -0.22563764452934265, -1.3353124856948853, 0.2281491756439209, -0.5646381974220276, 0.06044526398181915, -1.1715562343597412, 0.30432891845703125, 0.5849688053131104, -0.6305209994316101, 0.002327321097254753, -0.15230336785316467, -1.211057186126709, -0.5032934546470642, 0.2175266146659851, 1.9592745304107666, -0.8470984101295471, 0.9335377216339111, 1.014668583869934, -0.7792155146598816, 0.0363553985953331, 0.31849414110183716, -0.32354092597961426, 0.8082811832427979, -1.0539524555206299, -0.49363288283348083, 1.1828008890151978, -0.2312363237142563, -0.5797145366668701, 1.4875552654266357, 0.7516680955886841, -1.0027058124542236, -0.136769637465477, -0.23580166697502136, -0.7445944547653198, -0.045549772679805756, -1.4933944940567017, -0.13977281749248505, 0.31147950887680054, -1.4122329950332642, -0.4216957092285156, -0.1831582933664322, 1.325636625289917, -0.20967450737953186, 1.4097498655319214, -0.40910497307777405, -0.31326526403427124, -0.3885663151741028, -0.3851419985294342, 0.14405150711536407, -0.17523549497127533, -0.6299552321434021, 0.1114155575633049, -0.8259561657905579, 0.31476107239723206, 1.3479939699172974, 0.3681918680667877, -0.00020649190992116928, 0.4950858950614929, 1.1483232975006104, 0.395007461309433, 0.04457731544971466, -0.9485464096069336, -1.4036744832992554, 1.9270613193511963, -1.540091872215271, 2.0156896114349365, 0.7791247963905334, -0.014334792271256447, -1.7614811658859253, -1.8807289600372314, 1.4213908910751343, 1.1618318557739258, 2.3103511333465576, 0.5550942420959473, 0.33405032753944397, -0.8797845840454102, -0.6635331511497498, 0.3510362207889557, -1.1353360414505005, -0.6536454558372498, 0.07789438217878342, 2.299424886703491, 1.7405935525894165, -0.47813987731933594, -0.2611544132232666, -0.9298167824745178, 1.2932661771774292, -0.0553666315972805, 0.18576748669147491, 2.0589685440063477, -0.3336849808692932, -1.2080618143081665, 1.2185918092727661, -2.360527515411377, 0.09216699004173279, 2.0746467113494873, 0.29047903418540955, 0.07577782869338989, -1.4219810962677002, -0.6481274366378784, -0.20086194574832916, -0.5116822123527527, -1.2072950601577759, 0.6277291178703308, -0.3600479066371918, -0.7917754054069519, -1.387136697769165, 0.2665121257305145, -1.1398664712905884, -1.6937580108642578, 0.2850716710090637, 1.8767361640930176, 2.0805773735046387, -0.7671579122543335, 1.5518600940704346, -0.2849925756454468, 0.20792566239833832, 1.399880051612854, 1.2577050924301147, 3.13389253616333, 1.8837385177612305, -1.266049861907959, 0.5819301605224609, -0.1834753155708313, -0.5294198393821716, 1.190302848815918, -1.1698447465896606, 1.2839806079864502, -0.15299858152866364, -1.0924773216247559, -1.2378789186477661, 0.8505762219429016, 0.44927978515625, 0.14097602665424347, -0.47777849435806274, 1.2209826707839966, 0.18146413564682007, 1.3247712850570679, 0.5514242053031921, -0.3639944791793823, 0.5946563482284546, -0.4185851216316223, -0.4951035678386688, 1.5663402080535889, 0.24563351273536682, -1.3746395111083984, -2.2975118160247803, -0.19486233592033386, -0.8466135859489441, -0.016415175050497055, -0.6029703617095947, -1.0375107526779175, 1.7095988988876343, 0.3791808485984802, -1.3385614156723022, -0.3073273301124573, -0.4655345380306244, -0.677196204662323, 2.663802146911621, -1.3855252265930176, -0.21097375452518463, -0.9558180570602417, -0.6703211665153503, 1.6508879661560059, -1.2015782594680786, -0.1888786256313324, -1.0081669092178345, -0.5467225313186646, -1.432960033416748, -0.6252336502075195, 0.06792397797107697, -0.9659918546676636, 0.823731005191803, 0.26729413866996765, -1.0966181755065918, -0.3941326439380646, -0.7798970341682434, 0.7920519709587097, -0.13645373284816742, 0.345675528049469, 1.9663630723953247, 0.37891554832458496, -0.37148526310920715, 0.7576323747634888, 1.1430637836456299, 0.6302974820137024, -0.6421144604682922, 0.29446521401405334, -0.6823201179504395, 0.34190133213996887, -1.2793534994125366, 0.310730516910553, -2.921671152114868, 0.7074437737464905, -0.054354287683963776, -0.11008872836828232, -0.0184871107339859, -1.3664435148239136, 1.067585825920105, 2.6527259349823, -1.117012858390808, 0.39682695269584656, 0.3632426857948303, 1.2419524192810059, -1.5910494327545166, 0.33252450823783875, -0.4319344460964203, 2.1292366981506348, 0.14731797575950623, 1.248734712600708, -0.4707489609718323, -2.302673101425171, 0.6302027106285095, -1.312729001045227, -1.3066556453704834, 0.791943371295929, -0.7677281498908997, 0.03110475465655327, -1.4218549728393555, -0.22429747879505157, -0.918135404586792, -1.2177085876464844, 0.7981888651847839, 0.12311597913503647, 0.42781054973602295, -0.5946753025054932, 0.3663082420825958, -2.2034919261932373, -1.4503273963928223, -0.25026944279670715, -0.9149935245513916, 0.49313074350357056, -0.3953366279602051, 0.7560293674468994, -0.23996984958648682, 0.10959374159574509, 0.3532622754573822, 1.5675972700119019, 3.425659656524658, 0.21082372963428497, 0.42130905389785767, -0.22882919013500214, -0.9305386543273926, 1.6047202348709106, 0.9219475388526917, -0.1255548894405365, -0.5073950886726379, -1.0364103317260742, 1.176986575126648, 1.9075161218643188, 0.8829846978187561, 0.07164059579372406, -0.8015412092208862, -0.5595681667327881, -0.07768605649471283, 0.14007900655269623, 0.5333274602890015, 0.90666264295578, 0.04025353863835335, 0.08384477347135544, 1.3450794219970703, 1.1871609687805176, -0.4544011354446411, 0.26907870173454285, -0.8119891881942749, -0.4037560224533081, 0.5787944197654724, 0.24530667066574097, 0.02502729743719101, 0.40146347880363464, -0.8915914297103882, -0.2905198931694031, -0.3104800283908844, -0.9531885981559753, -0.6611451506614685, -0.5457400679588318, -0.392152339220047, 1.5809407234191895, 0.11672856658697128, -0.5167540907859802, -0.0021606730297207832, -0.8127349615097046, -0.1494545191526413, -1.1550543308258057, 0.12811653316020966, -0.1353670209646225, -0.15664783120155334, -0.08728789538145065, 1.7258243560791016, -0.9316165447235107, -2.0535848140716553, 0.3466966152191162, 0.31892693042755127, -0.3114141821861267, 0.21372075378894806, 1.5546706914901733, 0.5028874278068542, 1.451564073562622, 1.2628787755966187, 0.9228305816650391, -0.5876836180686951, -1.2699918746948242, 0.7290825843811035, 0.9646903872489929, -1.4274407625198364, 0.7939075827598572, 0.03828926011919975, -0.4541369378566742, 0.6585028171539307, 1.2613784074783325, 0.4467596709728241, -1.9509893655776978, 0.7525417804718018, -0.8260902166366577, 0.7736530303955078, 0.6469510793685913, 0.6455877423286438, 0.184462308883667, 0.8775222897529602, -1.0848907232284546, -1.1289629936218262, -0.7268382906913757, -0.6736644506454468, 2.0053272247314453, -0.207832932472229, 0.6256733536720276, -0.21825428307056427, -1.27980637550354, -0.10040617734193802, 0.6610535979270935, 0.3518775999546051, -0.3207800090312958, 0.7778282165527344, -0.7109100222587585, -0.966593861579895, -1.421419620513916, -0.31160444021224976, -1.0221506357192993, -0.9700601100921631, 1.0856475830078125, 0.8157249689102173, 0.21457302570343018, 1.8761073350906372, 0.6630449891090393, 0.28799861669540405, -2.63618803024292, 0.9731377363204956, 0.313834011554718, -0.056130703538656235, 0.8748819231987, 0.30553656816482544, 1.0968021154403687, -0.03725667670369148, 0.5108194351196289, -2.4126105308532715, 2.290745496749878, -0.24603015184402466, 0.6073693633079529, -0.03765470162034035, -0.25475916266441345, 1.135833978652954, 0.5422403216362, 0.5038434267044067, -1.0937070846557617, 0.6405619978904724, -0.5567745566368103, 1.2139049768447876, 0.9209211468696594, -0.7792211174964905, 0.03242459520697594, 1.3956949710845947, 0.6188608407974243, -0.5282375812530518, -0.8426291346549988, -0.8450063467025757, 0.8798607587814331, 1.7124056816101074, -0.03144301846623421, -0.07454978674650192, 0.7851476669311523, 0.656582772731781, -1.1981351375579834, 0.11170465499162674, -0.7148826718330383, -0.7477121353149414, 1.6862056255340576, 2.0501980781555176, -0.08254141360521317, -0.2663879990577698, -0.886110782623291, -1.233848214149475, 0.8263605833053589, 0.019725557416677475, 0.14172983169555664, 0.5482178330421448, -0.6739062666893005, 1.1534037590026855, 0.86518394947052, 0.917070209980011, 0.18738755583763123, 0.4227357506752014, 0.4395977556705475, -0.31469178199768066, -1.1364731788635254, -0.28088808059692383, -1.1340272426605225, -2.5803062915802, 0.556735098361969, -0.3037024736404419, -1.3557921648025513, -0.046185437589883804, -0.9758390188217163, 0.939185380935669, -0.5461311936378479, -1.1322721242904663, -1.570067286491394, 0.12744063138961792, -0.02692447602748871, 0.8826321959495544, -1.5669019222259521, -0.1408252716064453, 1.3408610820770264, 0.9456146359443665, -0.7475268244743347, 0.9419910907745361, 0.21347016096115112, 1.0957142114639282, 0.7802124619483948, -0.4981807470321655, 0.5749354362487793, -0.045509856194257736, -1.4959194660186768, 0.47116410732269287, 1.148422122001648, 0.1291341483592987, 1.5649949312210083, -0.44803619384765625, 0.05615007132291794, 0.42277657985687256, -0.5660768747329712, -0.643003523349762, -0.596265435218811, 0.6894111633300781, 0.03914361074566841, -0.9166675806045532, 0.09756732732057571, 0.0030240071937441826, -0.26812803745269775, 0.1912165880203247, -1.5062001943588257, -0.24512402713298798, -0.380897581577301, -0.5936763882637024, -1.3507200479507446, 0.00919437874108553, 1.366804599761963, -0.7177402973175049, -0.12126230448484421, 0.4462774395942688, 0.3160826861858368, 0.4558911919593811, 0.5677168965339661, -0.6885097622871399, -0.4175400733947754, -0.33185875415802, -0.3739722669124603, 0.28872209787368774, 1.303153157234192, -0.16072571277618408, -0.9642409086227417, 0.6578229069709778, -0.2624058127403259, 0.0446469783782959, 1.9402532577514648, 0.13420850038528442, -0.7211204767227173, 0.3159882724285126, -0.7485527396202087, 1.8545793294906616, 1.628187656402588, 1.3140710592269897, -0.070215605199337, -0.8422624468803406, 0.6495303511619568, -0.3916391432285309, -0.33226704597473145, 0.9311739206314087, 0.4117828905582428, -0.08936764299869537, -1.4124343395233154, 0.6665605902671814, 1.2866730690002441, -0.9551870226860046, -0.8191137313842773, 0.054110102355480194, -0.7419009804725647, 1.013540506362915, 0.6216737627983093, 0.46539536118507385, 0.36491504311561584, 1.6349562406539917, 0.7666127681732178, -0.4336928129196167, 0.5689215064048767, 0.5400885343551636, -0.12041962891817093, -2.089085102081299, -1.186861276626587, 0.39129337668418884, -0.5818876028060913, -1.5989699363708496, 1.4534761905670166, -1.0705934762954712, -0.9719301462173462, 0.6344869136810303, 0.08318767696619034, 1.4755796194076538, 0.31688371300697327, 1.6351935863494873, 2.0092084407806396, 0.7761968374252319, 0.3799693286418915, 1.2437989711761475, -0.12026343494653702, -0.48295140266418457, 1.9591830968856812, -0.5157848596572876, 0.45209482312202454, 1.1374951601028442, -0.29482653737068176, -1.0606738328933716, -0.8784803748130798, -1.2424780130386353, -0.6955438256263733, 1.1611714363098145, 0.171530082821846, -1.114133358001709, 0.1866634041070938, 1.7012825012207031, 0.07759715616703033, -0.3884119987487793, 0.5816180109977722, 0.40920504927635193, -0.8446270823478699, -0.0891091451048851, -0.898611843585968, 0.5319778919219971, -0.10858158767223358, -0.40324369072914124, 0.3170916438102722, 0.5302553176879883, 1.3205537796020508, -0.16317768394947052, 0.11347707360982895, 1.110360860824585, -1.413783311843872, 1.4653488397598267, -0.6406801342964172, 0.2808879315853119, -2.345337152481079, 1.3759063482284546, -0.7990424633026123, 1.993334174156189, -2.6202738285064697, 0.3901054561138153, -0.5788458585739136, -0.4378806948661804, 0.30300572514533997, -0.4170808494091034, 0.06915149837732315, -0.16795524954795837, -1.0388511419296265, -0.05686938390135765, -0.6961384415626526, 0.6528233885765076, 1.1865084171295166, 1.3754687309265137, -1.1177490949630737, -0.31453755497932434, -1.7591521739959717, -0.21646809577941895, -0.7036533355712891, 0.2950637638568878, -2.0994725227355957, -0.12430083006620407, -1.9911227226257324, -2.264174699783325, -1.3019299507141113, -0.8622130751609802, 1.0763708353042603, 0.11301792412996292, -0.8941277861595154, 1.107222080230713, -0.26569801568984985, -1.803436279296875, 1.1964898109436035, -2.055887460708618 ]
https://github.com/huggingface/datasets/issues/4374
extremely slow processing when using a custom dataset
Hi ! My guess is that some examples in your dataset are bigger than your RAM, and therefore loading them in RAM to pass them to `remove_non_indic_sentences` takes forever because it might use SWAP memory. Maybe several examples in your dataset are grouped together, can you check `len(lang_dataset["train"])` and `lang_dataset["train"].data.nbytes` of both datasets please ? It can also be helpful to check the distribution of lengths of each examples in your dataset.
## processing a custom dataset loaded as .txt file is extremely slow, compared to a dataset of similar volume from the hub I have a large .txt file of 22 GB which i load into HF dataset `lang_dataset = datasets.load_dataset("text", data_files="hi.txt")` further i use a pre-processing function to clean the dataset `lang_dataset["train"] = lang_dataset["train"].map( remove_non_indic_sentences, num_proc=12, batched=True, remove_columns=lang_dataset['train'].column_names), batch_size=64)` the following processing takes astronomical time to process, while hoging all the ram. similar dataset of same size that's available in the huggingface hub works completely fine. which runs the same processing function and has the same amount of data. `lang_dataset = datasets.load_dataset("oscar-corpus/OSCAR-2109", "hi", use_auth_token=True)` the hours predicted to preprocess are as follows: huggingface hub dataset: 6.5 hrs custom loaded dataset: 7000 hrs note: both the datasets are almost actually same, just provided by different sources with has +/- some samples, only one is hosted on the HF hub and the other is downloaded in a text format. ## Steps to reproduce the bug ``` import datasets import psutil import sys import glob from fastcore.utils import listify import re import gc def remove_non_indic_sentences(example): tmp_ls = [] eng_regex = r'[. a-zA-Z0-9ÖÄÅâÀΓ₯ _.,!"\'\/$]*' for e in listify(example['text']): matches = re.findall(eng_regex, e) for match in (str(match).strip() for match in matches if match not in [""," ", " ", ",", " ,", ", ", " , "]): if len(list(match.split(" "))) > 2: e = re.sub(match," ",e,count=1) tmp_ls.append(e) gc.collect() example['clean_text'] = tmp_ls return example lang_dataset = datasets.load_dataset("text", data_files="hi.txt") lang_dataset["train"] = lang_dataset["train"].map( remove_non_indic_sentences, num_proc=12, batched=True, remove_columns=lang_dataset['train'].column_names), batch_size=64) ## same thing work much faster when loading similar dataset from hub lang_dataset = datasets.load_dataset("oscar-corpus/OSCAR-2109", "hi", split="train", use_auth_token=True) lang_dataset["train"] = lang_dataset["train"].map( remove_non_indic_sentences, num_proc=12, batched=True, remove_columns=lang_dataset['train'].column_names), batch_size=64) ``` ## Actual results similar dataset of same size that's available in the huggingface hub works completely fine. which runs the same processing function and has the same amount of data. `lang_dataset = datasets.load_dataset("oscar-corpus/OSCAR-2109", "hi", use_auth_token=True) **the hours predicted to preprocess are as follows:** huggingface hub dataset: 6.5 hrs custom loaded dataset: 7000 hrs **i even tried the following:** - sharding the large 22gb text files into smaller files and loading - saving the file to disk and then loading - using lesser num_proc - using smaller batch size - processing without batches ie : without `batched=True` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.2.2.dev0 - Platform: Ubuntu 20.04 LTS - Python version: 3.9.7 - PyArrow version:8.0.0
753
72
extremely slow processing when using a custom dataset ## processing a custom dataset loaded as .txt file is extremely slow, compared to a dataset of similar volume from the hub I have a large .txt file of 22 GB which i load into HF dataset `lang_dataset = datasets.load_dataset("text", data_files="hi.txt")` further i use a pre-processing function to clean the dataset `lang_dataset["train"] = lang_dataset["train"].map( remove_non_indic_sentences, num_proc=12, batched=True, remove_columns=lang_dataset['train'].column_names), batch_size=64)` the following processing takes astronomical time to process, while hoging all the ram. similar dataset of same size that's available in the huggingface hub works completely fine. which runs the same processing function and has the same amount of data. `lang_dataset = datasets.load_dataset("oscar-corpus/OSCAR-2109", "hi", use_auth_token=True)` the hours predicted to preprocess are as follows: huggingface hub dataset: 6.5 hrs custom loaded dataset: 7000 hrs note: both the datasets are almost actually same, just provided by different sources with has +/- some samples, only one is hosted on the HF hub and the other is downloaded in a text format. ## Steps to reproduce the bug ``` import datasets import psutil import sys import glob from fastcore.utils import listify import re import gc def remove_non_indic_sentences(example): tmp_ls = [] eng_regex = r'[. a-zA-Z0-9ÖÄÅâÀΓ₯ _.,!"\'\/$]*' for e in listify(example['text']): matches = re.findall(eng_regex, e) for match in (str(match).strip() for match in matches if match not in [""," ", " ", ",", " ,", ", ", " , "]): if len(list(match.split(" "))) > 2: e = re.sub(match," ",e,count=1) tmp_ls.append(e) gc.collect() example['clean_text'] = tmp_ls return example lang_dataset = datasets.load_dataset("text", data_files="hi.txt") lang_dataset["train"] = lang_dataset["train"].map( remove_non_indic_sentences, num_proc=12, batched=True, remove_columns=lang_dataset['train'].column_names), batch_size=64) ## same thing work much faster when loading similar dataset from hub lang_dataset = datasets.load_dataset("oscar-corpus/OSCAR-2109", "hi", split="train", use_auth_token=True) lang_dataset["train"] = lang_dataset["train"].map( remove_non_indic_sentences, num_proc=12, batched=True, remove_columns=lang_dataset['train'].column_names), batch_size=64) ``` ## Actual results similar dataset of same size that's available in the huggingface hub works completely fine. which runs the same processing function and has the same amount of data. `lang_dataset = datasets.load_dataset("oscar-corpus/OSCAR-2109", "hi", use_auth_token=True) **the hours predicted to preprocess are as follows:** huggingface hub dataset: 6.5 hrs custom loaded dataset: 7000 hrs **i even tried the following:** - sharding the large 22gb text files into smaller files and loading - saving the file to disk and then loading - using lesser num_proc - using smaller batch size - processing without batches ie : without `batched=True` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.2.2.dev0 - Platform: Ubuntu 20.04 LTS - Python version: 3.9.7 - PyArrow version:8.0.0 Hi ! My guess is that some examples in your dataset are bigger than your RAM, and therefore loading them in RAM to pass them to `remove_non_indic_sentences` takes forever because it might use SWAP memory. Maybe several examples in your dataset are grouped together, can you check `len(lang_dataset["train"])` and `lang_dataset["train"].data.nbytes` of both datasets please ? It can also be helpful to check the distribution of lengths of each examples in your dataset.
[ -1.2984925508499146, -0.9304518699645996, -0.6929962038993835, 1.469632863998413, -0.20919683575630188, -1.1727715730667114, 0.10140977799892426, -1.156410813331604, 1.6446729898452759, -0.8181276917457581, 0.2886771261692047, -1.6363236904144287, -0.013991892337799072, -0.663316011428833, -0.667073130607605, -0.9391717910766602, -0.44360339641571045, -0.7757809162139893, 1.1033265590667725, 2.4761080741882324, 1.2170008420944214, -1.3895056247711182, 2.7690651416778564, 0.6999573707580566, -0.14973920583724976, -0.968391478061676, 0.5885310173034668, 0.0037407977506518364, -1.2613855600357056, -0.46112215518951416, -1.030261516571045, -0.06882421672344208, -0.5791518092155457, -0.45462659001350403, 0.026734132319688797, 0.40870970487594604, -0.31704604625701904, -0.4478304982185364, -0.6156553030014038, -0.7803462147712708, 0.42225050926208496, -0.33706948161125183, 0.9809433817863464, -0.3288264870643616, 1.8291654586791992, -0.5991559028625488, 0.4093746244907379, 0.7519432306289673, 1.2701373100280762, 0.22284671664237976, 0.05181568115949631, 0.32542455196380615, 0.38710370659828186, -0.10790625214576721, 0.5803954601287842, 1.1430509090423584, 0.6087656617164612, 0.4977850019931793, 0.8097259402275085, -2.22465181350708, 1.3327442407608032, -1.0756199359893799, 0.29815933108329773, 1.431749701499939, -0.8936814665794373, 0.4176516830921173, -1.7794958353042603, -0.05638062208890915, 0.5973079800605774, -2.2845757007598877, 0.28533458709716797, -1.2812471389770508, -0.574708104133606, 0.9432191848754883, 0.38264256715774536, -1.199193000793457, 0.20286236703395844, -0.49484992027282715, 1.063828945159912, 0.4895651936531067, 1.1120363473892212, -1.7111740112304688, -0.02017218805849552, -0.2391011267900467, 0.16165445744991302, -1.3325424194335938, -1.4998173713684082, 0.6377847790718079, 0.6056635975837708, 0.5722885727882385, -0.11196024715900421, 1.0976588726043701, -1.0568079948425293, 0.8212371468544006, -1.0690953731536865, -1.638664722442627, -1.4507583379745483, -2.3222103118896484, -2.278132200241089, 0.7608599066734314, -0.5240140557289124, -0.5594222545623779, 2.08699631690979, -1.0020451545715332, -1.645039439201355, 1.1690876483917236, 0.24748584628105164, 0.00969119556248188, 2.48673677444458, 0.22393888235092163, -0.766270101070404, 0.49157246947288513, -0.7607885599136353, 0.8367944359779358, -0.301851749420166, 1.3571527004241943, 0.37647953629493713, -1.029179573059082, 1.581490159034729, -0.41135239601135254, 0.5897123217582703, -0.5616829991340637, -0.5452603101730347, -0.75065678358078, 0.351024866104126, 1.8521133661270142, -0.2518947124481201, 1.5135139226913452, -0.3427813947200775, -1.58231782913208, -1.6468216180801392, 0.9060540199279785, 0.48181217908859253, -0.8226945400238037, 0.06915456056594849, -0.3642005920410156, 0.07592995464801788, -0.076438307762146, 1.164222240447998, 1.3055310249328613, 0.7311403155326843, -0.4065226912498474, -0.8151887655258179, 0.08416809141635895, -0.11548452079296112, -0.7893096208572388, -1.747003197669983, -0.39582839608192444, 0.12177909910678864, 0.6179051995277405, -1.22584867477417, 1.750854253768921, 0.9930498600006104, 1.8841338157653809, 0.9893708229064941, -0.38214901089668274, 1.4272133111953735, 0.10744495689868927, 1.755581259727478, -0.5461732745170593, 0.6506020426750183, -0.3514185845851898, -1.1701730489730835, 0.8330015540122986, -0.3034021258354187, -1.990256905555725, -0.8447662591934204, -0.729736864566803, -0.18257732689380646, -0.7764344811439514, 0.9419090747833252, -0.3630632758140564, -1.4254508018493652, 0.21549969911575317, -0.6746826767921448, 0.1630851775407791, -1.176713466644287, 0.2609046697616577, 0.6581699252128601, -0.698138952255249, 0.06464985013008118, -0.2032996416091919, -1.2796635627746582, -0.47245460748672485, 0.2810558080673218, 1.8197028636932373, -0.7148951888084412, 0.8817341923713684, 1.047368049621582, -0.6978785395622253, 0.006699437275528908, 0.25230610370635986, -0.265252947807312, 0.8144933581352234, -0.9844914078712463, -0.5527003407478333, 1.2027875185012817, -0.20530611276626587, -0.58100426197052, 1.5279628038406372, 0.693577229976654, -1.032089352607727, -0.24791178107261658, -0.19559289515018463, -0.860052227973938, 0.018386272713541985, -1.5085901021957397, -0.09560799598693848, 0.41803494095802307, -1.5176657438278198, -0.48033690452575684, -0.19212667644023895, 1.285887598991394, -0.2003508061170578, 1.461869716644287, -0.4115886390209198, -0.21743571758270264, -0.3535155951976776, -0.3892126679420471, 0.20662017166614532, -0.1893310397863388, -0.6277856826782227, 0.138962522149086, -0.8160454034805298, 0.3259163200855255, 1.441991925239563, 0.36046329140663147, 0.022387485951185226, 0.4290705621242523, 1.12142813205719, 0.39128580689430237, -0.04065312072634697, -0.8931331038475037, -1.4770466089248657, 1.9822288751602173, -1.5255202054977417, 1.9802336692810059, 0.6945623755455017, -0.0364566445350647, -1.8382177352905273, -1.8517128229141235, 1.2561193704605103, 1.241621971130371, 2.3151161670684814, 0.4908558428287506, 0.3232339024543762, -0.8344373106956482, -0.6636523008346558, 0.3302285671234131, -1.010343313217163, -0.609849750995636, 0.23172292113304138, 2.3350329399108887, 1.832915186882019, -0.48164069652557373, -0.1703723818063736, -0.9706270694732666, 1.3912066221237183, -0.2733011245727539, 0.2909073829650879, 1.9669643640518188, -0.2783932089805603, -1.0816881656646729, 1.3663763999938965, -2.3770415782928467, 0.12091028690338135, 1.9857978820800781, 0.31732332706451416, 0.11390110850334167, -1.325986623764038, -0.6783133149147034, -0.3589715361595154, -0.445178359746933, -1.2827459573745728, 0.5213766694068909, -0.30123934149742126, -0.8470181822776794, -1.4330917596817017, 0.1467263102531433, -1.201279640197754, -1.5885370969772339, 0.28759557008743286, 1.8423582315444946, 2.075551986694336, -0.7909483313560486, 1.5439999103546143, -0.3367542624473572, 0.15433067083358765, 1.1149344444274902, 1.284305214881897, 3.0559825897216797, 1.8357936143875122, -1.2278733253479004, 0.605079710483551, -0.18602389097213745, -0.4474293291568756, 1.1268502473831177, -1.1493908166885376, 1.2952784299850464, -0.08702608942985535, -1.1940114498138428, -1.1946965456008911, 0.9605796933174133, 0.4236868917942047, 0.045290928333997726, -0.5077365636825562, 1.1830260753631592, 0.07920366525650024, 1.3799251317977905, 0.5868285894393921, -0.38885876536369324, 0.5637420415878296, -0.4381754696369171, -0.5465759634971619, 1.5457773208618164, 0.14701901376247406, -1.4574916362762451, -2.1923141479492188, -0.2639257609844208, -0.7749399542808533, 0.09399561583995819, -0.5777701139450073, -0.9998781085014343, 1.6794962882995605, 0.30517202615737915, -1.2495659589767456, -0.2721605896949768, -0.41714033484458923, -0.5269016027450562, 2.7675271034240723, -1.2935696840286255, -0.20693236589431763, -0.9159946441650391, -0.6719468832015991, 1.6455631256103516, -1.1201841831207275, -0.19497250020503998, -1.0698691606521606, -0.48593026399612427, -1.3584522008895874, -0.5434122681617737, 0.020857036113739014, -1.0032083988189697, 0.8848061561584473, 0.20578424632549286, -1.137202262878418, -0.38539743423461914, -0.8431873321533203, 0.9802119731903076, -0.169635608792305, 0.15036524832248688, 1.9118086099624634, 0.3190765380859375, -0.39995232224464417, 0.7552186846733093, 1.2184282541275024, 0.66871178150177, -0.6470780968666077, 0.11098368465900421, -0.6973853707313538, 0.3604874014854431, -1.269059181213379, 0.18837875127792358, -2.88266658782959, 0.6029895544052124, -0.047347646206617355, -0.13707369565963745, 0.03016168624162674, -1.2996783256530762, 1.072381854057312, 2.5903451442718506, -1.188249945640564, 0.44577455520629883, 0.35390493273735046, 1.1821935176849365, -1.6050481796264648, 0.34187090396881104, -0.45472297072410583, 1.9899203777313232, 0.20912015438079834, 1.226654052734375, -0.5444415807723999, -2.3230865001678467, 0.6006972789764404, -1.2873947620391846, -1.1958720684051514, 0.8247328996658325, -0.9125753045082092, 0.2635413110256195, -1.4725472927093506, -0.2627992331981659, -0.8785575032234192, -1.1702892780303955, 0.6745182275772095, 0.18335901200771332, 0.44064486026763916, -0.561894953250885, 0.38092368841171265, -2.2289538383483887, -1.380961298942566, -0.28254780173301697, -0.9242305755615234, 0.5687377452850342, -0.42768794298171997, 0.6731038093566895, -0.13176268339157104, 0.029839545488357544, 0.3584321439266205, 1.5318082571029663, 3.4348416328430176, 0.18913044035434723, 0.25542303919792175, -0.18060559034347534, -0.9717705249786377, 1.4626500606536865, 0.9616601467132568, -0.08836296200752258, -0.5617511868476868, -1.0152666568756104, 1.2435930967330933, 1.9633312225341797, 0.990993857383728, -0.029452668502926826, -0.8441601395606995, -0.6827729344367981, -0.03134258836507797, 0.1769084930419922, 0.4782247245311737, 0.9160346388816833, 0.0060197096318006516, 0.08570367097854614, 1.5082437992095947, 1.137366771697998, -0.3693614602088928, 0.28777119517326355, -0.8334506750106812, -0.5237720608711243, 0.5725997090339661, 0.23481455445289612, -0.04310326650738716, 0.4544757008552551, -1.0069911479949951, -0.250409871339798, -0.38788318634033203, -0.8847379684448242, -0.5919110178947449, -0.3965073823928833, -0.3774152994155884, 1.6552817821502686, 0.16119709610939026, -0.5204321146011353, -0.024982569739222527, -0.733852207660675, -0.1845424324274063, -1.0868200063705444, 0.2573535144329071, -0.08292320370674133, -0.11852055788040161, -0.18964146077632904, 1.780301809310913, -0.934770405292511, -1.976291537284851, 0.13489823043346405, 0.26969191431999207, -0.19362495839595795, 0.19790886342525482, 1.5927067995071411, 0.5289626121520996, 1.468162178993225, 1.2882885932922363, 0.910539984703064, -0.5949708223342896, -1.3716391324996948, 0.6617428660392761, 0.9810999631881714, -1.3703736066818237, 0.8766457438468933, -0.09332287311553955, -0.5783519148826599, 0.5995626449584961, 1.3191914558410645, 0.4726909101009369, -1.9785352945327759, 0.8591062426567078, -1.0414414405822754, 0.8434069156646729, 0.7169273495674133, 0.6916743516921997, 0.15834414958953857, 0.8551098704338074, -1.1859647035598755, -1.131722331047058, -0.7057368159294128, -0.6995487809181213, 2.002747058868408, -0.33119258284568787, 0.6057748794555664, -0.2954711616039276, -1.2303094863891602, -0.0017875265330076218, 0.6930737495422363, 0.41832974553108215, -0.41669926047325134, 0.8419492244720459, -0.7144283652305603, -1.0741249322891235, -1.4170923233032227, -0.415024995803833, -1.025930404663086, -0.9869202971458435, 1.080679178237915, 0.7392846941947937, 0.2750987112522125, 1.8680883646011353, 0.6691359281539917, 0.31267300248146057, -2.4944000244140625, 0.9040877223014832, 0.24201872944831848, -0.10908615589141846, 0.8184685111045837, 0.38016754388809204, 1.0635411739349365, -0.00636473810300231, 0.5541905760765076, -2.459702253341675, 2.289710521697998, -0.2120862901210785, 0.7146114706993103, -0.04062031954526901, -0.1635364443063736, 1.1273503303527832, 0.6193885207176208, 0.49896106123924255, -1.0244158506393433, 0.6132230758666992, -0.4681481420993805, 1.1855779886245728, 0.9220899939537048, -0.7355797290802002, -0.004007075913250446, 1.3396244049072266, 0.5186435580253601, -0.5308577418327332, -0.9701311588287354, -0.9099088907241821, 0.9767625331878662, 1.7332478761672974, -0.09987500309944153, -0.040141504257917404, 0.8066579103469849, 0.6532015204429626, -1.268679141998291, 0.015824565663933754, -0.7326148152351379, -0.7421795129776001, 1.6492501497268677, 2.071751117706299, -0.18900735676288605, -0.14573143422603607, -0.6141235828399658, -1.2696610689163208, 0.7993321418762207, -0.06788064539432526, 0.19003239274024963, 0.6366061568260193, -0.6190626621246338, 1.077174425125122, 0.8155797123908997, 0.8964025974273682, 0.26456621289253235, 0.2717420756816864, 0.4334872364997864, -0.31381624937057495, -1.1566846370697021, -0.18955674767494202, -1.0223894119262695, -2.5755200386047363, 0.3801463544368744, -0.20738595724105835, -1.4572480916976929, 0.02991868183016777, -0.9484166502952576, 0.9570820331573486, -0.5772289633750916, -1.1065961122512817, -1.559016466140747, 0.2352689504623413, -0.020336192101240158, 0.9841184616088867, -1.568911075592041, -0.2026994228363037, 1.2413533926010132, 0.9117127060890198, -0.6714791059494019, 0.9878798127174377, 0.20411793887615204, 1.0519124269485474, 0.7762020826339722, -0.355142742395401, 0.5634499788284302, -0.05435452610254288, -1.4115638732910156, 0.3983137607574463, 1.1834510564804077, 0.16993151605129242, 1.4220402240753174, -0.4305473864078522, 0.009083833545446396, 0.4038231074810028, -0.5563492178916931, -0.4429817199707031, -0.44320759177207947, 0.6220661401748657, 0.04175972193479538, -0.8948509693145752, -0.10223731398582458, -0.046584539115428925, -0.38469603657722473, 0.20225895941257477, -1.4038199186325073, -0.15709102153778076, -0.4988296627998352, -0.5625241994857788, -1.2516276836395264, -0.02987801842391491, 1.3771278858184814, -0.7492615580558777, -0.21531172096729279, 0.4882243573665619, 0.3878967761993408, 0.5160993933677673, 0.6816640496253967, -0.7576614618301392, -0.22908493876457214, -0.27698826789855957, -0.3447136878967285, 0.2717258334159851, 1.3792967796325684, -0.16403459012508392, -0.9812002182006836, 0.6828746199607849, -0.27960205078125, 0.05653522536158562, 2.003594160079956, 0.11070318520069122, -0.7527614831924438, 0.3025786578655243, -0.7531518936157227, 1.929405927658081, 1.6831557750701904, 1.33497953414917, -0.22844298183918, -0.870311439037323, 0.6306853294372559, -0.4099274277687073, -0.3299928307533264, 0.809027910232544, 0.3433743119239807, -0.18014615774154663, -1.486618161201477, 0.7499911785125732, 1.228562355041504, -0.7730464935302734, -0.6826398968696594, 0.11081977188587189, -0.7703371644020081, 1.1277672052383423, 0.6299744844436646, 0.373812198638916, 0.2945854663848877, 1.6868234872817993, 0.7756774425506592, -0.46420642733573914, 0.4625149369239807, 0.5993310213088989, -0.17931154370307922, -2.1291019916534424, -1.246827483177185, 0.30137625336647034, -0.5953499674797058, -1.6369400024414062, 1.3991475105285645, -1.1060837507247925, -1.0002493858337402, 0.5679761171340942, 0.0015815207734704018, 1.3457423448562622, 0.4433387815952301, 1.5266169309616089, 2.100708484649658, 0.8565265536308289, 0.41365140676498413, 1.2783528566360474, -0.12103588879108429, -0.41900554299354553, 1.8958239555358887, -0.43615296483039856, 0.43856337666511536, 1.07210111618042, -0.264951229095459, -1.0973764657974243, -0.6923292875289917, -1.2403335571289062, -0.6464505195617676, 1.1505334377288818, -0.004312706645578146, -1.0749869346618652, 0.24844640493392944, 1.542568325996399, 0.15415354073047638, -0.4215584397315979, 0.6752968430519104, 0.3924596905708313, -0.7945021986961365, -0.04751129820942879, -0.9133813977241516, 0.5298998951911926, -0.18698598444461823, -0.3492562472820282, 0.3117039203643799, 0.45677199959754944, 1.3878326416015625, -0.06096089631319046, 0.21520395576953888, 1.0855380296707153, -1.420257806777954, 1.4613631963729858, -0.7222698926925659, 0.2828337252140045, -2.371615409851074, 1.3495938777923584, -0.7365162968635559, 1.9391026496887207, -2.680170774459839, 0.4914585053920746, -0.5175835490226746, -0.516304075717926, 0.3027515411376953, -0.3553650975227356, 0.15279901027679443, -0.058116614818573, -1.1385523080825806, 0.01872527040541172, -0.6220746636390686, 0.6032276749610901, 1.0423953533172607, 1.3747738599777222, -1.1432040929794312, -0.2796352505683899, -1.6890878677368164, -0.14811913669109344, -0.8326277732849121, 0.2974618375301361, -1.9974290132522583, -0.208690345287323, -1.8476672172546387, -2.41412091255188, -1.286754846572876, -0.8051134943962097, 1.2187250852584839, 0.17187634110450745, -0.9231768250465393, 1.327241063117981, -0.3587501049041748, -1.8688476085662842, 1.143298625946045, -2.1191985607147217 ]
https://github.com/huggingface/datasets/issues/4363
The dataset preview is not available for this split.
Hi! A dataset has to be streamable to work with the viewer. I did a quick test, and yours is, so this might be a bug in the viewer. cc @severo
I have uploaded the corpus developed by our lab in the speech domain to huggingface [datasets](https://huggingface.co/datasets/Roh/ryanspeech). You can read about the companion paper accepted in interspeech 2021 [here](https://arxiv.org/abs/2106.08468). The dataset works fine but I can't make the dataset preview work. It gives me the following error that I don't understand. Can you help me to begin debugging it? ``` Status code: 400 Exception: AttributeError Message: 'NoneType' object has no attribute 'split' ```
755
31
The dataset preview is not available for this split. I have uploaded the corpus developed by our lab in the speech domain to huggingface [datasets](https://huggingface.co/datasets/Roh/ryanspeech). You can read about the companion paper accepted in interspeech 2021 [here](https://arxiv.org/abs/2106.08468). The dataset works fine but I can't make the dataset preview work. It gives me the following error that I don't understand. Can you help me to begin debugging it? ``` Status code: 400 Exception: AttributeError Message: 'NoneType' object has no attribute 'split' ``` Hi! A dataset has to be streamable to work with the viewer. I did a quick test, and yours is, so this might be a bug in the viewer. cc @severo
[ -1.2063881158828735, -0.9290589690208435, -0.9087710380554199, 1.4220242500305176, -0.22107140719890594, -1.2269936800003052, 0.03576553612947464, -1.0450767278671265, 1.7291114330291748, -0.7768911123275757, 0.2798609733581543, -1.6541661024093628, -0.007488706614822149, -0.5147876143455505, -0.8037127256393433, -0.8887601494789124, -0.44398343563079834, -0.8575811982154846, 0.9504746198654175, 2.5597264766693115, 1.1099175214767456, -1.4442914724349976, 2.7487986087799072, 0.6006159782409668, -0.07370762526988983, -1.1779870986938477, 0.6158691048622131, 0.014632482081651688, -1.2588980197906494, -0.3985868990421295, -0.9403941631317139, 0.015635527670383453, -0.5946388840675354, -0.5278047323226929, 0.0386614054441452, 0.3602423369884491, -0.20891377329826355, -0.3313697576522827, -0.4281861186027527, -0.7842872738838196, 0.4343157410621643, -0.39680784940719604, 0.92726731300354, -0.34707820415496826, 1.8314999341964722, -0.4292657673358917, 0.3023708760738373, 0.7137538194656372, 1.4271575212478638, 0.13114503026008606, -0.05162571370601654, 0.2504994869232178, 0.43104106187820435, 0.07091929763555527, 0.431263267993927, 1.1463708877563477, 0.5791611075401306, 0.5033860802650452, 0.5792291164398193, -2.3052680492401123, 1.2859244346618652, -1.0287772417068481, 0.3069372773170471, 1.2993340492248535, -0.9739046692848206, 0.3188886344432831, -1.771449089050293, -0.11040835827589035, 0.5148592591285706, -2.2643136978149414, 0.18967780470848083, -1.2326135635375977, -0.5048373937606812, 1.0185039043426514, 0.23727567493915558, -1.3270289897918701, 0.17793159186840057, -0.4108208119869232, 1.0676391124725342, 0.50161212682724, 1.2264739274978638, -1.6989072561264038, 0.10413583368062973, -0.335260272026062, 0.11767376959323883, -1.3059842586517334, -1.5005555152893066, 0.5365081429481506, 0.6657837629318237, 0.650775134563446, -0.0718250423669815, 0.8921545743942261, -0.9380143880844116, 0.8025943040847778, -0.8604238033294678, -1.6686807870864868, -1.3938945531845093, -2.2556872367858887, -2.296476125717163, 0.7506227493286133, -0.49629127979278564, -0.529742419719696, 2.032071113586426, -1.058800458908081, -1.8690329790115356, 1.2157232761383057, 0.2589411735534668, 0.0979936495423317, 2.3668527603149414, 0.20263148844242096, -0.6902630925178528, 0.3653215169906616, -0.7132428884506226, 0.9155663847923279, -0.384552538394928, 1.4498258829116821, 0.5181111097335815, -0.8961171507835388, 1.679594874382019, -0.4233728349208832, 0.4894806742668152, -0.7071686387062073, -0.5539126992225647, -0.8533390164375305, 0.3167142868041992, 1.8643784523010254, -0.3818165361881256, 1.5671720504760742, -0.3864310681819916, -1.545270323753357, -1.5561678409576416, 0.8313134908676147, 0.6129167079925537, -0.9051096439361572, 0.10942741483449936, -0.36867985129356384, 0.05307077616453171, -0.001284620724618435, 1.136345624923706, 1.1791086196899414, 0.6859375834465027, -0.28295227885246277, -0.9782397747039795, 0.3280884027481079, -0.03627362847328186, -0.6722824573516846, -1.8692954778671265, -0.356952428817749, 0.19515520334243774, 0.6818856596946716, -1.2513763904571533, 1.622225284576416, 0.8792448043823242, 1.9595551490783691, 1.062375545501709, -0.2556373178958893, 1.4902348518371582, 0.021311165764927864, 1.8122416734695435, -0.4850345849990845, 0.6001142859458923, -0.3443927764892578, -1.0811408758163452, 0.8468486070632935, -0.3730855882167816, -1.9415788650512695, -0.8326236605644226, -0.979547917842865, -0.1982327699661255, -0.740195095539093, 0.9514738917350769, -0.3197947144508362, -1.3862025737762451, 0.2515973448753357, -0.6847109198570251, 0.11742109060287476, -1.2029974460601807, 0.20109383761882782, 0.743346631526947, -0.6542160511016846, 0.0352042019367218, -0.3281407952308655, -1.3392263650894165, -0.448364794254303, 0.30880406498908997, 1.9349416494369507, -0.8119163513183594, 0.8731651306152344, 0.9079378247261047, -0.6860974431037903, -0.04781351238489151, 0.39588722586631775, -0.2941242456436157, 0.8662987351417542, -1.0566052198410034, -0.44669854640960693, 1.1221410036087036, -0.14513295888900757, -0.6636871695518494, 1.4482940435409546, 0.7573937177658081, -0.9524262547492981, -0.20201817154884338, -0.1739898920059204, -0.8570927977561951, -0.03995826840400696, -1.712791085243225, -0.21855834126472473, 0.1925816386938095, -1.490192174911499, -0.5379074215888977, -0.2973509132862091, 1.2763404846191406, -0.20397406816482544, 1.4240937232971191, -0.3617408275604248, -0.21858593821525574, -0.3720123767852783, -0.4702611565589905, 0.21200615167617798, -0.16617704927921295, -0.6173605918884277, 0.2281176745891571, -0.8487963080406189, 0.3790203630924225, 1.3934297561645508, 0.42742183804512024, 0.07845963537693024, 0.5918393731117249, 1.1303757429122925, 0.3385099470615387, 0.09334408491849899, -0.8817136883735657, -1.632067322731018, 2.031470537185669, -1.5188372135162354, 1.9701809883117676, 0.6941084265708923, -0.09242980182170868, -1.8101760149002075, -1.8405495882034302, 1.4188132286071777, 1.1281641721725464, 2.287346363067627, 0.6242994070053101, 0.38934680819511414, -0.7781524062156677, -0.6166175007820129, 0.33496955037117004, -1.0810587406158447, -0.8264307975769043, 0.11784301698207855, 2.301462411880493, 1.7447097301483154, -0.5097599029541016, -0.2670633792877197, -0.9378860592842102, 1.3066633939743042, -0.09745907038450241, 0.21746529638767242, 2.0385053157806396, -0.2627325654029846, -1.144088625907898, 1.2602418661117554, -2.3566906452178955, 0.10406649112701416, 1.9598979949951172, 0.300051748752594, 0.06574394553899765, -1.5242713689804077, -0.6579718589782715, -0.17170248925685883, -0.4710644483566284, -1.3006370067596436, 0.610165536403656, -0.3935354948043823, -0.9175968766212463, -1.5354381799697876, 0.1219557672739029, -1.1045594215393066, -1.6399998664855957, 0.39090996980667114, 1.9118971824645996, 2.0303664207458496, -0.6846669316291809, 1.5737898349761963, -0.20787717401981354, 0.22903697192668915, 1.29728364944458, 1.0674495697021484, 3.109668493270874, 1.929892659187317, -1.2182029485702515, 0.7124643325805664, -0.12709566950798035, -0.5007427930831909, 1.2199355363845825, -1.0669023990631104, 1.2021478414535522, -0.252496600151062, -1.1919801235198975, -1.2054201364517212, 0.965606153011322, 0.46230238676071167, 0.036183424293994904, -0.48936372995376587, 1.2855453491210938, 0.027451368048787117, 1.2691493034362793, 0.5016672611236572, -0.33369648456573486, 0.6037144064903259, -0.46872901916503906, -0.5806359052658081, 1.5803511142730713, 0.11829616129398346, -1.4133273363113403, -2.321185350418091, -0.23909728229045868, -0.7803130745887756, -0.026272082701325417, -0.5467479825019836, -1.0234503746032715, 1.5904722213745117, 0.4129347503185272, -1.3682719469070435, -0.34615200757980347, -0.4107949435710907, -0.6669712662696838, 2.623964786529541, -1.4203544855117798, -0.2544882297515869, -1.0095480680465698, -0.5271716713905334, 1.6874148845672607, -1.1670572757720947, -0.13190743327140808, -1.0330617427825928, -0.618098795413971, -1.4320056438446045, -0.6367835998535156, 0.045143745839595795, -0.9206696152687073, 0.7914870381355286, 0.16130930185317993, -1.0568464994430542, -0.25769472122192383, -0.8374231457710266, 0.8322499990463257, -0.15008513629436493, 0.32839706540107727, 2.048267364501953, 0.46633848547935486, -0.4162728786468506, 0.675055980682373, 1.1005758047103882, 0.5825687646865845, -0.6589818596839905, 0.2300131916999817, -0.7048271894454956, 0.250059574842453, -1.3706259727478027, 0.24720928072929382, -2.918797016143799, 0.6836962699890137, 0.10287878662347794, -0.0567985475063324, -0.0013855742290616035, -1.2613558769226074, 1.0864253044128418, 2.5738136768341064, -1.2227306365966797, 0.46500763297080994, 0.301456481218338, 1.1638760566711426, -1.633021354675293, 0.3136054277420044, -0.4133707880973816, 2.213062047958374, 0.19121749699115753, 1.1969305276870728, -0.4372393488883972, -2.2297520637512207, 0.6517411470413208, -1.2686913013458252, -1.1596494913101196, 0.7212454676628113, -0.7820391058921814, 0.03579476475715637, -1.5258004665374756, -0.07436379790306091, -0.9745094776153564, -1.208122730255127, 0.8639007806777954, 0.2055036574602127, 0.44298964738845825, -0.6115238070487976, 0.37946003675460815, -2.0806846618652344, -1.345542550086975, -0.09750702232122421, -0.9448177218437195, 0.4561580419540405, -0.2585708498954773, 0.6214137077331543, -0.12709085643291473, 0.057621024549007416, 0.36119210720062256, 1.2917226552963257, 3.4729533195495605, 0.32111427187919617, 0.4028926193714142, -0.06911041587591171, -0.9829172492027283, 1.4474581480026245, 0.9891725778579712, -0.13452349603176117, -0.5429887175559998, -1.0466632843017578, 1.2615187168121338, 1.9817825555801392, 0.9368231296539307, 0.17360655963420868, -0.7731114029884338, -0.6409927010536194, 0.030153168365359306, 0.19306516647338867, 0.5187059044837952, 0.8697001934051514, 0.023195290938019753, 0.1390930563211441, 1.3866994380950928, 1.2551759481430054, -0.3877168595790863, 0.4476514458656311, -0.9337941408157349, -0.4201286733150482, 0.5164387822151184, 0.31890612840652466, -0.013708334416151047, 0.44057872891426086, -0.951718807220459, -0.2594905495643616, -0.3036002814769745, -1.0131027698516846, -0.6045812368392944, -0.3395382761955261, -0.2893940508365631, 1.567386507987976, 0.18002305924892426, -0.5708463788032532, -0.06103801727294922, -0.8768737316131592, -0.09769038110971451, -1.0048816204071045, 0.20194996893405914, -0.20304091274738312, -0.09202049672603607, -0.048399753868579865, 1.8299607038497925, -0.9324193596839905, -2.093470335006714, 0.3088623881340027, 0.3514701724052429, -0.41361457109451294, 0.23920853435993195, 1.559122085571289, 0.48862671852111816, 1.3725100755691528, 1.3076401948928833, 0.9914765357971191, -0.5214263200759888, -1.3583340644836426, 0.6073896288871765, 0.9029625058174133, -1.4422714710235596, 0.8199716210365295, -0.06237008422613144, -0.45135006308555603, 0.7725675106048584, 1.3081632852554321, 0.44690248370170593, -1.9517797231674194, 0.7746663689613342, -0.7546471953392029, 0.7448773384094238, 0.6706061363220215, 0.7976452708244324, 0.2846355438232422, 0.883566677570343, -1.2306597232818604, -1.1163605451583862, -0.8422448039054871, -0.6128228306770325, 1.895875096321106, -0.15637286007404327, 0.5756663084030151, -0.0912710502743721, -1.32197904586792, -0.21808196604251862, 0.6525605320930481, 0.2983810007572174, -0.3824957013130188, 0.8611477613449097, -0.6529163122177124, -1.2039334774017334, -1.4027676582336426, -0.3661838471889496, -0.8583129644393921, -0.9025272130966187, 0.9927197694778442, 0.8377978801727295, 0.2993403971195221, 1.9691331386566162, 0.5526371002197266, 0.18422093987464905, -2.7007863521575928, 0.868802547454834, 0.3470098078250885, 0.07672043144702911, 0.94144207239151, 0.2805972695350647, 1.0918405055999756, -0.01801295578479767, 0.5358667969703674, -2.246323347091675, 2.2393639087677, -0.2662428021430969, 0.7616313099861145, 0.06719543784856796, -0.1957688331604004, 1.0631518363952637, 0.46982792019844055, 0.6822124719619751, -1.1640323400497437, 0.7868114113807678, -0.6249262094497681, 1.2541240453720093, 1.0615041255950928, -0.8272677063941956, -0.0336514376103878, 1.3463115692138672, 0.5261454582214355, -0.5217602849006653, -0.8293209075927734, -0.9487019181251526, 0.9324479103088379, 1.7760963439941406, -0.07560216635465622, -0.0018132836557924747, 0.8264496922492981, 0.6567304730415344, -1.2734745740890503, 0.05369974672794342, -0.7738069295883179, -0.7675964832305908, 1.6794363260269165, 2.0657646656036377, -0.055107563734054565, -0.1655907928943634, -0.7464605569839478, -1.1897307634353638, 0.7363669276237488, 0.01866312325000763, 0.10469606518745422, 0.7629044055938721, -0.6078586578369141, 1.1576355695724487, 0.8257966041564941, 0.9517657160758972, 0.025380173698067665, 0.4157438576221466, 0.316245973110199, -0.26881328225135803, -1.170314908027649, -0.3154067099094391, -1.1179628372192383, -2.49275541305542, 0.45334964990615845, -0.2725054919719696, -1.3553626537322998, 0.018147500231862068, -1.048506498336792, 0.9811432957649231, -0.575445830821991, -1.0898404121398926, -1.4474294185638428, 0.2438000738620758, -0.0852297991514206, 0.8467298746109009, -1.6301689147949219, -0.05560992658138275, 1.334519863128662, 0.941881537437439, -0.6785743832588196, 1.0237853527069092, 0.26753562688827515, 1.115250587463379, 0.8322404623031616, -0.482347309589386, 0.48376333713531494, 0.14376091957092285, -1.3561229705810547, 0.5107517242431641, 1.0631279945373535, 0.16874922811985016, 1.382035493850708, -0.522018551826477, 0.04037564992904663, 0.4694614112377167, -0.5663453340530396, -0.4033247232437134, -0.6009597182273865, 0.7937479615211487, 0.0666838064789772, -0.8583852648735046, 0.052262082695961, -0.11804217845201492, -0.18249265849590302, 0.21088209748268127, -1.507899284362793, -0.2962310314178467, -0.24250148236751556, -0.5545064806938171, -1.2768455743789673, -0.0845751240849495, 1.3877617120742798, -0.818714439868927, -0.2159731239080429, 0.5336288213729858, 0.35264575481414795, 0.5338976979255676, 0.5714479088783264, -0.6143099069595337, -0.43297913670539856, -0.23068423569202423, -0.338060587644577, 0.24655327200889587, 1.2625242471694946, -0.17235971987247467, -0.9331198930740356, 0.7448658347129822, -0.37794485688209534, 0.039938248693943024, 1.9205524921417236, 0.029718423262238503, -0.836301863193512, 0.2627113163471222, -0.6020915508270264, 1.8997325897216797, 1.647403597831726, 1.3200167417526245, -0.12402435392141342, -0.8805537819862366, 0.5802844762802124, -0.26729440689086914, -0.3790228068828583, 0.8095266222953796, 0.5105611085891724, -0.08817677944898605, -1.3082791566848755, 0.5252128839492798, 1.293507695198059, -0.930413007736206, -0.7523255944252014, 0.04350419342517853, -0.7801304459571838, 0.9985466003417969, 0.7392815351486206, 0.48462918400764465, 0.22872355580329895, 1.5616719722747803, 0.6836618781089783, -0.5287440419197083, 0.47682124376296997, 0.5288946032524109, -0.10323304682970047, -2.1380455493927, -1.0367130041122437, 0.27020788192749023, -0.3383984863758087, -1.6238828897476196, 1.2880845069885254, -1.173258900642395, -0.8601580262184143, 0.5258501172065735, 0.10651329904794693, 1.4186508655548096, 0.3020709753036499, 1.5940639972686768, 2.017838954925537, 0.8524724245071411, 0.2767573893070221, 1.4192816019058228, -0.03151804208755493, -0.4998610019683838, 1.851613998413086, -0.5123475193977356, 0.5634452104568481, 1.1052695512771606, -0.42418256402015686, -1.0520261526107788, -0.8292956948280334, -1.1909942626953125, -0.5609798431396484, 1.1875414848327637, 0.14877381920814514, -1.2696975469589233, 0.15899130702018738, 1.5960931777954102, 0.15516656637191772, -0.30371996760368347, 0.6039677858352661, 0.495138555765152, -0.7736349105834961, -0.056926414370536804, -0.9362542629241943, 0.5252240896224976, -0.19376766681671143, -0.31875088810920715, 0.32989516854286194, 0.3438326120376587, 1.2671302556991577, -0.027804313227534294, 0.0789632499217987, 1.1951419115066528, -1.405375599861145, 1.4648195505142212, -0.5555044412612915, 0.24502313137054443, -2.499265193939209, 1.4520989656448364, -0.8058121204376221, 1.9021176099777222, -2.6180646419525146, 0.36153551936149597, -0.6482118368148804, -0.37819144129753113, 0.25813406705856323, -0.36908629536628723, 0.06612548232078552, -0.21312513947486877, -0.9796478748321533, -0.057123810052871704, -0.7544323801994324, 0.5134697556495667, 1.1759281158447266, 1.30266273021698, -1.0669770240783691, -0.28060516715049744, -1.8374474048614502, -0.19922375679016113, -0.7278944253921509, 0.38598960638046265, -2.117546319961548, -0.16149020195007324, -1.9636783599853516, -2.358035087585449, -1.3169485330581665, -0.839249312877655, 1.0367214679718018, 0.12204506993293762, -0.8383843898773193, 1.096913456916809, -0.3162139356136322, -1.7353509664535522, 1.0246293544769287, -2.0833377838134766 ]
https://github.com/huggingface/datasets/issues/4363
The dataset preview is not available for this split.
Looking at it. The message is now: ``` Message: cannot cache function '__shear_dense': no locator available for file '/src/services/worker/.venv/lib/python3.9/site-packages/librosa/util/utils.py' ``` so possibly it's related to the libraries versions?
I have uploaded the corpus developed by our lab in the speech domain to huggingface [datasets](https://huggingface.co/datasets/Roh/ryanspeech). You can read about the companion paper accepted in interspeech 2021 [here](https://arxiv.org/abs/2106.08468). The dataset works fine but I can't make the dataset preview work. It gives me the following error that I don't understand. Can you help me to begin debugging it? ``` Status code: 400 Exception: AttributeError Message: 'NoneType' object has no attribute 'split' ```
755
28
The dataset preview is not available for this split. I have uploaded the corpus developed by our lab in the speech domain to huggingface [datasets](https://huggingface.co/datasets/Roh/ryanspeech). You can read about the companion paper accepted in interspeech 2021 [here](https://arxiv.org/abs/2106.08468). The dataset works fine but I can't make the dataset preview work. It gives me the following error that I don't understand. Can you help me to begin debugging it? ``` Status code: 400 Exception: AttributeError Message: 'NoneType' object has no attribute 'split' ``` Looking at it. The message is now: ``` Message: cannot cache function '__shear_dense': no locator available for file '/src/services/worker/.venv/lib/python3.9/site-packages/librosa/util/utils.py' ``` so possibly it's related to the libraries versions?
[ -1.1674737930297852, -0.9107820987701416, -0.911993145942688, 1.5570980310440063, -0.10856683552265167, -1.2513909339904785, -0.005887375213205814, -0.950014054775238, 1.6531108617782593, -0.725532591342926, 0.28433501720428467, -1.6804018020629883, -0.06800380349159241, -0.5473514795303345, -0.7725992798805237, -0.8318180441856384, -0.3733752965927124, -0.8510271310806274, 0.9445582628250122, 2.4528746604919434, 1.1722525358200073, -1.4102907180786133, 2.737492561340332, 0.632064163684845, -0.11976196616888046, -1.134156346321106, 0.6506403088569641, -0.010002337396144867, -1.184200644493103, -0.42024749517440796, -0.9255831837654114, 0.035546235740184784, -0.611565351486206, -0.4988011121749878, 0.07413557916879654, 0.39268022775650024, -0.2296299785375595, -0.2913220524787903, -0.5206892490386963, -0.7928300499916077, 0.4929765462875366, -0.408407986164093, 0.935581624507904, -0.35625380277633667, 1.8086950778961182, -0.4606647491455078, 0.2697445750236511, 0.7123487591743469, 1.4396133422851562, 0.13345672190189362, -0.060253459960222244, 0.22838038206100464, 0.4193210005760193, 0.06344881653785706, 0.4910620450973511, 1.165762186050415, 0.5461763143539429, 0.4991123080253601, 0.6674342751502991, -2.368798017501831, 1.3043285608291626, -0.9825591444969177, 0.2744925022125244, 1.2794080972671509, -0.9463847875595093, 0.3149411678314209, -1.767511248588562, 0.005971706472337246, 0.5788214206695557, -2.2237236499786377, 0.22568945586681366, -1.2575989961624146, -0.46084892749786377, 0.9617733955383301, 0.2659013867378235, -1.3136965036392212, 0.18006031215190887, -0.358681857585907, 1.1012037992477417, 0.4729517102241516, 1.1858989000320435, -1.7342866659164429, 0.08438961952924728, -0.27984315156936646, 0.1044173464179039, -1.3174843788146973, -1.5775545835494995, 0.5210303664207458, 0.6701767444610596, 0.6087192893028259, -0.07888972014188766, 0.9257952570915222, -0.9182185530662537, 0.7785916328430176, -0.9011271595954895, -1.6427098512649536, -1.387058138847351, -2.226236343383789, -2.2959368228912354, 0.7293005585670471, -0.5095047950744629, -0.44524240493774414, 1.950653314590454, -1.0104392766952515, -1.9267076253890991, 1.1233972311019897, 0.30867844820022583, 0.13345783948898315, 2.235764980316162, 0.21658629179000854, -0.708008885383606, 0.31874072551727295, -0.7210904955863953, 0.8359194397926331, -0.3568519949913025, 1.4316304922103882, 0.5387400388717651, -0.9012128710746765, 1.699038028717041, -0.4841098189353943, 0.5091434121131897, -0.729059636592865, -0.4996304512023926, -0.8403658270835876, 0.2870701551437378, 1.927623987197876, -0.4250872731208801, 1.5907447338104248, -0.3728979229927063, -1.5469344854354858, -1.5324093103408813, 0.7803118228912354, 0.5497044324874878, -0.9303140044212341, 0.09815961867570877, -0.34518367052078247, 0.12997768819332123, -0.09854231774806976, 1.0795005559921265, 1.1467645168304443, 0.6837658286094666, -0.2939123511314392, -0.9266018867492676, 0.32059967517852783, -0.04868701472878456, -0.66827791929245, -1.8563488721847534, -0.37911027669906616, 0.27076101303100586, 0.7279905080795288, -1.2892723083496094, 1.7008144855499268, 0.8292971849441528, 2.0003886222839355, 1.0484511852264404, -0.3255894184112549, 1.5149861574172974, -0.02119348756968975, 1.9054348468780518, -0.5044229030609131, 0.5642120838165283, -0.33469444513320923, -1.0889443159103394, 0.8719491362571716, -0.34309297800064087, -1.9415702819824219, -0.838050365447998, -0.9653986096382141, -0.17240440845489502, -0.732200026512146, 0.9334058165550232, -0.33535516262054443, -1.391349196434021, 0.20386725664138794, -0.7105130553245544, 0.10060033202171326, -1.2309762239456177, 0.17339181900024414, 0.7227080464363098, -0.6544458270072937, 0.021405020728707314, -0.33470243215560913, -1.3365461826324463, -0.4696519374847412, 0.35126185417175293, 2.0077412128448486, -0.7110357284545898, 0.953773021697998, 0.9192317128181458, -0.7104731202125549, 0.021259330213069916, 0.35649144649505615, -0.30660271644592285, 0.8233676552772522, -1.087780237197876, -0.48957473039627075, 1.154867172241211, -0.1229020208120346, -0.6795153021812439, 1.4643522500991821, 0.8317282199859619, -1.0512685775756836, -0.21107062697410583, -0.1978498250246048, -0.7736344337463379, 0.01447165384888649, -1.6602880954742432, -0.2507781982421875, 0.2167663425207138, -1.4621940851211548, -0.4752892851829529, -0.27522867918014526, 1.311860203742981, -0.19451680779457092, 1.4374712705612183, -0.3489481806755066, -0.2320224642753601, -0.2636858820915222, -0.5032671689987183, 0.1710483431816101, -0.1962931752204895, -0.6756550669670105, 0.2722827196121216, -0.8866323232650757, 0.34291696548461914, 1.3787308931350708, 0.3735809922218323, 0.035900577902793884, 0.5776300430297852, 1.1873691082000732, 0.3527666926383972, 0.15032385289669037, -0.9655936360359192, -1.6226153373718262, 2.0313198566436768, -1.4554423093795776, 1.9838801622390747, 0.7087976932525635, -0.04859486594796181, -1.7861071825027466, -1.8157682418823242, 1.3675968647003174, 1.129441499710083, 2.325894832611084, 0.6834164261817932, 0.4190176725387573, -0.8224620819091797, -0.6285631060600281, 0.3808012008666992, -1.0851778984069824, -0.7257939577102661, 0.1442713588476181, 2.342315435409546, 1.7326387166976929, -0.5232173800468445, -0.3133857250213623, -0.8740663528442383, 1.253735065460205, -0.1673477441072464, 0.22297516465187073, 2.04612398147583, -0.19114543497562408, -1.0848952531814575, 1.2165179252624512, -2.346461057662964, 0.27098774909973145, 2.0266196727752686, 0.27310144901275635, 0.07750234007835388, -1.5321755409240723, -0.7207813262939453, -0.12476100027561188, -0.45725518465042114, -1.2671152353286743, 0.5907395482063293, -0.375524640083313, -0.9087311625480652, -1.4610575437545776, 0.12920516729354858, -1.0834885835647583, -1.696921467781067, 0.35328012704849243, 1.9730678796768188, 2.0173935890197754, -0.7049053311347961, 1.4849642515182495, -0.23807020485401154, 0.16255757212638855, 1.4045811891555786, 1.1715384721755981, 3.087723731994629, 1.8945283889770508, -1.2502440214157104, 0.7541893720626831, -0.13631604611873627, -0.4266136884689331, 1.231001615524292, -1.0397003889083862, 1.0844038724899292, -0.33550238609313965, -1.201367735862732, -1.2189702987670898, 1.0146695375442505, 0.45612525939941406, -0.04001614451408386, -0.4892181158065796, 1.3389344215393066, -0.030672229826450348, 1.2689071893692017, 0.5725096464157104, -0.4416195750236511, 0.5907630920410156, -0.3290655016899109, -0.5434615015983582, 1.6004141569137573, 0.15082144737243652, -1.415055751800537, -2.3757288455963135, -0.18880942463874817, -0.8029589653015137, -0.11049328744411469, -0.5117239952087402, -1.0643280744552612, 1.5673139095306396, 0.45118075609207153, -1.3307334184646606, -0.3392159938812256, -0.38960033655166626, -0.6491202712059021, 2.5966379642486572, -1.4395272731781006, -0.2489561140537262, -1.0642077922821045, -0.4956541061401367, 1.6549667119979858, -1.1989319324493408, -0.19682960212230682, -1.0182422399520874, -0.6196057200431824, -1.4403177499771118, -0.6465263962745667, 0.043913137167692184, -0.8087926506996155, 0.7788965106010437, 0.1548117697238922, -1.0086406469345093, -0.24797973036766052, -0.8618698716163635, 0.9206110239028931, -0.14842571318149567, 0.3298637270927429, 2.0563440322875977, 0.46381676197052, -0.44308406114578247, 0.642940104007721, 1.0852168798446655, 0.6089829206466675, -0.5888440608978271, 0.24063055217266083, -0.6264910697937012, 0.26558560132980347, -1.4702577590942383, 0.23665285110473633, -2.890829563140869, 0.7148864269256592, 0.027161486446857452, -0.04428012669086456, -0.025764230638742447, -1.3078192472457886, 1.080544114112854, 2.569410800933838, -1.2476760149002075, 0.434565007686615, 0.307186484336853, 1.16584050655365, -1.683210015296936, 0.3155067563056946, -0.3988373875617981, 2.1645572185516357, 0.16216592490673065, 1.2149665355682373, -0.44961535930633545, -2.2271273136138916, 0.6936396360397339, -1.2505788803100586, -1.0834630727767944, 0.7735265493392944, -0.7702455520629883, 0.07107142359018326, -1.5360089540481567, -0.126760333776474, -1.0004490613937378, -1.2816247940063477, 0.8811941146850586, 0.09099659323692322, 0.4159303903579712, -0.5612971186637878, 0.35567593574523926, -2.070101499557495, -1.3850064277648926, -0.08771831542253494, -1.019060492515564, 0.5063932538032532, -0.2954712510108948, 0.6132673025131226, -0.08901336789131165, 0.040135402232408524, 0.26613056659698486, 1.3187280893325806, 3.5159268379211426, 0.2668954133987427, 0.3457200527191162, -0.07935988157987595, -0.9684858322143555, 1.4102318286895752, 1.008494257926941, -0.15539151430130005, -0.5112544298171997, -1.0363394021987915, 1.3223700523376465, 2.014753818511963, 1.0217950344085693, 0.1970296949148178, -0.7939683794975281, -0.7530848383903503, 0.0850307047367096, 0.1629938781261444, 0.5785917639732361, 0.8819237351417542, 0.08289074897766113, 0.08882945030927658, 1.323009729385376, 1.2274152040481567, -0.33311039209365845, 0.39656156301498413, -0.959955096244812, -0.3739333748817444, 0.4873008728027344, 0.30302757024765015, 0.024348068982362747, 0.49107062816619873, -0.9907937049865723, -0.27272772789001465, -0.2759329080581665, -0.9942527413368225, -0.6889718770980835, -0.42149460315704346, -0.3234250545501709, 1.5442276000976562, 0.17590413987636566, -0.5700406432151794, -0.06878190487623215, -0.8356186747550964, -0.07681779563426971, -1.0451916456222534, 0.13559851050376892, -0.1905335783958435, -0.096530981361866, -0.06795649230480194, 1.759151577949524, -0.9410204291343689, -2.094651937484741, 0.3157894015312195, 0.37685149908065796, -0.41599512100219727, 0.20131666958332062, 1.6369216442108154, 0.5008502006530762, 1.2223812341690063, 1.3253529071807861, 1.018507957458496, -0.6066730618476868, -1.2246512174606323, 0.5395979881286621, 0.9117644429206848, -1.4378302097320557, 0.8557698726654053, -0.10357367247343063, -0.43066030740737915, 0.7116004228591919, 1.4583282470703125, 0.423179030418396, -1.94284188747406, 0.7544413805007935, -0.7002975344657898, 0.7110744714736938, 0.6896874308586121, 0.8349853157997131, 0.2720586657524109, 0.8330259323120117, -1.2658721208572388, -1.1206741333007812, -0.8096513748168945, -0.6270627379417419, 1.8789594173431396, -0.1349952071905136, 0.5264600515365601, -0.11964244395494461, -1.318798542022705, -0.2290835827589035, 0.7085897326469421, 0.3101111650466919, -0.38987135887145996, 0.8382077217102051, -0.5922451615333557, -1.088356614112854, -1.3526999950408936, -0.46324223279953003, -0.8096587061882019, -0.9698539972305298, 0.9923401474952698, 0.8495264649391174, 0.3267431855201721, 1.9948813915252686, 0.5491684675216675, 0.10623385012149811, -2.683004379272461, 0.9038113355636597, 0.3162991404533386, 0.08787139505147934, 0.9587455987930298, 0.2492312639951706, 1.112325668334961, -0.013995764777064323, 0.5525375008583069, -2.2392446994781494, 2.2213573455810547, -0.25188761949539185, 0.6486324667930603, -0.009952488355338573, -0.22661751508712769, 1.057523488998413, 0.46232330799102783, 0.6908005475997925, -1.2155753374099731, 0.7393593192100525, -0.7179855704307556, 1.1482008695602417, 1.0286130905151367, -0.9020285606384277, -0.008132804185152054, 1.4127036333084106, 0.4855591058731079, -0.5376216173171997, -0.8812633752822876, -0.9250958561897278, 0.9393079876899719, 1.7225617170333862, -0.0007400400936603546, 0.0012937728315591812, 0.8966836929321289, 0.638690710067749, -1.3014883995056152, 0.10707351565361023, -0.7606975436210632, -0.7033507227897644, 1.7170904874801636, 2.0086402893066406, -0.11495612561702728, -0.2032366245985031, -0.781100869178772, -1.2010526657104492, 0.681462824344635, 0.030342109501361847, 0.06551197171211243, 0.7400752305984497, -0.6336173415184021, 1.2051889896392822, 0.6920619606971741, 0.9974417090415955, -0.02155688963830471, 0.4718877077102661, 0.39164429903030396, -0.35084080696105957, -1.2103036642074585, -0.3330336809158325, -1.1394460201263428, -2.487527370452881, 0.5158569812774658, -0.2127760946750641, -1.363108515739441, 0.009095573797821999, -1.0382670164108276, 0.9079756736755371, -0.6078215837478638, -1.1614136695861816, -1.3954403400421143, 0.27100998163223267, -0.17215457558631897, 0.8039993047714233, -1.6621129512786865, -0.034496162086725235, 1.3649077415466309, 0.9439818859100342, -0.6776840090751648, 1.0392004251480103, 0.22979018092155457, 1.1055971384048462, 0.8203434348106384, -0.45837002992630005, 0.525076150894165, 0.07546468824148178, -1.3457727432250977, 0.5439393520355225, 1.0911040306091309, 0.14629805088043213, 1.4230973720550537, -0.5192211866378784, 0.08644954115152359, 0.46996796131134033, -0.6434755325317383, -0.4934552311897278, -0.6142680644989014, 0.7733089923858643, 0.09147991240024567, -0.8705357909202576, 0.08317096531391144, -0.10481850057840347, -0.14235472679138184, 0.17599749565124512, -1.4866504669189453, -0.26878029108047485, -0.20572203397750854, -0.5008671879768372, -1.3212306499481201, -0.08391918241977692, 1.2911187410354614, -0.7696165442466736, -0.20327270030975342, 0.5032028555870056, 0.3147764801979065, 0.5248568654060364, 0.49416840076446533, -0.6181904077529907, -0.4468402862548828, -0.24054959416389465, -0.3130955696105957, 0.2841351628303528, 1.1898479461669922, -0.1265891194343567, -1.0216606855392456, 0.7249428629875183, -0.3939526081085205, 0.06995987147092819, 1.9405025243759155, -0.006297334097325802, -0.8165225386619568, 0.23468957841396332, -0.6648330688476562, 1.8471649885177612, 1.6878494024276733, 1.2539453506469727, -0.08379605412483215, -0.8616514801979065, 0.6184024214744568, -0.27078062295913696, -0.3946058750152588, 0.840502917766571, 0.45945262908935547, -0.12648515403270721, -1.3687338829040527, 0.4700714349746704, 1.3349872827529907, -0.9316650032997131, -0.7339127063751221, 0.058560945093631744, -0.8123261332511902, 1.074172854423523, 0.6314112544059753, 0.43708258867263794, 0.24931518733501434, 1.559079885482788, 0.6543745994567871, -0.48295772075653076, 0.5152416229248047, 0.4754428267478943, -0.15187180042266846, -2.11031174659729, -1.0417757034301758, 0.3249969482421875, -0.34217071533203125, -1.6899060010910034, 1.345297932624817, -1.1944994926452637, -0.8495817184448242, 0.5562568306922913, 0.18360096216201782, 1.3832131624221802, 0.301705002784729, 1.6515284776687622, 2.0273663997650146, 0.7740347385406494, 0.2902151942253113, 1.3348751068115234, -0.03709055483341217, -0.5058251023292542, 1.8445708751678467, -0.4823906421661377, 0.5788466334342957, 1.0455609560012817, -0.3870183229446411, -1.102961540222168, -0.7948739528656006, -1.2478476762771606, -0.5670098662376404, 1.2167998552322388, 0.1887652426958084, -1.2138887643814087, 0.1530657708644867, 1.6161638498306274, 0.14574946463108063, -0.23786243796348572, 0.6756178140640259, 0.4009730815887451, -0.783037006855011, -0.029482096433639526, -0.9197322130203247, 0.495012104511261, -0.10346799343824387, -0.26057207584381104, 0.2974310517311096, 0.4050326943397522, 1.2938991785049438, 0.013092363253235817, 0.08403170108795166, 1.2768069505691528, -1.3590972423553467, 1.598461627960205, -0.5691699385643005, 0.281313955783844, -2.5111441612243652, 1.3661959171295166, -0.8239384889602661, 1.91869056224823, -2.5219109058380127, 0.31924736499786377, -0.5979757905006409, -0.37795865535736084, 0.29228609800338745, -0.4045255184173584, 0.03166439011693001, -0.1733057200908661, -0.9558570384979248, -0.037170134484767914, -0.789928138256073, 0.504298746585846, 1.233045220375061, 1.3953508138656616, -1.1186259984970093, -0.2412988245487213, -1.9078398942947388, -0.13961955904960632, -0.7119419574737549, 0.46952587366104126, -2.065450429916382, -0.1505691111087799, -1.964599370956421, -2.337977647781372, -1.3983871936798096, -0.7908370494842529, 0.9825295209884644, 0.10365872830152512, -0.8494228720664978, 0.9978163838386536, -0.2945782542228699, -1.7005696296691895, 0.9906951785087585, -2.096360445022583 ]
https://github.com/huggingface/datasets/issues/4358
Missing dataset tags and sections in some dataset cards
@lhoestq I can take this issue. Please can you point out to me where I can find the other positional arguments?
Summary of CircleCI errors for different dataset metadata: - **BoolQ**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' - **Conllpp**: expected some content in section `Citation Information` but it is empty. - **GLUE**: 'annotations_creators', 'language_creators', 'source_datasets' :['unknown'] are not registered tags - **ConLL2003**: field 'task_ids': ['part-of-speech-tagging'] are not registered tags for 'task_ids' - **Hate_speech18:** Expected some content in section `Data Instances` but it is empty, Expected some content in section `Data Splits` but it is empty - **Jjigsaw_toxicity_pred**: `Citation Information` but it is empty. - **LIAR** : `Data Instances`,`Data Fields`, `Data Splits`, `Citation Information` are empty. - **MSRA NER** : Dataset Summary`, `Data Instances`, `Data Fields`, `Data Splits`, `Citation Information` are empty. - **sem_eval_2010_task_8**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' - **sms_spam**: `Data Instances` and`Data Splits` are empty. - **Quora** : Expected some content in section `Citation Information` but it is empty, missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' - **sentiment140**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids'
756
21
Missing dataset tags and sections in some dataset cards Summary of CircleCI errors for different dataset metadata: - **BoolQ**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' - **Conllpp**: expected some content in section `Citation Information` but it is empty. - **GLUE**: 'annotations_creators', 'language_creators', 'source_datasets' :['unknown'] are not registered tags - **ConLL2003**: field 'task_ids': ['part-of-speech-tagging'] are not registered tags for 'task_ids' - **Hate_speech18:** Expected some content in section `Data Instances` but it is empty, Expected some content in section `Data Splits` but it is empty - **Jjigsaw_toxicity_pred**: `Citation Information` but it is empty. - **LIAR** : `Data Instances`,`Data Fields`, `Data Splits`, `Citation Information` are empty. - **MSRA NER** : Dataset Summary`, `Data Instances`, `Data Fields`, `Data Splits`, `Citation Information` are empty. - **sem_eval_2010_task_8**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' - **sms_spam**: `Data Instances` and`Data Splits` are empty. - **Quora** : Expected some content in section `Citation Information` but it is empty, missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' - **sentiment140**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' @lhoestq I can take this issue. Please can you point out to me where I can find the other positional arguments?
[ -1.1805784702301025, -1.0720590353012085, -0.5504839420318604, 1.4923564195632935, -0.3652375340461731, -1.276519536972046, 0.10107661038637161, -0.933866024017334, 1.7539228200912476, -0.7149507403373718, 0.1217690035700798, -1.6205108165740967, -0.12002208083868027, -0.8248541951179504, -0.847578763961792, -0.632775604724884, -0.417199969291687, -0.904906153678894, 1.101195216178894, 2.348214626312256, 1.101707935333252, -1.617576003074646, 2.7251694202423096, 0.6436302065849304, -0.03757913038134575, -0.9963528513908386, 0.4295729994773865, -0.011871024034917355, -1.1001728773117065, -0.49885544180870056, -0.8872687816619873, -0.16602110862731934, -0.5756924748420715, -0.3265000283718109, 0.03009829856455326, 0.598265528678894, -0.1335626095533371, -0.6067109107971191, -0.5441932678222656, -0.5924367904663086, 0.37754499912261963, -0.4036242961883545, 0.9034171104431152, -0.3468381464481354, 1.745002269744873, -0.5082694292068481, 0.2854641377925873, 0.626972496509552, 1.4095491170883179, 0.22547484934329987, -0.01057510357350111, 0.30412742495536804, 0.37146398425102234, -0.043671440333127975, 0.6473154425621033, 1.0283228158950806, 0.7054954171180725, 0.4060111939907074, 0.7779561877250671, -2.3804807662963867, 1.2776514291763306, -1.112410306930542, 0.4680376350879669, 1.4929739236831665, -0.8546786308288574, 0.4168568253517151, -1.8831868171691895, 0.2564431130886078, 0.6345412731170654, -2.121934652328491, 0.4354041814804077, -1.1876676082611084, -0.49217307567596436, 0.8966943025588989, 0.29756876826286316, -1.2984224557876587, 0.21476463973522186, -0.3715783953666687, 1.0100778341293335, 0.19256028532981873, 0.9023929834365845, -1.856817364692688, -0.04196401312947273, -0.18017032742500305, 0.11698312312364578, -1.142753005027771, -1.6375329494476318, 0.60243821144104, 0.5510184168815613, 0.6844702959060669, -0.3260717988014221, 0.9052125215530396, -1.1991387605667114, 0.7437096834182739, -1.2665221691131592, -1.6388660669326782, -1.3735841512680054, -2.277933120727539, -2.2020606994628906, 0.7849062085151672, -0.4378886818885803, -0.3791283965110779, 2.0144362449645996, -0.772281289100647, -1.6697324514389038, 1.1829220056533813, 0.4346567690372467, 0.2304217517375946, 2.3168554306030273, 0.1512099951505661, -0.7228160500526428, 0.4720057249069214, -0.9239934086799622, 0.7797765731811523, -0.39223235845565796, 1.5488356351852417, 0.2607455551624298, -0.9116184115409851, 1.640749216079712, -0.363018274307251, 0.6352160573005676, -0.6215320825576782, -0.5982453227043152, -0.7832880020141602, 0.4324469268321991, 1.9172455072402954, -0.0786871537566185, 1.3281785249710083, -0.5091592073440552, -1.6086519956588745, -1.448097586631775, 1.071382761001587, 0.4492344260215759, -0.9556747078895569, 0.034588538110256195, -0.5189142823219299, 0.2001514434814453, -0.35872846841812134, 1.2142254114151, 1.1833298206329346, 0.6643499732017517, -0.36484119296073914, -0.915940523147583, 0.08930805325508118, -0.22454391419887543, -0.7352237105369568, -1.8210818767547607, -0.2522342801094055, 0.16634106636047363, 0.5829542279243469, -1.226393222808838, 1.6471368074417114, 0.9198679327964783, 1.9493247270584106, 0.8772603273391724, -0.43691810965538025, 1.4376964569091797, 0.13862143456935883, 1.878708004951477, -0.7288927435874939, 0.6107800006866455, -0.336200088262558, -1.105210781097412, 1.0315874814987183, -0.3474411368370056, -2.010455369949341, -0.7159900069236755, -0.8749397993087769, -0.4123893082141876, -0.7322771549224854, 0.8326975703239441, -0.30197760462760925, -1.46822190284729, 0.2047884315252304, -0.6718980669975281, 0.4813345968723297, -1.081048846244812, 0.29578086733818054, 0.8414697051048279, -0.5358898043632507, 0.016696665436029434, -0.2882107198238373, -1.3613789081573486, -0.7025957107543945, 0.5545476078987122, 1.8421448469161987, -0.6672338247299194, 0.7834145426750183, 1.024257779121399, -0.6529631018638611, -0.016096338629722595, 0.18688564002513885, -0.2505438029766083, 0.7472339272499084, -1.1127718687057495, -0.7361065745353699, 1.1042841672897339, -0.2782934010028839, -0.4274386167526245, 1.4888850450515747, 0.83001309633255, -1.0964994430541992, -0.18716418743133545, -0.2505495548248291, -0.8095471262931824, 0.13336564600467682, -1.5950778722763062, -0.19217543303966522, 0.49522456526756287, -1.5477259159088135, -0.5534588694572449, -0.2879329323768616, 1.2325127124786377, -0.17894184589385986, 1.235343337059021, -0.25423693656921387, -0.22321517765522003, -0.26836082339286804, -0.44956204295158386, 0.3257421553134918, -0.2902224659919739, -0.6587939262390137, 0.034336887300014496, -0.764686644077301, 0.4770467281341553, 1.4298306703567505, 0.2634892761707306, -0.12161500006914139, 0.5454836487770081, 1.1532399654388428, 0.40293487906455994, 0.19694964587688446, -0.9317485094070435, -1.5344260931015015, 1.8009313344955444, -1.636413335800171, 1.8888622522354126, 0.5947887301445007, 0.09936964511871338, -1.5894453525543213, -1.8398041725158691, 1.386552095413208, 1.1913093328475952, 2.207214117050171, 0.5619322657585144, 0.37327975034713745, -0.9966669678688049, -0.6157246828079224, 0.13948728144168854, -0.8147130012512207, -0.6882220506668091, 0.1883753538131714, 2.393662452697754, 1.8298821449279785, -0.5530354380607605, -0.1890181452035904, -0.878450334072113, 1.5367436408996582, -0.3063933551311493, 0.45057156682014465, 2.0788278579711914, -0.296461284160614, -1.0980509519577026, 1.4182041883468628, -2.576753854751587, 0.3840517997741699, 2.097014904022217, 0.3356657326221466, 0.3144581913948059, -1.3275443315505981, -0.6037470698356628, -0.23757991194725037, -0.34503597021102905, -1.3164230585098267, 0.5346885919570923, -0.20892742276191711, -0.6783534288406372, -1.523402452468872, 0.4025060832500458, -1.1487942934036255, -1.4816306829452515, 0.3961871564388275, 2.09153151512146, 2.1572043895721436, -0.763933539390564, 1.6038167476654053, -0.29079777002334595, 0.3937374949455261, 1.2214720249176025, 1.2068402767181396, 2.9215598106384277, 1.8368232250213623, -1.0559269189834595, 0.5544036030769348, -0.2610030770301819, -0.47840285301208496, 1.1301823854446411, -1.0794684886932373, 1.0646203756332397, -0.1654859185218811, -0.9885627627372742, -1.2106361389160156, 0.8886867165565491, 0.6564762592315674, 0.03521498292684555, -0.4699234962463379, 1.0693528652191162, -0.015123550780117512, 1.2002092599868774, 0.6789475083351135, -0.4306035339832306, 0.37885022163391113, -0.4325900673866272, -0.5237439274787903, 1.5881153345108032, 0.12052319198846817, -1.3745789527893066, -2.1887664794921875, -0.3028944730758667, -0.8960123658180237, 0.04676663875579834, -0.5830298662185669, -0.9950299263000488, 1.4817239046096802, 0.3367915153503418, -1.143533706665039, -0.16244818270206451, -0.15982411801815033, -0.4453969895839691, 2.6479029655456543, -1.1905878782272339, -0.34360259771347046, -0.8777590990066528, -0.5535631775856018, 1.7738666534423828, -1.1536500453948975, -0.2301623821258545, -1.1588935852050781, -0.5284684896469116, -1.219102382659912, -0.4127635955810547, 0.002380652353167534, -0.8955582976341248, 1.1841353178024292, 0.28114622831344604, -1.2767313718795776, -0.4100296199321747, -1.0498356819152832, 0.9444950222969055, -0.19320467114448547, 0.1673382669687271, 1.7875428199768066, 0.2794768214225769, -0.3298817574977875, 0.9365916848182678, 1.1818370819091797, 0.7631798386573792, -0.6020122766494751, 0.14945250749588013, -0.4010697305202484, 0.42044883966445923, -1.3372942209243774, 0.2962043583393097, -2.9686551094055176, 0.5914390683174133, 0.051134735345840454, -0.09095641225576401, -0.0389370359480381, -1.5323220491409302, 1.1954866647720337, 2.3498830795288086, -1.2623746395111084, 0.4984475076198578, 0.4059280455112457, 1.3313883543014526, -1.7338683605194092, 0.22797328233718872, -0.3535861372947693, 2.1447513103485107, 0.02110130526125431, 1.1750414371490479, -0.5577908754348755, -2.5372982025146484, 0.5067444443702698, -1.3154078722000122, -1.1296371221542358, 0.2940237820148468, -0.9255897998809814, 0.2698679268360138, -1.6962029933929443, -0.34941554069519043, -1.0451675653457642, -1.31170654296875, 0.7055387496948242, 0.15505948662757874, 0.0753827840089798, -0.6777024865150452, 0.4141670763492584, -2.0489661693573, -1.4512385129928589, -0.2887726426124573, -0.8869516253471375, 0.6604077816009521, -0.40533122420310974, 0.7102360725402832, 0.03543221950531006, 0.07259504497051239, 0.18398167192935944, 1.6760061979293823, 3.3965582847595215, 0.05094616115093231, 0.33022361993789673, -0.21361476182937622, -0.8038835525512695, 1.497279167175293, 1.0369421243667603, 0.11841341108083725, -0.5131504535675049, -1.1465195417404175, 1.4334943294525146, 2.087651252746582, 0.8825687766075134, -0.0436398908495903, -0.6438282132148743, -0.5637277364730835, -0.019301626831293106, 0.2831833064556122, 0.5822941064834595, 0.8612152338027954, 0.12119708210229874, -0.03134758770465851, 1.213568091392517, 1.0739256143569946, -0.3450678884983063, 0.2477235198020935, -0.8662868738174438, -0.5054115056991577, 0.5160449147224426, 0.1707582324743271, -0.08068443834781647, 0.2978241443634033, -1.0883355140686035, -0.21787168085575104, -0.21848319470882416, -0.829167902469635, -0.6525417566299438, -0.4946494400501251, -0.4859837293624878, 1.5415499210357666, 0.3018205165863037, -0.7000307440757751, 0.011331429705023766, -0.4635027050971985, 0.030648821964859962, -1.1448076963424683, 0.14538466930389404, -0.20037437975406647, -0.10067826509475708, -0.3756054937839508, 1.6787680387496948, -0.8248425722122192, -1.924391746520996, -0.061047784984111786, 0.4835855960845947, -0.29578620195388794, 0.16181465983390808, 1.6666518449783325, 0.4656035900115967, 1.5567317008972168, 1.4218183755874634, 1.0504043102264404, -0.5400631427764893, -1.3959952592849731, 0.6493884921073914, 0.9973686933517456, -1.298011064529419, 0.7704892754554749, 0.062380120158195496, -0.5898664593696594, 0.7527299523353577, 1.545091986656189, 0.43487098813056946, -2.094630479812622, 0.8214322328567505, -1.2400494813919067, 1.0466922521591187, 0.7865737080574036, 0.8678262829780579, 0.33245763182640076, 0.8899670839309692, -1.246767520904541, -1.0444951057434082, -0.8885059356689453, -0.7953706979751587, 2.0929651260375977, -0.4270309507846832, 0.44364476203918457, -0.06003611534833908, -1.1649351119995117, -0.027047351002693176, 0.7224091291427612, 0.5963359475135803, -0.29410049319267273, 0.6708739399909973, -0.7921978235244751, -1.1348140239715576, -1.2540342807769775, -0.46618035435676575, -0.9685714244842529, -0.999567985534668, 0.869613766670227, 0.9391782283782959, 0.5059988498687744, 1.8098746538162231, 0.7181562185287476, 0.17877554893493652, -2.4301071166992188, 0.8716859221458435, 0.32100704312324524, -0.23075367510318756, 0.7663835287094116, 0.3358894884586334, 1.1970362663269043, 0.09454742819070816, 0.5849597454071045, -2.4109458923339844, 2.2024707794189453, -0.1342620998620987, 0.7743579149246216, -0.10435398668050766, -0.09939278662204742, 1.1833447217941284, 0.4734713137149811, 0.36819738149642944, -1.0077455043792725, 0.648398220539093, -0.521186888217926, 1.2153658866882324, 0.835838258266449, -0.6708517074584961, -0.039193373173475266, 1.2522852420806885, 0.4315547049045563, -0.7865422964096069, -1.112757682800293, -0.9545484185218811, 0.9097935557365417, 1.6207865476608276, -0.2396937757730484, -0.20308135449886322, 0.8282071352005005, 0.7086635231971741, -1.1025891304016113, -0.07581925392150879, -0.5736384987831116, -0.6180811524391174, 1.7058714628219604, 2.058743953704834, -0.25934067368507385, -0.06317690014839172, -0.6168854236602783, -1.297313928604126, 0.651841402053833, 0.05585075169801712, -0.09134107828140259, 0.6533536314964294, -0.5394962430000305, 0.9548518061637878, 0.7362807393074036, 0.8184468746185303, -0.07455974072217941, 0.4397757351398468, 0.5670309066772461, -0.44595596194267273, -1.1040928363800049, -0.3498985469341278, -1.1830003261566162, -2.5440118312835693, 0.3800811171531677, -0.1575435996055603, -1.374171495437622, -0.00016370974481105804, -1.0535715818405151, 1.0408272743225098, -0.5940316319465637, -1.364772915840149, -1.4519069194793701, 0.19119569659233093, 0.1372484713792801, 0.856395423412323, -1.703974962234497, -0.14381307363510132, 1.2889238595962524, 0.7383931279182434, -0.7446447014808655, 0.9191638827323914, 0.22932972013950348, 1.0039013624191284, 0.6863832473754883, -0.3300163447856903, 0.4967276155948639, 0.00957491435110569, -1.3442939519882202, 0.6201896071434021, 1.2967443466186523, 0.04081425070762634, 1.2945866584777832, -0.42299240827560425, -0.021010586991906166, 0.4668625593185425, -0.686450719833374, -0.4530281722545624, -0.4032723605632782, 0.5547623038291931, 0.02018979750573635, -0.7685102820396423, 0.026076411828398705, 0.07234612852334976, -0.29634109139442444, 0.16966618597507477, -1.5341929197311401, -0.28851252794265747, -0.4134761095046997, -0.33970382809638977, -1.211304783821106, -0.1417641043663025, 1.3934004306793213, -0.4980759024620056, -0.29414254426956177, 0.7061159610748291, 0.42936351895332336, 0.4940476715564728, 0.5976422429084778, -0.6722171902656555, -0.26933014392852783, -0.2406919002532959, -0.4344519078731537, 0.18331116437911987, 1.415069341659546, -0.09991414099931717, -1.002245306968689, 0.5808669924736023, -0.4259062707424164, -0.005212906748056412, 1.7996991872787476, -0.033621907234191895, -0.9199026226997375, 0.4029853343963623, -0.9116503000259399, 1.9394689798355103, 1.5522985458374023, 1.2126699686050415, -0.2176322340965271, -0.8923201560974121, 0.6501145362854004, -0.3970770239830017, -0.4325411319732666, 0.7493686676025391, 0.4337029755115509, -0.29447364807128906, -1.3339817523956299, 0.8051193952560425, 1.2826961278915405, -0.7818242907524109, -0.8966718316078186, 0.38830581307411194, -0.6847167015075684, 1.26215398311615, 0.5227740406990051, 0.42839449644088745, 0.26791852712631226, 1.7449547052383423, 0.7181137204170227, -0.41875389218330383, 0.550521194934845, 0.7622788548469543, -0.3588002026081085, -2.035501718521118, -1.4249370098114014, 0.16325776278972626, -0.6500765085220337, -1.675252079963684, 1.3127449750900269, -0.9753072261810303, -0.9533510804176331, 0.5596411228179932, 0.09973345696926117, 1.3248265981674194, 0.601630449295044, 1.5675392150878906, 1.9256961345672607, 0.6732991933822632, 0.6644598245620728, 1.317733645439148, -0.17025470733642578, -0.6280451416969299, 1.9620953798294067, -0.4243917167186737, 0.6155282258987427, 1.2482068538665771, -0.3032418489456177, -1.3262859582901, -0.7195379137992859, -1.1711376905441284, -0.6364988088607788, 1.1121007204055786, 0.09573006629943848, -1.2479325532913208, 0.3456672430038452, 1.5867469310760498, 0.13873831927776337, -0.3514062166213989, 0.6522952914237976, 0.2896133065223694, -0.913823127746582, -0.05516166239976883, -1.0285453796386719, 0.4142579734325409, -0.3660735487937927, -0.16060161590576172, 0.3345240652561188, 0.7065121531486511, 1.3320046663284302, -0.03913908079266548, 0.13527911901474, 0.9194408655166626, -1.507463812828064, 1.4102518558502197, -0.7983160018920898, 0.38616833090782166, -2.4254419803619385, 1.2723665237426758, -0.6466667652130127, 2.1519455909729004, -2.7832956314086914, 0.3136531114578247, -0.5860901474952698, -0.496759831905365, 0.2956005036830902, -0.18699118494987488, 0.005606032907962799, 0.02725500427186489, -1.1783313751220703, 0.13407912850379944, -0.6566001176834106, 0.5650351643562317, 1.290827751159668, 1.4102174043655396, -1.0378228425979614, -0.22250744700431824, -1.5969836711883545, -0.20329974591732025, -0.6980537176132202, 0.3635173439979553, -2.0498194694519043, -0.10815902799367905, -1.7817280292510986, -2.0251827239990234, -1.2002959251403809, -0.8422753214836121, 1.0945229530334473, 0.06694485992193222, -0.8642957210540771, 1.3711919784545898, -0.2522628605365753, -1.6522648334503174, 1.012820839881897, -2.0317115783691406 ]
https://github.com/huggingface/datasets/issues/4358
Missing dataset tags and sections in some dataset cards
Hi @RohitRathore1 :) You can find all the YAML tags in the tagging app here: https://hf.co/spaces/huggingface/datasets-tagging). They're all passed as arguments to a DatasetMetadata object used to validate the tags.
Summary of CircleCI errors for different dataset metadata: - **BoolQ**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' - **Conllpp**: expected some content in section `Citation Information` but it is empty. - **GLUE**: 'annotations_creators', 'language_creators', 'source_datasets' :['unknown'] are not registered tags - **ConLL2003**: field 'task_ids': ['part-of-speech-tagging'] are not registered tags for 'task_ids' - **Hate_speech18:** Expected some content in section `Data Instances` but it is empty, Expected some content in section `Data Splits` but it is empty - **Jjigsaw_toxicity_pred**: `Citation Information` but it is empty. - **LIAR** : `Data Instances`,`Data Fields`, `Data Splits`, `Citation Information` are empty. - **MSRA NER** : Dataset Summary`, `Data Instances`, `Data Fields`, `Data Splits`, `Citation Information` are empty. - **sem_eval_2010_task_8**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' - **sms_spam**: `Data Instances` and`Data Splits` are empty. - **Quora** : Expected some content in section `Citation Information` but it is empty, missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' - **sentiment140**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids'
756
30
Missing dataset tags and sections in some dataset cards Summary of CircleCI errors for different dataset metadata: - **BoolQ**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' - **Conllpp**: expected some content in section `Citation Information` but it is empty. - **GLUE**: 'annotations_creators', 'language_creators', 'source_datasets' :['unknown'] are not registered tags - **ConLL2003**: field 'task_ids': ['part-of-speech-tagging'] are not registered tags for 'task_ids' - **Hate_speech18:** Expected some content in section `Data Instances` but it is empty, Expected some content in section `Data Splits` but it is empty - **Jjigsaw_toxicity_pred**: `Citation Information` but it is empty. - **LIAR** : `Data Instances`,`Data Fields`, `Data Splits`, `Citation Information` are empty. - **MSRA NER** : Dataset Summary`, `Data Instances`, `Data Fields`, `Data Splits`, `Citation Information` are empty. - **sem_eval_2010_task_8**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' - **sms_spam**: `Data Instances` and`Data Splits` are empty. - **Quora** : Expected some content in section `Citation Information` but it is empty, missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' - **sentiment140**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids' Hi @RohitRathore1 :) You can find all the YAML tags in the tagging app here: https://hf.co/spaces/huggingface/datasets-tagging). They're all passed as arguments to a DatasetMetadata object used to validate the tags.
[ -1.1805784702301025, -1.0720590353012085, -0.5504839420318604, 1.4923564195632935, -0.3652375340461731, -1.276519536972046, 0.10107661038637161, -0.933866024017334, 1.7539228200912476, -0.7149507403373718, 0.1217690035700798, -1.6205108165740967, -0.12002208083868027, -0.8248541951179504, -0.847578763961792, -0.632775604724884, -0.417199969291687, -0.904906153678894, 1.101195216178894, 2.348214626312256, 1.101707935333252, -1.617576003074646, 2.7251694202423096, 0.6436302065849304, -0.03757913038134575, -0.9963528513908386, 0.4295729994773865, -0.011871024034917355, -1.1001728773117065, -0.49885544180870056, -0.8872687816619873, -0.16602110862731934, -0.5756924748420715, -0.3265000283718109, 0.03009829856455326, 0.598265528678894, -0.1335626095533371, -0.6067109107971191, -0.5441932678222656, -0.5924367904663086, 0.37754499912261963, -0.4036242961883545, 0.9034171104431152, -0.3468381464481354, 1.745002269744873, -0.5082694292068481, 0.2854641377925873, 0.626972496509552, 1.4095491170883179, 0.22547484934329987, -0.01057510357350111, 0.30412742495536804, 0.37146398425102234, -0.043671440333127975, 0.6473154425621033, 1.0283228158950806, 0.7054954171180725, 0.4060111939907074, 0.7779561877250671, -2.3804807662963867, 1.2776514291763306, -1.112410306930542, 0.4680376350879669, 1.4929739236831665, -0.8546786308288574, 0.4168568253517151, -1.8831868171691895, 0.2564431130886078, 0.6345412731170654, -2.121934652328491, 0.4354041814804077, -1.1876676082611084, -0.49217307567596436, 0.8966943025588989, 0.29756876826286316, -1.2984224557876587, 0.21476463973522186, -0.3715783953666687, 1.0100778341293335, 0.19256028532981873, 0.9023929834365845, -1.856817364692688, -0.04196401312947273, -0.18017032742500305, 0.11698312312364578, -1.142753005027771, -1.6375329494476318, 0.60243821144104, 0.5510184168815613, 0.6844702959060669, -0.3260717988014221, 0.9052125215530396, -1.1991387605667114, 0.7437096834182739, -1.2665221691131592, -1.6388660669326782, -1.3735841512680054, -2.277933120727539, -2.2020606994628906, 0.7849062085151672, -0.4378886818885803, -0.3791283965110779, 2.0144362449645996, -0.772281289100647, -1.6697324514389038, 1.1829220056533813, 0.4346567690372467, 0.2304217517375946, 2.3168554306030273, 0.1512099951505661, -0.7228160500526428, 0.4720057249069214, -0.9239934086799622, 0.7797765731811523, -0.39223235845565796, 1.5488356351852417, 0.2607455551624298, -0.9116184115409851, 1.640749216079712, -0.363018274307251, 0.6352160573005676, -0.6215320825576782, -0.5982453227043152, -0.7832880020141602, 0.4324469268321991, 1.9172455072402954, -0.0786871537566185, 1.3281785249710083, -0.5091592073440552, -1.6086519956588745, -1.448097586631775, 1.071382761001587, 0.4492344260215759, -0.9556747078895569, 0.034588538110256195, -0.5189142823219299, 0.2001514434814453, -0.35872846841812134, 1.2142254114151, 1.1833298206329346, 0.6643499732017517, -0.36484119296073914, -0.915940523147583, 0.08930805325508118, -0.22454391419887543, -0.7352237105369568, -1.8210818767547607, -0.2522342801094055, 0.16634106636047363, 0.5829542279243469, -1.226393222808838, 1.6471368074417114, 0.9198679327964783, 1.9493247270584106, 0.8772603273391724, -0.43691810965538025, 1.4376964569091797, 0.13862143456935883, 1.878708004951477, -0.7288927435874939, 0.6107800006866455, -0.336200088262558, -1.105210781097412, 1.0315874814987183, -0.3474411368370056, -2.010455369949341, -0.7159900069236755, -0.8749397993087769, -0.4123893082141876, -0.7322771549224854, 0.8326975703239441, -0.30197760462760925, -1.46822190284729, 0.2047884315252304, -0.6718980669975281, 0.4813345968723297, -1.081048846244812, 0.29578086733818054, 0.8414697051048279, -0.5358898043632507, 0.016696665436029434, -0.2882107198238373, -1.3613789081573486, -0.7025957107543945, 0.5545476078987122, 1.8421448469161987, -0.6672338247299194, 0.7834145426750183, 1.024257779121399, -0.6529631018638611, -0.016096338629722595, 0.18688564002513885, -0.2505438029766083, 0.7472339272499084, -1.1127718687057495, -0.7361065745353699, 1.1042841672897339, -0.2782934010028839, -0.4274386167526245, 1.4888850450515747, 0.83001309633255, -1.0964994430541992, -0.18716418743133545, -0.2505495548248291, -0.8095471262931824, 0.13336564600467682, -1.5950778722763062, -0.19217543303966522, 0.49522456526756287, -1.5477259159088135, -0.5534588694572449, -0.2879329323768616, 1.2325127124786377, -0.17894184589385986, 1.235343337059021, -0.25423693656921387, -0.22321517765522003, -0.26836082339286804, -0.44956204295158386, 0.3257421553134918, -0.2902224659919739, -0.6587939262390137, 0.034336887300014496, -0.764686644077301, 0.4770467281341553, 1.4298306703567505, 0.2634892761707306, -0.12161500006914139, 0.5454836487770081, 1.1532399654388428, 0.40293487906455994, 0.19694964587688446, -0.9317485094070435, -1.5344260931015015, 1.8009313344955444, -1.636413335800171, 1.8888622522354126, 0.5947887301445007, 0.09936964511871338, -1.5894453525543213, -1.8398041725158691, 1.386552095413208, 1.1913093328475952, 2.207214117050171, 0.5619322657585144, 0.37327975034713745, -0.9966669678688049, -0.6157246828079224, 0.13948728144168854, -0.8147130012512207, -0.6882220506668091, 0.1883753538131714, 2.393662452697754, 1.8298821449279785, -0.5530354380607605, -0.1890181452035904, -0.878450334072113, 1.5367436408996582, -0.3063933551311493, 0.45057156682014465, 2.0788278579711914, -0.296461284160614, -1.0980509519577026, 1.4182041883468628, -2.576753854751587, 0.3840517997741699, 2.097014904022217, 0.3356657326221466, 0.3144581913948059, -1.3275443315505981, -0.6037470698356628, -0.23757991194725037, -0.34503597021102905, -1.3164230585098267, 0.5346885919570923, -0.20892742276191711, -0.6783534288406372, -1.523402452468872, 0.4025060832500458, -1.1487942934036255, -1.4816306829452515, 0.3961871564388275, 2.09153151512146, 2.1572043895721436, -0.763933539390564, 1.6038167476654053, -0.29079777002334595, 0.3937374949455261, 1.2214720249176025, 1.2068402767181396, 2.9215598106384277, 1.8368232250213623, -1.0559269189834595, 0.5544036030769348, -0.2610030770301819, -0.47840285301208496, 1.1301823854446411, -1.0794684886932373, 1.0646203756332397, -0.1654859185218811, -0.9885627627372742, -1.2106361389160156, 0.8886867165565491, 0.6564762592315674, 0.03521498292684555, -0.4699234962463379, 1.0693528652191162, -0.015123550780117512, 1.2002092599868774, 0.6789475083351135, -0.4306035339832306, 0.37885022163391113, -0.4325900673866272, -0.5237439274787903, 1.5881153345108032, 0.12052319198846817, -1.3745789527893066, -2.1887664794921875, -0.3028944730758667, -0.8960123658180237, 0.04676663875579834, -0.5830298662185669, -0.9950299263000488, 1.4817239046096802, 0.3367915153503418, -1.143533706665039, -0.16244818270206451, -0.15982411801815033, -0.4453969895839691, 2.6479029655456543, -1.1905878782272339, -0.34360259771347046, -0.8777590990066528, -0.5535631775856018, 1.7738666534423828, -1.1536500453948975, -0.2301623821258545, -1.1588935852050781, -0.5284684896469116, -1.219102382659912, -0.4127635955810547, 0.002380652353167534, -0.8955582976341248, 1.1841353178024292, 0.28114622831344604, -1.2767313718795776, -0.4100296199321747, -1.0498356819152832, 0.9444950222969055, -0.19320467114448547, 0.1673382669687271, 1.7875428199768066, 0.2794768214225769, -0.3298817574977875, 0.9365916848182678, 1.1818370819091797, 0.7631798386573792, -0.6020122766494751, 0.14945250749588013, -0.4010697305202484, 0.42044883966445923, -1.3372942209243774, 0.2962043583393097, -2.9686551094055176, 0.5914390683174133, 0.051134735345840454, -0.09095641225576401, -0.0389370359480381, -1.5323220491409302, 1.1954866647720337, 2.3498830795288086, -1.2623746395111084, 0.4984475076198578, 0.4059280455112457, 1.3313883543014526, -1.7338683605194092, 0.22797328233718872, -0.3535861372947693, 2.1447513103485107, 0.02110130526125431, 1.1750414371490479, -0.5577908754348755, -2.5372982025146484, 0.5067444443702698, -1.3154078722000122, -1.1296371221542358, 0.2940237820148468, -0.9255897998809814, 0.2698679268360138, -1.6962029933929443, -0.34941554069519043, -1.0451675653457642, -1.31170654296875, 0.7055387496948242, 0.15505948662757874, 0.0753827840089798, -0.6777024865150452, 0.4141670763492584, -2.0489661693573, -1.4512385129928589, -0.2887726426124573, -0.8869516253471375, 0.6604077816009521, -0.40533122420310974, 0.7102360725402832, 0.03543221950531006, 0.07259504497051239, 0.18398167192935944, 1.6760061979293823, 3.3965582847595215, 0.05094616115093231, 0.33022361993789673, -0.21361476182937622, -0.8038835525512695, 1.497279167175293, 1.0369421243667603, 0.11841341108083725, -0.5131504535675049, -1.1465195417404175, 1.4334943294525146, 2.087651252746582, 0.8825687766075134, -0.0436398908495903, -0.6438282132148743, -0.5637277364730835, -0.019301626831293106, 0.2831833064556122, 0.5822941064834595, 0.8612152338027954, 0.12119708210229874, -0.03134758770465851, 1.213568091392517, 1.0739256143569946, -0.3450678884983063, 0.2477235198020935, -0.8662868738174438, -0.5054115056991577, 0.5160449147224426, 0.1707582324743271, -0.08068443834781647, 0.2978241443634033, -1.0883355140686035, -0.21787168085575104, -0.21848319470882416, -0.829167902469635, -0.6525417566299438, -0.4946494400501251, -0.4859837293624878, 1.5415499210357666, 0.3018205165863037, -0.7000307440757751, 0.011331429705023766, -0.4635027050971985, 0.030648821964859962, -1.1448076963424683, 0.14538466930389404, -0.20037437975406647, -0.10067826509475708, -0.3756054937839508, 1.6787680387496948, -0.8248425722122192, -1.924391746520996, -0.061047784984111786, 0.4835855960845947, -0.29578620195388794, 0.16181465983390808, 1.6666518449783325, 0.4656035900115967, 1.5567317008972168, 1.4218183755874634, 1.0504043102264404, -0.5400631427764893, -1.3959952592849731, 0.6493884921073914, 0.9973686933517456, -1.298011064529419, 0.7704892754554749, 0.062380120158195496, -0.5898664593696594, 0.7527299523353577, 1.545091986656189, 0.43487098813056946, -2.094630479812622, 0.8214322328567505, -1.2400494813919067, 1.0466922521591187, 0.7865737080574036, 0.8678262829780579, 0.33245763182640076, 0.8899670839309692, -1.246767520904541, -1.0444951057434082, -0.8885059356689453, -0.7953706979751587, 2.0929651260375977, -0.4270309507846832, 0.44364476203918457, -0.06003611534833908, -1.1649351119995117, -0.027047351002693176, 0.7224091291427612, 0.5963359475135803, -0.29410049319267273, 0.6708739399909973, -0.7921978235244751, -1.1348140239715576, -1.2540342807769775, -0.46618035435676575, -0.9685714244842529, -0.999567985534668, 0.869613766670227, 0.9391782283782959, 0.5059988498687744, 1.8098746538162231, 0.7181562185287476, 0.17877554893493652, -2.4301071166992188, 0.8716859221458435, 0.32100704312324524, -0.23075367510318756, 0.7663835287094116, 0.3358894884586334, 1.1970362663269043, 0.09454742819070816, 0.5849597454071045, -2.4109458923339844, 2.2024707794189453, -0.1342620998620987, 0.7743579149246216, -0.10435398668050766, -0.09939278662204742, 1.1833447217941284, 0.4734713137149811, 0.36819738149642944, -1.0077455043792725, 0.648398220539093, -0.521186888217926, 1.2153658866882324, 0.835838258266449, -0.6708517074584961, -0.039193373173475266, 1.2522852420806885, 0.4315547049045563, -0.7865422964096069, -1.112757682800293, -0.9545484185218811, 0.9097935557365417, 1.6207865476608276, -0.2396937757730484, -0.20308135449886322, 0.8282071352005005, 0.7086635231971741, -1.1025891304016113, -0.07581925392150879, -0.5736384987831116, -0.6180811524391174, 1.7058714628219604, 2.058743953704834, -0.25934067368507385, -0.06317690014839172, -0.6168854236602783, -1.297313928604126, 0.651841402053833, 0.05585075169801712, -0.09134107828140259, 0.6533536314964294, -0.5394962430000305, 0.9548518061637878, 0.7362807393074036, 0.8184468746185303, -0.07455974072217941, 0.4397757351398468, 0.5670309066772461, -0.44595596194267273, -1.1040928363800049, -0.3498985469341278, -1.1830003261566162, -2.5440118312835693, 0.3800811171531677, -0.1575435996055603, -1.374171495437622, -0.00016370974481105804, -1.0535715818405151, 1.0408272743225098, -0.5940316319465637, -1.364772915840149, -1.4519069194793701, 0.19119569659233093, 0.1372484713792801, 0.856395423412323, -1.703974962234497, -0.14381307363510132, 1.2889238595962524, 0.7383931279182434, -0.7446447014808655, 0.9191638827323914, 0.22932972013950348, 1.0039013624191284, 0.6863832473754883, -0.3300163447856903, 0.4967276155948639, 0.00957491435110569, -1.3442939519882202, 0.6201896071434021, 1.2967443466186523, 0.04081425070762634, 1.2945866584777832, -0.42299240827560425, -0.021010586991906166, 0.4668625593185425, -0.686450719833374, -0.4530281722545624, -0.4032723605632782, 0.5547623038291931, 0.02018979750573635, -0.7685102820396423, 0.026076411828398705, 0.07234612852334976, -0.29634109139442444, 0.16966618597507477, -1.5341929197311401, -0.28851252794265747, -0.4134761095046997, -0.33970382809638977, -1.211304783821106, -0.1417641043663025, 1.3934004306793213, -0.4980759024620056, -0.29414254426956177, 0.7061159610748291, 0.42936351895332336, 0.4940476715564728, 0.5976422429084778, -0.6722171902656555, -0.26933014392852783, -0.2406919002532959, -0.4344519078731537, 0.18331116437911987, 1.415069341659546, -0.09991414099931717, -1.002245306968689, 0.5808669924736023, -0.4259062707424164, -0.005212906748056412, 1.7996991872787476, -0.033621907234191895, -0.9199026226997375, 0.4029853343963623, -0.9116503000259399, 1.9394689798355103, 1.5522985458374023, 1.2126699686050415, -0.2176322340965271, -0.8923201560974121, 0.6501145362854004, -0.3970770239830017, -0.4325411319732666, 0.7493686676025391, 0.4337029755115509, -0.29447364807128906, -1.3339817523956299, 0.8051193952560425, 1.2826961278915405, -0.7818242907524109, -0.8966718316078186, 0.38830581307411194, -0.6847167015075684, 1.26215398311615, 0.5227740406990051, 0.42839449644088745, 0.26791852712631226, 1.7449547052383423, 0.7181137204170227, -0.41875389218330383, 0.550521194934845, 0.7622788548469543, -0.3588002026081085, -2.035501718521118, -1.4249370098114014, 0.16325776278972626, -0.6500765085220337, -1.675252079963684, 1.3127449750900269, -0.9753072261810303, -0.9533510804176331, 0.5596411228179932, 0.09973345696926117, 1.3248265981674194, 0.601630449295044, 1.5675392150878906, 1.9256961345672607, 0.6732991933822632, 0.6644598245620728, 1.317733645439148, -0.17025470733642578, -0.6280451416969299, 1.9620953798294067, -0.4243917167186737, 0.6155282258987427, 1.2482068538665771, -0.3032418489456177, -1.3262859582901, -0.7195379137992859, -1.1711376905441284, -0.6364988088607788, 1.1121007204055786, 0.09573006629943848, -1.2479325532913208, 0.3456672430038452, 1.5867469310760498, 0.13873831927776337, -0.3514062166213989, 0.6522952914237976, 0.2896133065223694, -0.913823127746582, -0.05516166239976883, -1.0285453796386719, 0.4142579734325409, -0.3660735487937927, -0.16060161590576172, 0.3345240652561188, 0.7065121531486511, 1.3320046663284302, -0.03913908079266548, 0.13527911901474, 0.9194408655166626, -1.507463812828064, 1.4102518558502197, -0.7983160018920898, 0.38616833090782166, -2.4254419803619385, 1.2723665237426758, -0.6466667652130127, 2.1519455909729004, -2.7832956314086914, 0.3136531114578247, -0.5860901474952698, -0.496759831905365, 0.2956005036830902, -0.18699118494987488, 0.005606032907962799, 0.02725500427186489, -1.1783313751220703, 0.13407912850379944, -0.6566001176834106, 0.5650351643562317, 1.290827751159668, 1.4102174043655396, -1.0378228425979614, -0.22250744700431824, -1.5969836711883545, -0.20329974591732025, -0.6980537176132202, 0.3635173439979553, -2.0498194694519043, -0.10815902799367905, -1.7817280292510986, -2.0251827239990234, -1.2002959251403809, -0.8422753214836121, 1.0945229530334473, 0.06694485992193222, -0.8642957210540771, 1.3711919784545898, -0.2522628605365753, -1.6522648334503174, 1.012820839881897, -2.0317115783691406 ]
https://github.com/huggingface/datasets/issues/4354
Problems with WMT dataset
Hi! Yes, the docs are outdated. Expect this to be fixed soon. In the meantime, you can try to fix the issue yourself. These are the configs/language pairs supported by `wmt15` from which you can choose: * `cs-en` (Czech - English) * `de-en` (German - English) * `fi-en` (Finnish- English) * `fr-en` (French - English) * `ru-en` (Russian - English) And the current implementation always uses all the subsets available for a language, so to define custom subsets, you'll have to clone the repo from the Hub and replace the line https://huggingface.co/datasets/wmt15/blob/main/wmt_utils.py#L688 with: `for split, ss_names in (self._subsets if self.config.subsets is None else self.config.subsets).items()` Then, you can load the dataset as follows: ```python from datasets import load_dataset dset = load_dataset("path/to/local/wmt15_folder", "<one of 5 available configs>", subsets=...)
## Describe the bug I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)) doesn't work anymore. ## Steps to reproduce the bug ```shell >>> import datasets >>> a = datasets.translate.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'translate' >>> a = datasets.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'wmt' ``` ## Expected results To load WMT15 with given data-sources. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Linux-5.10.0-10-amd64-x86_64-with-glibc2.17 - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1
757
126
Problems with WMT dataset ## Describe the bug I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)) doesn't work anymore. ## Steps to reproduce the bug ```shell >>> import datasets >>> a = datasets.translate.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'translate' >>> a = datasets.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'wmt' ``` ## Expected results To load WMT15 with given data-sources. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Linux-5.10.0-10-amd64-x86_64-with-glibc2.17 - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1 Hi! Yes, the docs are outdated. Expect this to be fixed soon. In the meantime, you can try to fix the issue yourself. These are the configs/language pairs supported by `wmt15` from which you can choose: * `cs-en` (Czech - English) * `de-en` (German - English) * `fi-en` (Finnish- English) * `fr-en` (French - English) * `ru-en` (Russian - English) And the current implementation always uses all the subsets available for a language, so to define custom subsets, you'll have to clone the repo from the Hub and replace the line https://huggingface.co/datasets/wmt15/blob/main/wmt_utils.py#L688 with: `for split, ss_names in (self._subsets if self.config.subsets is None else self.config.subsets).items()` Then, you can load the dataset as follows: ```python from datasets import load_dataset dset = load_dataset("path/to/local/wmt15_folder", "<one of 5 available configs>", subsets=...)
[ -1.2180721759796143, -0.8866918087005615, -0.666114091873169, 1.4280180931091309, -0.16522103548049927, -1.2365344762802124, 0.08253246545791626, -1.0255120992660522, 1.658961296081543, -0.7221741676330566, 0.2692439556121826, -1.6828052997589111, 0.00489036925137043, -0.5222820043563843, -0.7651122212409973, -0.8641736507415771, -0.4610360860824585, -0.7512341737747192, 1.0128822326660156, 2.5352683067321777, 1.2555789947509766, -1.4341493844985962, 2.7150561809539795, 0.6384604573249817, -0.21083994209766388, -1.017383098602295, 0.5866042375564575, 0.0591975599527359, -1.4026048183441162, -0.34842321276664734, -0.9726837277412415, -0.053801268339157104, -0.6133793592453003, -0.49012571573257446, -0.003135295119136572, 0.3380226194858551, -0.2287519872188568, -0.47922614216804504, -0.4638945460319519, -0.7279877066612244, 0.4706340730190277, -0.3770332634449005, 0.9103507399559021, -0.34261274337768555, 1.7104219198226929, -0.5926246047019958, 0.5036762356758118, 0.7074458003044128, 1.2639585733413696, 0.2217302769422531, -0.016946254298090935, 0.34741145372390747, 0.3839641511440277, 0.03860838711261749, 0.5497013926506042, 1.1513209342956543, 0.6131783723831177, 0.4529978632926941, 0.7487176060676575, -2.1942853927612305, 1.285110592842102, -0.9461434483528137, 0.3122231066226959, 1.2406630516052246, -0.9728230237960815, 0.42550861835479736, -1.8582056760787964, -0.062463268637657166, 0.5564150214195251, -2.2484800815582275, 0.25954094529151917, -1.3210480213165283, -0.5377624034881592, 1.0276192426681519, 0.31365257501602173, -1.2245748043060303, 0.04645165801048279, -0.46707943081855774, 0.9953451752662659, 0.4180739223957062, 1.1327788829803467, -1.7298985719680786, 0.0347062349319458, -0.3671114146709442, 0.1537616103887558, -1.221226692199707, -1.5618427991867065, 0.5046439170837402, 0.6995003819465637, 0.5981379151344299, -0.05898266285657883, 0.9376795887947083, -0.9848341345787048, 0.7376836538314819, -0.9604968428611755, -1.8047806024551392, -1.4156945943832397, -2.2824060916900635, -2.2623536586761475, 0.6671146154403687, -0.48695942759513855, -0.5142738819122314, 2.115058422088623, -0.9823753833770752, -1.8142930269241333, 1.103461503982544, 0.3274252414703369, -0.0503164604306221, 2.4140007495880127, 0.23620682954788208, -0.7197104692459106, 0.5613879561424255, -0.7547537684440613, 0.7224660515785217, -0.4151616096496582, 1.3623926639556885, 0.3412780463695526, -0.9792728424072266, 1.6370350122451782, -0.45161861181259155, 0.6221659779548645, -0.648902952671051, -0.45738717913627625, -0.7321283221244812, 0.20578165352344513, 1.908882737159729, -0.24751237034797668, 1.481194257736206, -0.3445015549659729, -1.6033806800842285, -1.5284759998321533, 0.7965960502624512, 0.4951595067977905, -0.7719587683677673, 0.112979955971241, -0.3329818546772003, 0.03320898115634918, 0.07061808556318283, 1.0484548807144165, 1.2274397611618042, 0.7555925846099854, -0.2408715784549713, -0.9642307758331299, 0.18118232488632202, -0.04839733988046646, -0.7040440440177917, -1.8057982921600342, -0.22532735764980316, 0.05551871657371521, 0.6908257007598877, -1.1696979999542236, 1.7181638479232788, 0.8294956684112549, 1.9981024265289307, 0.9822764992713928, -0.35831770300865173, 1.5334141254425049, 0.0535963699221611, 1.8696922063827515, -0.4658135175704956, 0.6442995071411133, -0.43454667925834656, -1.1668701171875, 0.7912877798080444, -0.4222325086593628, -2.0986475944519043, -0.587104856967926, -0.8057965636253357, -0.20491881668567657, -0.7382639646530151, 1.008937954902649, -0.17133012413978577, -1.3646539449691772, 0.26901212334632874, -0.7192129492759705, 0.11471278965473175, -1.2682617902755737, 0.25694549083709717, 0.7678936719894409, -0.620819628238678, 0.07755438983440399, -0.3356758654117584, -1.3251348733901978, -0.4909623861312866, 0.3831518292427063, 1.8227936029434204, -0.686914324760437, 1.0098791122436523, 1.0151487588882446, -0.6650696992874146, -0.08713753521442413, 0.3049510419368744, -0.26041534543037415, 0.8690228462219238, -1.081031084060669, -0.4215254485607147, 1.1384238004684448, -0.19253890216350555, -0.5624703168869019, 1.4040136337280273, 0.5878515243530273, -1.0485682487487793, -0.21083655953407288, -0.09446169435977936, -0.8473689556121826, 0.06454499065876007, -1.6689625978469849, -0.061991699039936066, 0.3351566791534424, -1.5829737186431885, -0.5527576804161072, -0.15877015888690948, 1.236324667930603, -0.06002841144800186, 1.437339425086975, -0.31504568457603455, -0.11829127371311188, -0.46440190076828003, -0.43497100472450256, 0.10125510394573212, -0.24162079393863678, -0.62496417760849, 0.22802747786045074, -0.8211493492126465, 0.3474310338497162, 1.4828912019729614, 0.30240878462791443, 0.0905717983841896, 0.4864627420902252, 1.0116034746170044, 0.3692542016506195, -0.10590145736932755, -0.840185821056366, -1.6882891654968262, 2.031853437423706, -1.5256409645080566, 2.0175065994262695, 0.7649872303009033, -0.02918950840830803, -1.8286718130111694, -1.919141411781311, 1.3631643056869507, 1.1614924669265747, 2.382939338684082, 0.5989428758621216, 0.36097729206085205, -0.7958275079727173, -0.6229591965675354, 0.3050417900085449, -0.9146652817726135, -0.833768367767334, 0.1501501053571701, 2.3825695514678955, 1.7577409744262695, -0.4044545292854309, -0.11029763519763947, -0.9964259266853333, 1.4409773349761963, -0.13092969357967377, 0.22464454174041748, 1.9371590614318848, -0.2762744724750519, -1.0395574569702148, 1.2533525228500366, -2.290790319442749, 0.19096530973911285, 1.9744396209716797, 0.2897613048553467, 0.15694735944271088, -1.35226571559906, -0.6684154272079468, -0.3095446825027466, -0.38431739807128906, -1.242850661277771, 0.5359815955162048, -0.24325644969940186, -0.7878653407096863, -1.4999462366104126, 0.07919894903898239, -1.1183866262435913, -1.7400484085083008, 0.2478209137916565, 1.8735445737838745, 2.0885043144226074, -0.764640748500824, 1.5251647233963013, -0.36105674505233765, 0.130129873752594, 1.2467509508132935, 1.1813623905181885, 3.1340231895446777, 1.9686431884765625, -1.2671653032302856, 0.6669899225234985, -0.05322924256324768, -0.3983021676540375, 1.2086492776870728, -1.1703897714614868, 1.3029264211654663, -0.19706809520721436, -1.22604238986969, -1.182266354560852, 0.9870003461837769, 0.4683452844619751, -0.017214089632034302, -0.5026383399963379, 1.1818313598632812, 0.04666098952293396, 1.3003785610198975, 0.5265401005744934, -0.38172686100006104, 0.6270391941070557, -0.3627656102180481, -0.5215804576873779, 1.6071925163269043, 0.13295403122901917, -1.4222819805145264, -2.327831983566284, -0.22936886548995972, -0.868220329284668, 0.0703744888305664, -0.6806831359863281, -1.015045404434204, 1.6207330226898193, 0.38526472449302673, -1.1639539003372192, -0.27721476554870605, -0.3337627649307251, -0.5213040113449097, 2.6953394412994385, -1.4061084985733032, -0.15762978792190552, -0.960852324962616, -0.5567362904548645, 1.5201035737991333, -1.2335104942321777, -0.25941765308380127, -1.013236403465271, -0.5540418028831482, -1.2737469673156738, -0.5765233039855957, 0.05101625621318817, -0.9222731590270996, 0.8567107319831848, 0.18838079273700714, -1.2722547054290771, -0.27722716331481934, -0.9584060311317444, 0.9234238266944885, -0.13322265446186066, 0.163677379488945, 1.9325121641159058, 0.28728464245796204, -0.3893541097640991, 0.7299891114234924, 1.185266375541687, 0.5426299571990967, -0.625942587852478, 0.22864392399787903, -0.6473128795623779, 0.40286603569984436, -1.3023087978363037, 0.24468961358070374, -2.8745546340942383, 0.6800063848495483, -0.04951357841491699, 0.05550422519445419, 0.025535138323903084, -1.355219841003418, 1.0233304500579834, 2.5506629943847656, -1.1459238529205322, 0.5484780669212341, 0.30600783228874207, 1.2111412286758423, -1.6031931638717651, 0.2870938181877136, -0.4685859680175781, 2.1621737480163574, 0.12137199193239212, 1.1400744915008545, -0.5309146642684937, -2.3663249015808105, 0.623286247253418, -1.1919149160385132, -1.120277762413025, 0.729241669178009, -0.841323971748352, 0.09634201973676682, -1.36824369430542, -0.18836857378482819, -0.9466603398323059, -1.1122289896011353, 0.7008756399154663, 0.10654114186763763, 0.46972814202308655, -0.5975170731544495, 0.27896517515182495, -2.176241397857666, -1.309334397315979, -0.2148476243019104, -0.8697821497917175, 0.41291582584381104, -0.30112379789352417, 0.6879103183746338, -0.09294281899929047, 0.0052469652146101, 0.3462524116039276, 1.3424406051635742, 3.3017919063568115, 0.08096655458211899, 0.2805730700492859, -0.19104330241680145, -0.990960419178009, 1.4267631769180298, 0.8988183736801147, -0.23261776566505432, -0.5619977116584778, -1.0810785293579102, 1.304152011871338, 1.943543553352356, 0.9808945059776306, 0.074566550552845, -0.8703875541687012, -0.7261129021644592, 0.06117953360080719, 0.14924487471580505, 0.5255926847457886, 0.9479781985282898, 0.07052693516016006, 0.09833507984876633, 1.4496080875396729, 1.1818002462387085, -0.3051343262195587, 0.45901378989219666, -0.881081759929657, -0.4984436631202698, 0.5572616457939148, 0.38230741024017334, -0.016961991786956787, 0.2927846312522888, -1.0505443811416626, -0.2531921863555908, -0.32898807525634766, -0.8690082430839539, -0.6815568804740906, -0.37418726086616516, -0.2777491807937622, 1.6896296739578247, 0.05546562373638153, -0.4570227265357971, 0.05526242405176163, -0.7159193158149719, -0.012933565303683281, -1.00895094871521, 0.3371293544769287, -0.2408565729856491, -0.003683818504214287, -0.1676735281944275, 1.747259497642517, -0.892239511013031, -2.1193737983703613, 0.3019798696041107, 0.2714175283908844, -0.3894246220588684, 0.17097868025302887, 1.7032954692840576, 0.6520979404449463, 1.4353405237197876, 1.4038646221160889, 0.991188108921051, -0.6837515830993652, -1.3242193460464478, 0.6211774349212646, 1.0449042320251465, -1.3143001794815063, 0.8292286992073059, -0.008086689747869968, -0.5925993323326111, 0.6432544589042664, 1.3583626747131348, 0.40820422768592834, -2.046900987625122, 0.8483638763427734, -0.9008068442344666, 0.8168196678161621, 0.769573450088501, 0.8340371251106262, 0.16796310245990753, 0.8497276306152344, -1.2981843948364258, -1.0893795490264893, -0.7597243785858154, -0.6492277979850769, 1.9158700704574585, -0.2858787775039673, 0.455921471118927, -0.2392154335975647, -1.3285826444625854, -0.09771886467933655, 0.5941939949989319, 0.3161444664001465, -0.4291832149028778, 0.7730181217193604, -0.6176904439926147, -1.120293378829956, -1.3448870182037354, -0.4999764561653137, -0.9981098175048828, -0.8745582103729248, 1.0195672512054443, 0.759316086769104, 0.4011785089969635, 1.9022585153579712, 0.5973427891731262, 0.15301574766635895, -2.665531635284424, 0.9067408442497253, 0.22916030883789062, -0.06611774116754532, 0.8020164370536804, 0.2993287444114685, 1.0941343307495117, -0.04989878833293915, 0.5456559658050537, -2.35709285736084, 2.3068156242370605, -0.2644183039665222, 0.7335650324821472, 0.018121326342225075, -0.08640819042921066, 1.0018696784973145, 0.5473939776420593, 0.4849694073200226, -1.0697213411331177, 0.7238754630088806, -0.6448655724525452, 1.1784605979919434, 0.8539578914642334, -0.7923969626426697, -0.009173113852739334, 1.319827675819397, 0.46390315890312195, -0.5563775897026062, -0.9866160750389099, -0.8488599061965942, 1.016355276107788, 1.8474950790405273, -0.03453189879655838, 0.029424672946333885, 0.765964150428772, 0.689754068851471, -1.2830562591552734, 0.04663997143507004, -0.7399522066116333, -0.7589496374130249, 1.6823371648788452, 2.0338246822357178, -0.12350193411111832, -0.17401830852031708, -0.8030391931533813, -1.3400096893310547, 0.8224749565124512, 0.03195320814847946, 0.1058608815073967, 0.7453089356422424, -0.6110974550247192, 1.1276459693908691, 0.8140899538993835, 0.9561192393302917, 0.16278517246246338, 0.27406707406044006, 0.3256482183933258, -0.2532460689544678, -1.248936414718628, -0.2488132119178772, -1.0760184526443481, -2.435412883758545, 0.4564377963542938, -0.17151956260204315, -1.4475531578063965, 0.06798291206359863, -0.9606385231018066, 0.9101831912994385, -0.5127392411231995, -1.1007596254348755, -1.488678216934204, 0.19642478227615356, -0.11890672892332077, 0.9248142838478088, -1.5503848791122437, -0.10298473387956619, 1.2694509029388428, 0.9390825033187866, -0.6701844334602356, 0.9996500611305237, 0.29131564497947693, 1.0030797719955444, 0.889062762260437, -0.39024806022644043, 0.4990571141242981, 0.1516343206167221, -1.2097276449203491, 0.35217994451522827, 1.232574701309204, 0.14508941769599915, 1.3856935501098633, -0.6599178314208984, -0.061901673674583435, 0.3842402398586273, -0.4258396029472351, -0.4595583975315094, -0.6153776049613953, 0.6248531937599182, -0.04204406589269638, -0.9524381756782532, -0.0456329882144928, -0.07932078838348389, -0.19598762691020966, 0.2720728814601898, -1.5474450588226318, -0.11944931000471115, -0.31839704513549805, -0.5249659419059753, -1.275275707244873, -0.1342509537935257, 1.4155970811843872, -0.7155886888504028, -0.1883205771446228, 0.5359253287315369, 0.28384125232696533, 0.5582366585731506, 0.6650748252868652, -0.666711688041687, -0.2980431616306305, -0.22106550633907318, -0.36192500591278076, 0.2975171208381653, 1.313620686531067, -0.10492029041051865, -1.006303071975708, 0.604557991027832, -0.3900182247161865, 0.14250633120536804, 1.9765901565551758, 0.08429445326328278, -0.8560638427734375, 0.30576851963996887, -0.6879305839538574, 1.8963768482208252, 1.7288943529129028, 1.3598418235778809, -0.14152637124061584, -0.9488417506217957, 0.6673475503921509, -0.3223646283149719, -0.3903142213821411, 0.8561447262763977, 0.4803904891014099, -0.25038620829582214, -1.3119045495986938, 0.6607584357261658, 1.2540844678878784, -0.9085547924041748, -0.8468920588493347, 0.13130620121955872, -0.8114386796951294, 1.1062759160995483, 0.8205137252807617, 0.37550362944602966, 0.2802203595638275, 1.5812222957611084, 0.7993737459182739, -0.4824032485485077, 0.5942745208740234, 0.4576062560081482, -0.17635659873485565, -1.946710467338562, -1.1434727907180786, 0.30302610993385315, -0.425921767950058, -1.5995479822158813, 1.4086753129959106, -1.1875687837600708, -0.9381393194198608, 0.5296619534492493, 0.07497140020132065, 1.4058194160461426, 0.36757686734199524, 1.622880458831787, 2.0731377601623535, 0.9334362745285034, 0.42823198437690735, 1.3001351356506348, -0.11502058804035187, -0.41183820366859436, 1.8015179634094238, -0.38745662569999695, 0.5644335746765137, 1.0941213369369507, -0.41025876998901367, -1.0939486026763916, -0.866460382938385, -1.275530219078064, -0.776871919631958, 1.0957472324371338, 0.0671815276145935, -1.1889986991882324, 0.2980304956436157, 1.5699012279510498, 0.10771530866622925, -0.33649110794067383, 0.7191193699836731, 0.35336244106292725, -0.8407243490219116, -0.15871725976467133, -1.0347275733947754, 0.47633466124534607, -0.2265768200159073, -0.4354991316795349, 0.24705195426940918, 0.40255507826805115, 1.2696239948272705, 0.16301456093788147, 0.07960633188486099, 1.2180907726287842, -1.3533138036727905, 1.431006669998169, -0.7899426817893982, 0.2764061689376831, -2.3836007118225098, 1.4162217378616333, -0.8089362382888794, 1.9468601942062378, -2.7232189178466797, 0.49270927906036377, -0.5559702515602112, -0.4836004972457886, 0.27951592206954956, -0.24895307421684265, 0.23060773313045502, -0.1062820628285408, -1.186263918876648, -0.12824483215808868, -0.687490701675415, 0.6046625971794128, 1.1107014417648315, 1.337904453277588, -1.097923755645752, -0.23423932492733002, -1.7625755071640015, -0.1585507094860077, -0.6503695249557495, 0.31037411093711853, -1.950020670890808, -0.18720650672912598, -1.8802340030670166, -2.4263362884521484, -1.3180816173553467, -0.8888031840324402, 1.149842381477356, 0.14751459658145905, -0.8971054553985596, 1.2128665447235107, -0.369531512260437, -1.810207724571228, 1.1138180494308472, -2.182119131088257 ]
https://github.com/huggingface/datasets/issues/4354
Problems with WMT dataset
Hi @mariosasko Are the docs updated? If not, I would like to get on it. I am new around here, would we helpful, if you can guide. Thanks
## Describe the bug I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)) doesn't work anymore. ## Steps to reproduce the bug ```shell >>> import datasets >>> a = datasets.translate.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'translate' >>> a = datasets.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'wmt' ``` ## Expected results To load WMT15 with given data-sources. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Linux-5.10.0-10-amd64-x86_64-with-glibc2.17 - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1
757
28
Problems with WMT dataset ## Describe the bug I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)) doesn't work anymore. ## Steps to reproduce the bug ```shell >>> import datasets >>> a = datasets.translate.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'translate' >>> a = datasets.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'wmt' ``` ## Expected results To load WMT15 with given data-sources. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Linux-5.10.0-10-amd64-x86_64-with-glibc2.17 - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1 Hi @mariosasko Are the docs updated? If not, I would like to get on it. I am new around here, would we helpful, if you can guide. Thanks
[ -1.2059564590454102, -0.9090360999107361, -0.6938220262527466, 1.442302942276001, -0.14302578568458557, -1.1811628341674805, 0.0724005252122879, -1.0230801105499268, 1.6031662225723267, -0.7243041396141052, 0.2584616541862488, -1.6860493421554565, 0.0039747655391693115, -0.5095314383506775, -0.7279103994369507, -0.9150248169898987, -0.4540974497795105, -0.7597251534461975, 1.0475603342056274, 2.56141996383667, 1.2345097064971924, -1.4652743339538574, 2.7030322551727295, 0.6203069686889648, -0.20345382392406464, -1.056188702583313, 0.6185247898101807, 0.0683073103427887, -1.38026762008667, -0.3425476551055908, -0.9674288630485535, -0.02480558305978775, -0.6346492171287537, -0.45047521591186523, -0.015986623242497444, 0.32385745644569397, -0.2423400729894638, -0.43805187940597534, -0.4632755219936371, -0.7144174575805664, 0.4572555422782898, -0.3836812973022461, 0.910596489906311, -0.33937326073646545, 1.7047322988510132, -0.5674512386322021, 0.4909849464893341, 0.6923103332519531, 1.235857367515564, 0.25140196084976196, -0.00501536438241601, 0.3077496886253357, 0.3916671574115753, 0.020557893440127373, 0.5298939943313599, 1.1258436441421509, 0.5953579545021057, 0.44633737206459045, 0.7177098393440247, -2.19909405708313, 1.2935831546783447, -0.9416508078575134, 0.3171738386154175, 1.2664005756378174, -0.9321577548980713, 0.4223838746547699, -1.8300375938415527, -0.10467953979969025, 0.5584834814071655, -2.245574474334717, 0.26909780502319336, -1.3343027830123901, -0.5333168506622314, 1.0223361253738403, 0.3198557496070862, -1.2398687601089478, 0.06259530782699585, -0.45743364095687866, 0.9886113405227661, 0.43098166584968567, 1.140506386756897, -1.7803348302841187, -0.003533210139721632, -0.37661269307136536, 0.13900266587734222, -1.2371844053268433, -1.5689802169799805, 0.4735834300518036, 0.6759607791900635, 0.603925347328186, 0.0019086096435785294, 0.91119384765625, -1.017913579940796, 0.7358915209770203, -0.9713002443313599, -1.7863855361938477, -1.393589973449707, -2.3148815631866455, -2.3301241397857666, 0.6405313611030579, -0.47207123041152954, -0.5100852251052856, 2.100213050842285, -0.9831750988960266, -1.788045048713684, 1.1301097869873047, 0.3305613398551941, -0.0658046156167984, 2.4665610790252686, 0.23126284778118134, -0.7208168506622314, 0.5557628273963928, -0.7631574273109436, 0.7255235910415649, -0.4011603891849518, 1.3764996528625488, 0.37212544679641724, -0.9603347182273865, 1.6509993076324463, -0.4398227035999298, 0.6208848357200623, -0.6241530179977417, -0.4633514881134033, -0.7547252178192139, 0.17960256338119507, 1.8834891319274902, -0.24699625372886658, 1.5131480693817139, -0.3589877486228943, -1.6204009056091309, -1.5392208099365234, 0.8265191316604614, 0.4715147912502289, -0.8067328333854675, 0.10047811269760132, -0.3217860162258148, 0.019639860838651657, 0.09641313552856445, 1.0519967079162598, 1.240234375, 0.7520599961280823, -0.2638486921787262, -0.9819914698600769, 0.18024083971977234, -0.08494539558887482, -0.6952865123748779, -1.801282525062561, -0.22276000678539276, 0.042524948716163635, 0.7055456638336182, -1.19548761844635, 1.691776990890503, 0.839314341545105, 2.001422166824341, 0.9808506965637207, -0.3761139214038849, 1.5159472227096558, 0.03844543173909187, 1.8674660921096802, -0.48489972949028015, 0.6519346833229065, -0.44147658348083496, -1.1649761199951172, 0.7929796576499939, -0.4210173487663269, -2.0760138034820557, -0.6509988903999329, -0.799007773399353, -0.20536212623119354, -0.7568960785865784, 1.0015562772750854, -0.17064200341701508, -1.3900684118270874, 0.2928988039493561, -0.7195724248886108, 0.10389097034931183, -1.2799955606460571, 0.2613179385662079, 0.757685661315918, -0.605106770992279, 0.08638101816177368, -0.28739556670188904, -1.3100898265838623, -0.4670388400554657, 0.37755391001701355, 1.825372576713562, -0.6810648441314697, 1.012385606765747, 1.0093854665756226, -0.6456503868103027, -0.0599871426820755, 0.2840120196342468, -0.24891479313373566, 0.8767553567886353, -1.0678824186325073, -0.39722391963005066, 1.131533145904541, -0.20521926879882812, -0.5606324672698975, 1.3949329853057861, 0.6150479316711426, -1.0433143377304077, -0.22440212965011597, -0.09400071203708649, -0.829664409160614, 0.07389000058174133, -1.6795448064804077, -0.0767199844121933, 0.3371351957321167, -1.5912511348724365, -0.5285940170288086, -0.1782844215631485, 1.225968599319458, -0.07005152106285095, 1.4526423215866089, -0.36083900928497314, -0.1087954044342041, -0.44283241033554077, -0.4370868504047394, 0.11558514833450317, -0.24440985918045044, -0.6013301014900208, 0.25057435035705566, -0.8438716530799866, 0.3394058346748352, 1.4992870092391968, 0.3260398209095001, 0.10007418692111969, 0.42426347732543945, 0.9833998084068298, 0.4060530662536621, -0.1068798303604126, -0.8478317260742188, -1.6441407203674316, 2.043736457824707, -1.510369062423706, 2.057023763656616, 0.7880693674087524, -0.06819431483745575, -1.8263400793075562, -1.9147790670394897, 1.3614784479141235, 1.143491506576538, 2.374199151992798, 0.6130895614624023, 0.36240434646606445, -0.7978959679603577, -0.6309138536453247, 0.28225407004356384, -0.9193540215492249, -0.8315746784210205, 0.1563158929347992, 2.3872950077056885, 1.7131083011627197, -0.41496846079826355, -0.09409560263156891, -0.9957831501960754, 1.4275221824645996, -0.11769628524780273, 0.22751139104366302, 1.9597159624099731, -0.28797513246536255, -1.071285605430603, 1.2481555938720703, -2.283963203430176, 0.1728179007768631, 1.9991613626480103, 0.29137691855430603, 0.15107493102550507, -1.3670039176940918, -0.6986850500106812, -0.32475772500038147, -0.3923870325088501, -1.2315590381622314, 0.5383478999137878, -0.2607767879962921, -0.7908852696418762, -1.529083490371704, 0.09369006752967834, -1.119025468826294, -1.7584621906280518, 0.23454776406288147, 1.87911057472229, 2.1194348335266113, -0.7952167987823486, 1.4979338645935059, -0.3267410397529602, 0.11806850135326385, 1.2219891548156738, 1.1781113147735596, 3.116849422454834, 1.9453256130218506, -1.2881428003311157, 0.687746524810791, -0.03016762249171734, -0.384988009929657, 1.196433663368225, -1.177870273590088, 1.3011188507080078, -0.20739366114139557, -1.2301760911941528, -1.2083042860031128, 0.9964338541030884, 0.47768908739089966, -0.03318413347005844, -0.5087933540344238, 1.1928166151046753, 0.0129331573843956, 1.289493441581726, 0.5231156349182129, -0.35241931676864624, 0.6402388215065002, -0.3870169520378113, -0.5376477241516113, 1.6082477569580078, 0.11111113429069519, -1.460258960723877, -2.330747604370117, -0.2547893822193146, -0.8281168341636658, 0.042098283767700195, -0.658458411693573, -1.0407745838165283, 1.6194485425949097, 0.3982079029083252, -1.1567288637161255, -0.3091132938861847, -0.3505037724971771, -0.4973638653755188, 2.704118490219116, -1.387600302696228, -0.14124101400375366, -0.9301106333732605, -0.5723767876625061, 1.4893162250518799, -1.2152016162872314, -0.25357723236083984, -0.9919798970222473, -0.5689833760261536, -1.2980669736862183, -0.5634228587150574, 0.06360623240470886, -0.9339210987091064, 0.8412667512893677, 0.2311038076877594, -1.2214646339416504, -0.2694973945617676, -0.9546355605125427, 0.9073222279548645, -0.12532849609851837, 0.21673761308193207, 1.910199761390686, 0.2826786935329437, -0.356412410736084, 0.7235776782035828, 1.196507453918457, 0.5498148202896118, -0.6347235441207886, 0.18510134518146515, -0.6346861720085144, 0.3583742678165436, -1.2650643587112427, 0.24744249880313873, -2.87778639793396, 0.6805791854858398, -0.05916266515851021, 0.03692719340324402, 0.027929719537496567, -1.330277681350708, 1.070330262184143, 2.512040615081787, -1.1371748447418213, 0.5788099765777588, 0.3019489645957947, 1.192547082901001, -1.6113853454589844, 0.2961071729660034, -0.45309799909591675, 2.174581527709961, 0.18479716777801514, 1.1252533197402954, -0.5447695255279541, -2.3637466430664062, 0.624686062335968, -1.1903090476989746, -1.115546703338623, 0.7408443093299866, -0.8684741854667664, 0.11222881078720093, -1.393223524093628, -0.19992603361606598, -0.9335899353027344, -1.1265792846679688, 0.6937776207923889, 0.1104583889245987, 0.489813894033432, -0.5877858400344849, 0.3072134852409363, -2.2094247341156006, -1.3379201889038086, -0.19399495422840118, -0.8950373530387878, 0.4094366729259491, -0.31468144059181213, 0.672186017036438, -0.1116761863231659, 0.0038525573909282684, 0.3360477089881897, 1.3194012641906738, 3.3486948013305664, 0.09617020189762115, 0.28539565205574036, -0.17185825109481812, -1.0080413818359375, 1.4403985738754272, 0.9052627682685852, -0.23318171501159668, -0.544590950012207, -1.0836210250854492, 1.3247995376586914, 1.97869074344635, 0.9895612597465515, 0.06843478977680206, -0.8304693698883057, -0.694104790687561, 0.06486324965953827, 0.19755761325359344, 0.5528162717819214, 0.9597634673118591, 0.054880257695913315, 0.0819399505853653, 1.4775245189666748, 1.1969457864761353, -0.3268187344074249, 0.4507504105567932, -0.8984866142272949, -0.5030450224876404, 0.5363494753837585, 0.3300682604312897, -0.015933314338326454, 0.3419165015220642, -1.0454168319702148, -0.2492995411157608, -0.3474563956260681, -0.8784491419792175, -0.6903076171875, -0.3617413341999054, -0.25388598442077637, 1.6896190643310547, 0.051056262105703354, -0.43065017461776733, 0.07314948737621307, -0.7038416266441345, -0.05151151493191719, -1.027033805847168, 0.3248140811920166, -0.24722371995449066, -0.014697428792715073, -0.17708483338356018, 1.7997690439224243, -0.9064931273460388, -2.137301445007324, 0.2826945185661316, 0.2797481119632721, -0.3889923691749573, 0.21284745633602142, 1.703270435333252, 0.6099503040313721, 1.4308851957321167, 1.3741217851638794, 0.9832532405853271, -0.6885812878608704, -1.3035849332809448, 0.6415231823921204, 1.0507241487503052, -1.2982819080352783, 0.8372933864593506, -0.06150243431329727, -0.6151971817016602, 0.6539217829704285, 1.3476725816726685, 0.4427286684513092, -2.0329723358154297, 0.8391019701957703, -0.8845402598381042, 0.8096343278884888, 0.7362584471702576, 0.8473868370056152, 0.16560064256191254, 0.8070153594017029, -1.3115272521972656, -1.0578820705413818, -0.7507902979850769, -0.6333966851234436, 1.9137060642242432, -0.2755264341831207, 0.4639386534690857, -0.23943647742271423, -1.282816767692566, -0.0783216804265976, 0.6109762191772461, 0.3459113538265228, -0.41012170910835266, 0.7838214635848999, -0.5885563492774963, -1.1260284185409546, -1.3560049533843994, -0.4487592577934265, -1.0238109827041626, -0.8588030338287354, 1.0303810834884644, 0.7076992392539978, 0.3667004704475403, 1.8728657960891724, 0.5743814706802368, 0.1647876352071762, -2.674006462097168, 0.9222514033317566, 0.22353816032409668, -0.06547009944915771, 0.8258954882621765, 0.30926617980003357, 1.1000139713287354, -0.008015664294362068, 0.5444126725196838, -2.3293068408966064, 2.3067867755889893, -0.26831385493278503, 0.7470663189888, -0.015669703483581543, -0.07310508191585541, 0.9876574873924255, 0.5899803042411804, 0.48211777210235596, -1.0800446271896362, 0.7221359610557556, -0.6342335939407349, 1.1516867876052856, 0.8758794069290161, -0.7890589237213135, -0.016292143613100052, 1.3175331354141235, 0.4587472379207611, -0.5142230987548828, -0.9655418395996094, -0.8103858232498169, 1.0001803636550903, 1.8416469097137451, -0.051306355744600296, 0.0020108604803681374, 0.7531744837760925, 0.665442943572998, -1.3064243793487549, 0.04813922569155693, -0.7134718298912048, -0.74776691198349, 1.6751827001571655, 2.0274925231933594, -0.12253522872924805, -0.1983339786529541, -0.7804031372070312, -1.3572325706481934, 0.8320844769477844, 0.004776068031787872, 0.12813599407672882, 0.7161840200424194, -0.6259456276893616, 1.145708680152893, 0.7961611151695251, 0.9653236865997314, 0.1445353478193283, 0.2636643350124359, 0.329489529132843, -0.25226929783821106, -1.2561663389205933, -0.2836967706680298, -1.0977182388305664, -2.420069932937622, 0.4765675365924835, -0.1863097846508026, -1.4337620735168457, 0.06606917083263397, -0.9700215458869934, 0.9295327067375183, -0.5011538863182068, -1.0754010677337646, -1.498557448387146, 0.18779246509075165, -0.14297406375408173, 0.9314362406730652, -1.5569688081741333, -0.10997019708156586, 1.2985255718231201, 0.9320040941238403, -0.6809384226799011, 1.0342156887054443, 0.28399085998535156, 0.9921661615371704, 0.8456899523735046, -0.4119201600551605, 0.5245760679244995, 0.169564887881279, -1.2086800336837769, 0.34781503677368164, 1.2201615571975708, 0.17208611965179443, 1.4156440496444702, -0.6638861298561096, -0.06780306994915009, 0.3827284872531891, -0.42085203528404236, -0.464598149061203, -0.6042196750640869, 0.6323805451393127, -0.036726802587509155, -0.9409236907958984, -0.021852828562259674, -0.10340425372123718, -0.1807909905910492, 0.28127479553222656, -1.5208183526992798, -0.15153490006923676, -0.35599809885025024, -0.5120150446891785, -1.3155930042266846, -0.12855902314186096, 1.4281865358352661, -0.7150323987007141, -0.1654905080795288, 0.5309708118438721, 0.32076454162597656, 0.5478370785713196, 0.6662075519561768, -0.658639669418335, -0.3112656772136688, -0.2521113157272339, -0.3467024862766266, 0.33420082926750183, 1.2890112400054932, -0.11887960135936737, -1.0515987873077393, 0.6280407905578613, -0.38569724559783936, 0.14689771831035614, 1.960312843322754, 0.06043771281838417, -0.8416507244110107, 0.293596476316452, -0.6469217538833618, 1.9288766384124756, 1.7144408226013184, 1.3780131340026855, -0.16254428029060364, -0.9157885909080505, 0.7001564502716064, -0.32100653648376465, -0.3756885528564453, 0.8655216097831726, 0.5113620758056641, -0.22366252541542053, -1.3567761182785034, 0.6295766234397888, 1.2482730150222778, -0.9221746921539307, -0.8427107334136963, 0.11865164339542389, -0.8185016512870789, 1.0937094688415527, 0.7902039885520935, 0.3909510374069214, 0.27826327085494995, 1.5906181335449219, 0.801317572593689, -0.48875752091407776, 0.5897012948989868, 0.4374401569366455, -0.20469370484352112, -1.9352093935012817, -1.1241434812545776, 0.28284281492233276, -0.4274388253688812, -1.5828311443328857, 1.420242190361023, -1.1611673831939697, -0.9531471133232117, 0.5718480348587036, 0.04642952233552933, 1.391300082206726, 0.36606699228286743, 1.6202330589294434, 2.071812391281128, 0.9559346437454224, 0.40692681074142456, 1.3042339086532593, -0.12104879319667816, -0.40678712725639343, 1.7976431846618652, -0.36072003841400146, 0.5691932439804077, 1.1063153743743896, -0.40911251306533813, -1.0735379457473755, -0.8732364177703857, -1.2487869262695312, -0.7692508101463318, 1.1152573823928833, 0.07272471487522125, -1.1708462238311768, 0.27704498171806335, 1.5748510360717773, 0.10256825387477875, -0.3707496225833893, 0.6888154745101929, 0.3574534058570862, -0.8402456641197205, -0.16309396922588348, -1.0471469163894653, 0.4772096276283264, -0.24592551589012146, -0.4345566928386688, 0.2535727620124817, 0.3775360882282257, 1.2756602764129639, 0.13542960584163666, 0.1071125864982605, 1.2400870323181152, -1.341676115989685, 1.4517289400100708, -0.7457274198532104, 0.26243820786476135, -2.364551544189453, 1.378451943397522, -0.7779964208602905, 1.967429518699646, -2.7193679809570312, 0.495696097612381, -0.5665304660797119, -0.46813392639160156, 0.2828628718852997, -0.2636168301105499, 0.25797632336616516, -0.14920678734779358, -1.1593412160873413, -0.1775677353143692, -0.7006770372390747, 0.560929536819458, 1.1028672456741333, 1.3045706748962402, -1.076303243637085, -0.23691390454769135, -1.7368841171264648, -0.1762697547674179, -0.6642658710479736, 0.281412810087204, -1.9766746759414673, -0.20052915811538696, -1.8574105501174927, -2.420842409133911, -1.3118082284927368, -0.8559828400611877, 1.1521940231323242, 0.1485704481601715, -0.8848897814750671, 1.226884126663208, -0.3395998775959015, -1.7935996055603027, 1.130613923072815, -2.1841516494750977 ]
https://github.com/huggingface/datasets/issues/4354
Problems with WMT dataset
Hi @khushmeeet! The docs haven't been updated, so feel free to work on this issue. This is a tricky issue, so I'll give the steps you can follow to fix this: First, this code: https://github.com/huggingface/datasets/blob/7cff5b9726a223509dbd6224de3f5f452c8d924f/src/datasets/load.py#L113-L118 needs to be replaced with (makes the dataset builder search more robust and allows us to remove the ABC stuff from `wmt_utils.py`): ```python for name, obj in module.__dict__.items(): if inspect.isclass(obj) and issubclass(obj, main_cls_type): if inspect.isabstract(obj): continue module_main_cls = obj obj_module = inspect.getmodule(obj) if obj_module is not None and module == obj_module: break ``` Then, all the `wmt_utils.py` scripts need to be updated as follows (these are the diffs with the requiered changes): ````diff import os import re import xml.etree.cElementTree as ElementTree -from abc import ABC, abstractmethod import datasets ```` ````diff logger = datasets.logging.get_logger(__name__) _DESCRIPTION = """\ -Translate dataset based on the data from statmt.org. +Translation dataset based on the data from statmt.org. -Versions exists for the different years using a combination of multiple data -sources. The base `wmt_translate` allows you to create your own config to choose -your own data/language pair by creating a custom `datasets.translate.wmt.WmtConfig`. +Versions exist for different years using a combination of data +sources. The base `wmt` allows you to create a custom dataset by choosing +your own data/language pair. This can be done as follows: ``` -config = datasets.wmt.WmtConfig( - version="0.0.1", +from datasets import inspect_dataset, load_dataset_builder + +inspect_dataset("<insert the dataset name", "path/to/scripts") +builder = load_dataset_builder( + "path/to/scripts/wmt_utils.py", language_pair=("fr", "de"), subsets={ datasets.Split.TRAIN: ["commoncrawl_frde"], datasets.Split.VALIDATION: ["euelections_dev2019"], }, ) -builder = datasets.builder("wmt_translate", config=config) -``` +# Standard version +builder.download_and_prepare() +ds = builder.as_dataset() + +# Streamable version +ds = builder.as_streaming_dataset() +``` """ ```` ````diff +class Wmt(datasets.GeneratorBasedBuilder): """WMT translation dataset.""" + + BUILDER_CONFIG_CLASS = WmtConfig def __init__(self, *args, **kwargs): - if type(self) == Wmt and "config" not in kwargs: # pylint: disable=unidiomatic-typecheck - raise ValueError( - "The raw `wmt_translate` can only be instantiated with the config " - "kwargs. You may want to use one of the `wmtYY_translate` " - "implementation instead to get the WMT dataset for a specific year." - ) super(Wmt, self).__init__(*args, **kwargs) @property - @abstractmethod def _subsets(self): """Subsets that make up each split of the dataset.""" ```` ```diff """Subsets that make up each split of the dataset for the language pair.""" source, target = self.config.language_pair filtered_subsets = {} - for split, ss_names in self._subsets.items(): + subsets = self._subsets if self.config.subsets is None else self.config.subsets + for split, ss_names in subsets.items(): filtered_subsets[split] = [] for ss_name in ss_names: dataset = DATASET_MAP[ss_name] ``` `wmt14`, `wmt15`, `wmt16`, `wmt17`, `wmt18`, `wmt19` and `wmt_t2t` have this script, so all of them need to be updated. Also, the dataset summaries from the READMEs of these datasets need to be updated to match the new `_DESCRIPTION` string. And that's it! Let me know if you need additional help.
## Describe the bug I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)) doesn't work anymore. ## Steps to reproduce the bug ```shell >>> import datasets >>> a = datasets.translate.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'translate' >>> a = datasets.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'wmt' ``` ## Expected results To load WMT15 with given data-sources. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Linux-5.10.0-10-amd64-x86_64-with-glibc2.17 - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1
757
458
Problems with WMT dataset ## Describe the bug I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)) doesn't work anymore. ## Steps to reproduce the bug ```shell >>> import datasets >>> a = datasets.translate.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'translate' >>> a = datasets.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'wmt' ``` ## Expected results To load WMT15 with given data-sources. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Linux-5.10.0-10-amd64-x86_64-with-glibc2.17 - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1 Hi @khushmeeet! The docs haven't been updated, so feel free to work on this issue. This is a tricky issue, so I'll give the steps you can follow to fix this: First, this code: https://github.com/huggingface/datasets/blob/7cff5b9726a223509dbd6224de3f5f452c8d924f/src/datasets/load.py#L113-L118 needs to be replaced with (makes the dataset builder search more robust and allows us to remove the ABC stuff from `wmt_utils.py`): ```python for name, obj in module.__dict__.items(): if inspect.isclass(obj) and issubclass(obj, main_cls_type): if inspect.isabstract(obj): continue module_main_cls = obj obj_module = inspect.getmodule(obj) if obj_module is not None and module == obj_module: break ``` Then, all the `wmt_utils.py` scripts need to be updated as follows (these are the diffs with the requiered changes): ````diff import os import re import xml.etree.cElementTree as ElementTree -from abc import ABC, abstractmethod import datasets ```` ````diff logger = datasets.logging.get_logger(__name__) _DESCRIPTION = """\ -Translate dataset based on the data from statmt.org. +Translation dataset based on the data from statmt.org. -Versions exists for the different years using a combination of multiple data -sources. The base `wmt_translate` allows you to create your own config to choose -your own data/language pair by creating a custom `datasets.translate.wmt.WmtConfig`. +Versions exist for different years using a combination of data +sources. The base `wmt` allows you to create a custom dataset by choosing +your own data/language pair. This can be done as follows: ``` -config = datasets.wmt.WmtConfig( - version="0.0.1", +from datasets import inspect_dataset, load_dataset_builder + +inspect_dataset("<insert the dataset name", "path/to/scripts") +builder = load_dataset_builder( + "path/to/scripts/wmt_utils.py", language_pair=("fr", "de"), subsets={ datasets.Split.TRAIN: ["commoncrawl_frde"], datasets.Split.VALIDATION: ["euelections_dev2019"], }, ) -builder = datasets.builder("wmt_translate", config=config) -``` +# Standard version +builder.download_and_prepare() +ds = builder.as_dataset() + +# Streamable version +ds = builder.as_streaming_dataset() +``` """ ```` ````diff +class Wmt(datasets.GeneratorBasedBuilder): """WMT translation dataset.""" + + BUILDER_CONFIG_CLASS = WmtConfig def __init__(self, *args, **kwargs): - if type(self) == Wmt and "config" not in kwargs: # pylint: disable=unidiomatic-typecheck - raise ValueError( - "The raw `wmt_translate` can only be instantiated with the config " - "kwargs. You may want to use one of the `wmtYY_translate` " - "implementation instead to get the WMT dataset for a specific year." - ) super(Wmt, self).__init__(*args, **kwargs) @property - @abstractmethod def _subsets(self): """Subsets that make up each split of the dataset.""" ```` ```diff """Subsets that make up each split of the dataset for the language pair.""" source, target = self.config.language_pair filtered_subsets = {} - for split, ss_names in self._subsets.items(): + subsets = self._subsets if self.config.subsets is None else self.config.subsets + for split, ss_names in subsets.items(): filtered_subsets[split] = [] for ss_name in ss_names: dataset = DATASET_MAP[ss_name] ``` `wmt14`, `wmt15`, `wmt16`, `wmt17`, `wmt18`, `wmt19` and `wmt_t2t` have this script, so all of them need to be updated. Also, the dataset summaries from the READMEs of these datasets need to be updated to match the new `_DESCRIPTION` string. And that's it! Let me know if you need additional help.
[ -1.1959418058395386, -0.9297969341278076, -0.6751499176025391, 1.4413318634033203, -0.1479913294315338, -1.20810067653656, 0.06469345092773438, -1.0085573196411133, 1.617685079574585, -0.7038077116012573, 0.24493414163589478, -1.7064480781555176, -0.015588591806590557, -0.5209189057350159, -0.7323631644248962, -0.8928883075714111, -0.43096864223480225, -0.7654299139976501, 1.0175100564956665, 2.531318426132202, 1.2442585229873657, -1.442302942276001, 2.7469561100006104, 0.6410210132598877, -0.21843600273132324, -1.0506701469421387, 0.6077063083648682, 0.04778395593166351, -1.3720399141311646, -0.3612263798713684, -0.9666584134101868, -0.019231043756008148, -0.5959697961807251, -0.46195292472839355, -0.00869979802519083, 0.3629632294178009, -0.22387194633483887, -0.43205729126930237, -0.46876317262649536, -0.7106428742408752, 0.4607309401035309, -0.3682285249233246, 0.8926239609718323, -0.3221152424812317, 1.7259944677352905, -0.568514347076416, 0.44466784596443176, 0.7051576375961304, 1.271428108215332, 0.23169398307800293, 0.013688040897250175, 0.2801211178302765, 0.37462204694747925, 0.025148963555693626, 0.5176513195037842, 1.1623882055282593, 0.6176694631576538, 0.43626901507377625, 0.7511972188949585, -2.1912622451782227, 1.2966845035552979, -0.9170127511024475, 0.32548773288726807, 1.2837460041046143, -0.9438815712928772, 0.4069804847240448, -1.844528317451477, -0.059016600251197815, 0.5722422003746033, -2.248403549194336, 0.27005651593208313, -1.310775876045227, -0.5413442254066467, 1.0038999319076538, 0.31310737133026123, -1.2192710638046265, 0.10622172802686691, -0.4751948416233063, 1.0211069583892822, 0.4478563368320465, 1.1333266496658325, -1.7333091497421265, 0.007432710379362106, -0.3306409418582916, 0.13447214663028717, -1.2580653429031372, -1.5767992734909058, 0.4947110712528229, 0.6511494517326355, 0.6461076140403748, -0.006378259509801865, 0.9069535732269287, -0.9858960509300232, 0.7234095931053162, -0.9437451958656311, -1.7569514513015747, -1.3996556997299194, -2.3105640411376953, -2.3053510189056396, 0.6737422943115234, -0.48951804637908936, -0.4886291027069092, 2.0728211402893066, -0.9751126170158386, -1.8068156242370605, 1.1154499053955078, 0.35738053917884827, -0.03595797345042229, 2.4446218013763428, 0.2803962826728821, -0.7381922602653503, 0.5416409969329834, -0.7575357556343079, 0.7259953022003174, -0.4126483201980591, 1.3649287223815918, 0.3997400999069214, -0.9413642287254333, 1.633205533027649, -0.4580826461315155, 0.5940075516700745, -0.6504119634628296, -0.4799342453479767, -0.7597975134849548, 0.1908767819404602, 1.8804484605789185, -0.2710123062133789, 1.4959452152252197, -0.36186090111732483, -1.6168041229248047, -1.553156852722168, 0.8094378709793091, 0.488171249628067, -0.8140825033187866, 0.1023455262184143, -0.3647743761539459, 0.021101638674736023, 0.05971361696720123, 1.040498971939087, 1.2415958642959595, 0.7319707870483398, -0.2933041453361511, -0.9530639052391052, 0.17732125520706177, -0.07211804389953613, -0.6746602654457092, -1.8251575231552124, -0.2053263634443283, 0.10830676555633545, 0.6876868605613708, -1.1939687728881836, 1.6825225353240967, 0.8453842401504517, 1.9986376762390137, 0.9670206308364868, -0.3765166401863098, 1.5192312002182007, 0.040322646498680115, 1.8556203842163086, -0.5092781782150269, 0.6337963342666626, -0.4230019152164459, -1.1512209177017212, 0.7964635491371155, -0.4215702712535858, -2.062887191772461, -0.6475605368614197, -0.7973983883857727, -0.22237177193164825, -0.7460240125656128, 0.9946767091751099, -0.19358256459236145, -1.4055439233779907, 0.27148038148880005, -0.7229702472686768, 0.1177239865064621, -1.2542718648910522, 0.22613893449306488, 0.7645393013954163, -0.6142378449440002, 0.04614204168319702, -0.28325167298316956, -1.312600016593933, -0.45264583826065063, 0.38603952527046204, 1.8380974531173706, -0.6660721898078918, 0.9919016361236572, 1.0206859111785889, -0.6305873990058899, -0.029100002720952034, 0.3049521744251251, -0.25124025344848633, 0.8563209772109985, -1.076296091079712, -0.4117165803909302, 1.1307873725891113, -0.1902400255203247, -0.5912344455718994, 1.417739987373352, 0.6539574861526489, -1.0418474674224854, -0.22662553191184998, -0.09495057165622711, -0.8326615691184998, 0.04676732420921326, -1.6496328115463257, -0.08059604465961456, 0.3241426944732666, -1.56879723072052, -0.5125436186790466, -0.18827232718467712, 1.2419466972351074, -0.10398345440626144, 1.437080979347229, -0.33000969886779785, -0.11891409754753113, -0.42058977484703064, -0.4545277953147888, 0.12871526181697845, -0.29391950368881226, -0.6047266125679016, 0.24088391661643982, -0.8533162474632263, 0.34624725580215454, 1.5036864280700684, 0.32838088274002075, 0.10058142989873886, 0.4456014931201935, 1.0147297382354736, 0.39362016320228577, -0.09517021477222443, -0.8449847102165222, -1.6581496000289917, 2.027975559234619, -1.536332130432129, 2.049872636795044, 0.799167275428772, -0.06186717748641968, -1.8181471824645996, -1.9210004806518555, 1.355254888534546, 1.1577837467193604, 2.4069430828094482, 0.5793046355247498, 0.3564562201499939, -0.818821132183075, -0.6598019599914551, 0.27885934710502625, -0.9282664060592651, -0.7933815717697144, 0.15297454595565796, 2.3862550258636475, 1.7559640407562256, -0.4290134012699127, -0.13701549172401428, -1.0035995244979858, 1.4270459413528442, -0.11659766733646393, 0.23038770258426666, 1.9813910722732544, -0.29948294162750244, -1.0299633741378784, 1.2445695400238037, -2.318325996398926, 0.1709248423576355, 1.9910576343536377, 0.27996715903282166, 0.15577925741672516, -1.3837041854858398, -0.6876275539398193, -0.34713685512542725, -0.3919270932674408, -1.232785701751709, 0.5510232448577881, -0.2546570897102356, -0.8063596487045288, -1.51580011844635, 0.1004934012889862, -1.116633653640747, -1.7477821111679077, 0.25727611780166626, 1.877383828163147, 2.134979486465454, -0.7921152114868164, 1.5236763954162598, -0.3313198685646057, 0.1081654503941536, 1.2389127016067505, 1.195672631263733, 3.107302665710449, 1.9116196632385254, -1.2729412317276, 0.6962712407112122, -0.05100950598716736, -0.40029269456863403, 1.1838643550872803, -1.1496015787124634, 1.2740615606307983, -0.19663852453231812, -1.2034831047058105, -1.201306939125061, 1.0008751153945923, 0.49886587262153625, -0.014636456966400146, -0.5078244805335999, 1.206923007965088, 0.059409983456134796, 1.3060568571090698, 0.5379849076271057, -0.3665727376937866, 0.6271830201148987, -0.34455835819244385, -0.5570173859596252, 1.59809148311615, 0.11524227261543274, -1.4597147703170776, -2.3160481452941895, -0.2516888678073883, -0.8312798738479614, 0.027128929272294044, -0.6571988463401794, -1.0578978061676025, 1.617644190788269, 0.40876346826553345, -1.1614171266555786, -0.27086949348449707, -0.32946470379829407, -0.474538117647171, 2.673550844192505, -1.3821760416030884, -0.15007242560386658, -0.9343199729919434, -0.5320618152618408, 1.511583924293518, -1.1934574842453003, -0.2621776759624481, -1.0047661066055298, -0.5877005457878113, -1.3054856061935425, -0.5648081302642822, 0.06036718934774399, -0.9255949258804321, 0.8223884701728821, 0.19937510788440704, -1.2128615379333496, -0.2556198239326477, -0.9471579194068909, 0.9256225824356079, -0.12549027800559998, 0.21662957966327667, 1.9299691915512085, 0.2954687774181366, -0.375311017036438, 0.7312881350517273, 1.1768136024475098, 0.5131182670593262, -0.6505612134933472, 0.17587289214134216, -0.6590309739112854, 0.3589169383049011, -1.3058743476867676, 0.23335520923137665, -2.8992390632629395, 0.6851073503494263, -0.05498175323009491, 0.03815053403377533, 0.02701808698475361, -1.3298301696777344, 1.0836080312728882, 2.537466049194336, -1.1547808647155762, 0.5613787770271301, 0.342918336391449, 1.224076271057129, -1.6009787321090698, 0.3243468701839447, -0.4473084509372711, 2.1490471363067627, 0.13626894354820251, 1.1434180736541748, -0.5441403388977051, -2.36133074760437, 0.612862765789032, -1.2277008295059204, -1.1061310768127441, 0.7516567707061768, -0.8613021373748779, 0.12203828990459442, -1.4281178712844849, -0.19820934534072876, -0.9605522751808167, -1.1708619594573975, 0.6983762979507446, 0.10536259412765503, 0.4660070240497589, -0.595730185508728, 0.309699147939682, -2.1890029907226562, -1.3268407583236694, -0.18720772862434387, -0.8893404006958008, 0.42819011211395264, -0.31763318181037903, 0.6700141429901123, -0.1073824092745781, 0.006340142339468002, 0.3296443223953247, 1.3278464078903198, 3.312791585922241, 0.10319491475820541, 0.2766008675098419, -0.16892291605472565, -0.9885608553886414, 1.4380085468292236, 0.9127752184867859, -0.23188017308712006, -0.5566651225090027, -1.0730737447738647, 1.3289142847061157, 1.9720550775527954, 1.0062600374221802, 0.06833597272634506, -0.8465139865875244, -0.7151018977165222, 0.06975914537906647, 0.1850806325674057, 0.5273098945617676, 0.9278653860092163, 0.013571862131357193, 0.08256300538778305, 1.4458290338516235, 1.220228672027588, -0.3363897204399109, 0.45835578441619873, -0.9242852926254272, -0.48897242546081543, 0.534580647945404, 0.32101282477378845, -0.01588044874370098, 0.36236435174942017, -1.0739879608154297, -0.2505101263523102, -0.34192365407943726, -0.8625409603118896, -0.6797801852226257, -0.3924694061279297, -0.26665887236595154, 1.665134072303772, 0.08509824424982071, -0.44437065720558167, 0.07165475934743881, -0.7162812948226929, -0.07130406051874161, -1.0283247232437134, 0.30937129259109497, -0.23820912837982178, 0.009410398080945015, -0.163694366812706, 1.768964171409607, -0.8934719562530518, -2.148888111114502, 0.2879645526409149, 0.3099813163280487, -0.3777598440647125, 0.16901518404483795, 1.7091730833053589, 0.6087157130241394, 1.408384084701538, 1.366766095161438, 0.9958895444869995, -0.6900865435600281, -1.3129143714904785, 0.6630427837371826, 1.0596680641174316, -1.2950668334960938, 0.8623383641242981, -0.07390319555997849, -0.6178866624832153, 0.6792094707489014, 1.3641372919082642, 0.41233503818511963, -2.0593767166137695, 0.8370546698570251, -0.8943035006523132, 0.7887483835220337, 0.7544558048248291, 0.8424877524375916, 0.18845827877521515, 0.8368576765060425, -1.294758677482605, -1.0777441263198853, -0.7615342736244202, -0.6314474940299988, 1.906606912612915, -0.2371864914894104, 0.4543347954750061, -0.2007538378238678, -1.2806007862091064, -0.10080089420080185, 0.6174079775810242, 0.3278409242630005, -0.4210144877433777, 0.8083401918411255, -0.6199007630348206, -1.1355209350585938, -1.3393276929855347, -0.48190614581108093, -0.9742466807365417, -0.8831627368927002, 1.00728178024292, 0.7688543200492859, 0.3855147659778595, 1.8851758241653442, 0.5917993187904358, 0.16465042531490326, -2.6658565998077393, 0.9091168642044067, 0.23192599415779114, -0.04644779860973358, 0.8285350799560547, 0.29915621876716614, 1.1207664012908936, -0.005385096650570631, 0.5335020422935486, -2.3535478115081787, 2.288081407546997, -0.2689098119735718, 0.7471272945404053, -0.007303470745682716, -0.1005006730556488, 1.013798713684082, 0.5395937561988831, 0.4882139563560486, -1.0729042291641235, 0.7343154549598694, -0.5975854396820068, 1.146546483039856, 0.8856548070907593, -0.8178924918174744, -0.0011281166225671768, 1.3157358169555664, 0.46424221992492676, -0.5058640241622925, -0.9563878774642944, -0.8215988278388977, 0.9925537109375, 1.8475028276443481, -0.03247743472456932, 0.04605550318956375, 0.7782531976699829, 0.6660547256469727, -1.2811120748519897, 0.01613384112715721, -0.7146812081336975, -0.7354748249053955, 1.716237187385559, 2.0261995792388916, -0.1392754763364792, -0.17433921992778778, -0.776077389717102, -1.3307609558105469, 0.8158833980560303, -0.019260583445429802, 0.13394176959991455, 0.7159678936004639, -0.6374315619468689, 1.135109782218933, 0.7609949111938477, 0.9600878357887268, 0.13294290006160736, 0.2904260754585266, 0.3481520712375641, -0.2649621069431305, -1.2521470785140991, -0.3049873411655426, -1.1166787147521973, -2.4222524166107178, 0.4557279050350189, -0.1600683182477951, -1.427401065826416, 0.08778426051139832, -0.9645577073097229, 0.9334078431129456, -0.525413453578949, -1.0840235948562622, -1.462551236152649, 0.2130689024925232, -0.15403875708580017, 0.9177876710891724, -1.5730102062225342, -0.10465893894433975, 1.290176510810852, 0.9218493103981018, -0.6478993892669678, 1.0213321447372437, 0.2991529107093811, 1.0043840408325195, 0.8339754939079285, -0.40507423877716064, 0.5124577283859253, 0.16530132293701172, -1.2495737075805664, 0.36654654145240784, 1.234382152557373, 0.14637026190757751, 1.4113441705703735, -0.6322747468948364, -0.03420662879943848, 0.4053981304168701, -0.46192169189453125, -0.47390952706336975, -0.5653200149536133, 0.6438779234886169, -0.016281336545944214, -0.9757736325263977, -0.023798128589987755, -0.1000494584441185, -0.2065465897321701, 0.27220091223716736, -1.535865306854248, -0.1827753782272339, -0.3644249141216278, -0.5323939323425293, -1.3058280944824219, -0.09649084508419037, 1.4141709804534912, -0.7222840189933777, -0.2012447714805603, 0.5284749865531921, 0.3353221118450165, 0.5464986562728882, 0.664226233959198, -0.67701256275177, -0.31183329224586487, -0.24006497859954834, -0.36237457394599915, 0.3081984519958496, 1.2594189643859863, -0.10303965210914612, -1.029693603515625, 0.6294758319854736, -0.4098653197288513, 0.13787443935871124, 1.9756419658660889, 0.06735865771770477, -0.8326733708381653, 0.2964972257614136, -0.6712605953216553, 1.9065322875976562, 1.6980361938476562, 1.3660753965377808, -0.1697154939174652, -0.926189124584198, 0.6749312281608582, -0.28859439492225647, -0.37640810012817383, 0.8807017803192139, 0.50273197889328, -0.22907428443431854, -1.3498014211654663, 0.6219536066055298, 1.2332090139389038, -0.9360705018043518, -0.8269286751747131, 0.10873205959796906, -0.8298364877700806, 1.0982407331466675, 0.7886790037155151, 0.37585458159446716, 0.285626083612442, 1.5892482995986938, 0.785513162612915, -0.5048352479934692, 0.562142550945282, 0.43649402260780334, -0.17660564184188843, -1.9575302600860596, -1.089621663093567, 0.2786833941936493, -0.40638792514801025, -1.5754419565200806, 1.385427713394165, -1.1634559631347656, -0.9450504779815674, 0.5155036449432373, 0.06393083184957504, 1.3779252767562866, 0.3670068681240082, 1.6208858489990234, 2.0793590545654297, 0.9370045065879822, 0.37844932079315186, 1.299599051475525, -0.11647006869316101, -0.4384876489639282, 1.83284592628479, -0.3755743205547333, 0.5685001015663147, 1.080965518951416, -0.4350648820400238, -1.095279574394226, -0.8660338521003723, -1.2230219841003418, -0.7375719547271729, 1.1263219118118286, 0.06916613131761551, -1.1719722747802734, 0.2957279682159424, 1.578821063041687, 0.10771109908819199, -0.350392609834671, 0.7229770421981812, 0.37937700748443604, -0.8125206828117371, -0.1497342735528946, -1.015130639076233, 0.4737526476383209, -0.2337854504585266, -0.41335803270339966, 0.21993401646614075, 0.41206493973731995, 1.2746145725250244, 0.1316402554512024, 0.07960731536149979, 1.2286628484725952, -1.3249598741531372, 1.4462558031082153, -0.7381274700164795, 0.2796717882156372, -2.3861000537872314, 1.3818427324295044, -0.7824546098709106, 1.9557257890701294, -2.7047476768493652, 0.5002809166908264, -0.5740600824356079, -0.46712732315063477, 0.26618292927742004, -0.28095945715904236, 0.22657638788223267, -0.12229442596435547, -1.1506675481796265, -0.15365438163280487, -0.6893880367279053, 0.5918763279914856, 1.11558198928833, 1.320971965789795, -1.0981215238571167, -0.21001505851745605, -1.7560049295425415, -0.19911272823810577, -0.7244758009910583, 0.2698724865913391, -1.99894380569458, -0.2011134773492813, -1.8958735466003418, -2.4184062480926514, -1.3281913995742798, -0.8890370726585388, 1.1490124464035034, 0.1683235615491867, -0.9225289821624756, 1.2265427112579346, -0.35136619210243225, -1.78945791721344, 1.1265588998794556, -2.1719722747802734 ]
https://github.com/huggingface/datasets/issues/4354
Problems with WMT dataset
Hi @mariosasko , I have made the changes as suggested by you and have opened a PR #4537. Thanks
## Describe the bug I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)) doesn't work anymore. ## Steps to reproduce the bug ```shell >>> import datasets >>> a = datasets.translate.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'translate' >>> a = datasets.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'wmt' ``` ## Expected results To load WMT15 with given data-sources. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Linux-5.10.0-10-amd64-x86_64-with-glibc2.17 - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1
757
19
Problems with WMT dataset ## Describe the bug I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)) doesn't work anymore. ## Steps to reproduce the bug ```shell >>> import datasets >>> a = datasets.translate.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'translate' >>> a = datasets.wmt.WmtConfig() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'datasets' has no attribute 'wmt' ``` ## Expected results To load WMT15 with given data-sources. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Linux-5.10.0-10-amd64-x86_64-with-glibc2.17 - Python version: 3.8.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.1 Hi @mariosasko , I have made the changes as suggested by you and have opened a PR #4537. Thanks
[ -1.2035484313964844, -0.9157878160476685, -0.6747480630874634, 1.4662797451019287, -0.14570949971675873, -1.1797837018966675, 0.0585506409406662, -1.0141792297363281, 1.6039624214172363, -0.7101251482963562, 0.2667417526245117, -1.6890445947647095, -0.029787138104438782, -0.4950130879878998, -0.719871997833252, -0.9270675778388977, -0.4397701025009155, -0.7467995882034302, 1.0491732358932495, 2.5392234325408936, 1.245970606803894, -1.4642164707183838, 2.714590311050415, 0.6299663186073303, -0.23240070044994354, -1.0507354736328125, 0.6147544384002686, 0.08340131491422653, -1.3801764249801636, -0.34255725145339966, -0.9668408632278442, -0.03157275915145874, -0.6279867887496948, -0.46115681529045105, -0.021973099559545517, 0.31386661529541016, -0.2513749599456787, -0.4516909718513489, -0.46351903676986694, -0.7444462180137634, 0.4478952884674072, -0.3718171715736389, 0.8854725360870361, -0.33981022238731384, 1.7195563316345215, -0.5751739740371704, 0.4746774137020111, 0.6898019909858704, 1.2400648593902588, 0.234132781624794, 0.002286395989358425, 0.33207136392593384, 0.3971094787120819, 0.014459827914834023, 0.5337384343147278, 1.1165918111801147, 0.58836430311203, 0.43626320362091064, 0.7275846600532532, -2.1960644721984863, 1.2998017072677612, -0.9397656321525574, 0.3052653968334198, 1.264296054840088, -0.9736341834068298, 0.42994755506515503, -1.8249075412750244, -0.07988148927688599, 0.5620180368423462, -2.2340612411499023, 0.25522106885910034, -1.3540292978286743, -0.5405099391937256, 1.004356026649475, 0.31541600823402405, -1.2224323749542236, 0.05422111600637436, -0.47719597816467285, 1.0073189735412598, 0.4337601959705353, 1.1417746543884277, -1.7802644968032837, -0.0026568803004920483, -0.37320515513420105, 0.13673144578933716, -1.2535253763198853, -1.570798397064209, 0.4763181507587433, 0.6661635637283325, 0.611027181148529, 0.016000816598534584, 0.9248752593994141, -1.0016093254089355, 0.7143639922142029, -0.9562897682189941, -1.7964043617248535, -1.4017131328582764, -2.3208415508270264, -2.315908670425415, 0.6385343074798584, -0.48562324047088623, -0.510181188583374, 2.0928690433502197, -0.9796669483184814, -1.8065555095672607, 1.115341305732727, 0.33718085289001465, -0.0646887943148613, 2.4665727615356445, 0.24745884537696838, -0.7257847189903259, 0.5336532592773438, -0.7612294554710388, 0.7268700003623962, -0.40051549673080444, 1.3660953044891357, 0.38183847069740295, -0.9441863894462585, 1.6486538648605347, -0.435293972492218, 0.6181833744049072, -0.6317617893218994, -0.4614616334438324, -0.7574647665023804, 0.17561419308185577, 1.9008373022079468, -0.2505500614643097, 1.5173752307891846, -0.3534053862094879, -1.611375093460083, -1.543034553527832, 0.8148817420005798, 0.4566149413585663, -0.8164864778518677, 0.11781731247901917, -0.29513630270957947, 0.021936921402812004, 0.097005695104599, 1.0490447282791138, 1.2528921365737915, 0.7295328974723816, -0.2789270579814911, -0.9882131814956665, 0.16696438193321228, -0.0863511711359024, -0.6945839524269104, -1.8172895908355713, -0.2204376608133316, 0.046636492013931274, 0.7116804718971252, -1.182121753692627, 1.6888848543167114, 0.8288984298706055, 1.9969407320022583, 0.973602831363678, -0.367733359336853, 1.516953945159912, 0.039514318108558655, 1.8672574758529663, -0.47661077976226807, 0.6684541702270508, -0.4637512266635895, -1.170710802078247, 0.7839758396148682, -0.42593395709991455, -2.0722670555114746, -0.6570308804512024, -0.7989919781684875, -0.20357553660869598, -0.7495540380477905, 1.0051246881484985, -0.1725858747959137, -1.3903220891952515, 0.31619688868522644, -0.7235486507415771, 0.10104896128177643, -1.2644578218460083, 0.24242383241653442, 0.7576042413711548, -0.5944416522979736, 0.07151786983013153, -0.3070104420185089, -1.3126437664031982, -0.4687741994857788, 0.3937150537967682, 1.8223053216934204, -0.6713468432426453, 1.0142461061477661, 1.0038650035858154, -0.655586838722229, -0.05572235584259033, 0.2568259537220001, -0.24571745097637177, 0.8774592280387878, -1.064594030380249, -0.3901069760322571, 1.140291690826416, -0.2022564560174942, -0.5792794823646545, 1.4001309871673584, 0.6104673743247986, -1.028931736946106, -0.22016185522079468, -0.10991357266902924, -0.8189508318901062, 0.06508783251047134, -1.6783379316329956, -0.0615881010890007, 0.3178361654281616, -1.5923017263412476, -0.5409925580024719, -0.16746267676353455, 1.2310943603515625, -0.06492169201374054, 1.4496405124664307, -0.3463568687438965, -0.14164488017559052, -0.45928654074668884, -0.44091367721557617, 0.1157073974609375, -0.2519911229610443, -0.5848495364189148, 0.23138156533241272, -0.8526703119277954, 0.34726545214653015, 1.4814033508300781, 0.3297952115535736, 0.10667147487401962, 0.43417155742645264, 1.0022579431533813, 0.3892587423324585, -0.10645175725221634, -0.8425980806350708, -1.6674576997756958, 2.022153615951538, -1.506436824798584, 2.059810161590576, 0.7742233276367188, -0.0425509437918663, -1.835911750793457, -1.920027494430542, 1.356721043586731, 1.157209873199463, 2.36026930809021, 0.619278609752655, 0.3564942479133606, -0.8194875717163086, -0.6304407715797424, 0.28506729006767273, -0.9283896684646606, -0.8253119587898254, 0.1518997997045517, 2.3895320892333984, 1.7167407274246216, -0.41273996233940125, -0.1003037840127945, -0.9736872315406799, 1.4534988403320312, -0.1210324615240097, 0.21781541407108307, 1.9550129175186157, -0.3001510500907898, -1.0499250888824463, 1.2380062341690063, -2.2954671382904053, 0.1626376062631607, 1.9945963621139526, 0.29834890365600586, 0.16406089067459106, -1.3543039560317993, -0.727000892162323, -0.33599168062210083, -0.38934049010276794, -1.2245582342147827, 0.5255311131477356, -0.25954926013946533, -0.7930771708488464, -1.5298936367034912, 0.09985600411891937, -1.0974667072296143, -1.7613718509674072, 0.2342514842748642, 1.8782471418380737, 2.102086067199707, -0.8060619235038757, 1.5089128017425537, -0.3240000009536743, 0.11730273067951202, 1.2512458562850952, 1.1750988960266113, 3.1143910884857178, 1.960720419883728, -1.2545418739318848, 0.6892805099487305, -0.005876893177628517, -0.37922319769859314, 1.2094885110855103, -1.196363091468811, 1.3059799671173096, -0.20617517828941345, -1.2238223552703857, -1.2288779020309448, 1.0020076036453247, 0.47808849811553955, -0.035655342042446136, -0.5150366425514221, 1.2045469284057617, 0.026892339810729027, 1.305071234703064, 0.5203801989555359, -0.3611854314804077, 0.635073721408844, -0.3825486898422241, -0.5434967875480652, 1.6295807361602783, 0.12113875150680542, -1.4523619413375854, -2.320570230484009, -0.2582252025604248, -0.8184939026832581, 0.02477026917040348, -0.6523284912109375, -1.052480697631836, 1.6066665649414062, 0.3992413282394409, -1.1512739658355713, -0.3012034296989441, -0.36191627383232117, -0.4957941770553589, 2.697092294692993, -1.382586121559143, -0.13181494176387787, -0.9326828122138977, -0.5570200681686401, 1.4902431964874268, -1.2130742073059082, -0.2563337981700897, -0.9857664108276367, -0.5609871745109558, -1.2989294528961182, -0.5573323369026184, 0.05679319053888321, -0.9376790523529053, 0.8250393271446228, 0.20786377787590027, -1.2198173999786377, -0.2482522428035736, -0.9519707560539246, 0.9023141264915466, -0.0974179282784462, 0.21484746038913727, 1.9252843856811523, 0.2782216966152191, -0.35326263308525085, 0.7196879982948303, 1.19004487991333, 0.534467339515686, -0.6590694189071655, 0.19990894198417664, -0.6309300661087036, 0.3724322021007538, -1.2765345573425293, 0.2380257099866867, -2.878796100616455, 0.6905748248100281, -0.06327970325946808, 0.03730481117963791, 0.03447681665420532, -1.3364019393920898, 1.080232858657837, 2.530545949935913, -1.1464017629623413, 0.5749088525772095, 0.2941551208496094, 1.2004114389419556, -1.6045619249343872, 0.3152746856212616, -0.45425087213516235, 2.1763691902160645, 0.15604378283023834, 1.1360492706298828, -0.5359632968902588, -2.368154525756836, 0.6150465607643127, -1.181026816368103, -1.1305286884307861, 0.7386125326156616, -0.8679157495498657, 0.13001523911952972, -1.4040127992630005, -0.2005835920572281, -0.9282292127609253, -1.1319924592971802, 0.6817039847373962, 0.09978426992893219, 0.4666500687599182, -0.5743440985679626, 0.31081587076187134, -2.1981236934661865, -1.3415467739105225, -0.18666034936904907, -0.8953170776367188, 0.4102262854576111, -0.3064059019088745, 0.6741331815719604, -0.1082788035273552, 0.021984750404953957, 0.3357716202735901, 1.3319013118743896, 3.3342478275299072, 0.09134260565042496, 0.26970958709716797, -0.1522526741027832, -1.0037556886672974, 1.4363536834716797, 0.9116199016571045, -0.23087796568870544, -0.5323650240898132, -1.089158535003662, 1.3214080333709717, 1.9615720510482788, 0.9931743741035461, 0.06843699514865875, -0.8234668970108032, -0.6910584568977356, 0.05454310029745102, 0.18163210153579712, 0.5532954335212708, 0.9392046332359314, 0.07309897989034653, 0.0986921638250351, 1.4707350730895996, 1.2007582187652588, -0.31954845786094666, 0.4529080390930176, -0.9123469591140747, -0.5132414698600769, 0.5376731753349304, 0.3306832015514374, -0.017995920032262802, 0.3264242708683014, -1.0449421405792236, -0.26382681727409363, -0.3494265377521515, -0.8745835423469543, -0.6791749000549316, -0.3781201243400574, -0.24960282444953918, 1.6957752704620361, 0.06969601660966873, -0.43947699666023254, 0.06071259081363678, -0.6920741200447083, -0.041990362107753754, -1.021391749382019, 0.3326389193534851, -0.23984721302986145, -0.002479430753737688, -0.16332103312015533, 1.7864819765090942, -0.9159286618232727, -2.1456711292266846, 0.3017220199108124, 0.2936279773712158, -0.39485374093055725, 0.19671928882598877, 1.7128520011901855, 0.6243305206298828, 1.43845534324646, 1.3666858673095703, 0.9857332110404968, -0.7057662010192871, -1.313278317451477, 0.6390789151191711, 1.0390335321426392, -1.29982328414917, 0.8335787653923035, -0.04573873430490494, -0.6127252578735352, 0.6338062286376953, 1.3474498987197876, 0.4308266043663025, -2.024278163909912, 0.835772693157196, -0.8822291493415833, 0.8264312744140625, 0.7379610538482666, 0.8416619300842285, 0.16151025891304016, 0.8198481202125549, -1.2899874448776245, -1.0503783226013184, -0.7592883110046387, -0.6364433765411377, 1.8988378047943115, -0.29280027747154236, 0.4640800654888153, -0.24868780374526978, -1.278886318206787, -0.07579226791858673, 0.6203092336654663, 0.3283083140850067, -0.42330190539360046, 0.8070944547653198, -0.5809959173202515, -1.128229022026062, -1.3567347526550293, -0.46658602356910706, -1.0109624862670898, -0.8705247640609741, 1.0129451751708984, 0.7216958999633789, 0.35428813099861145, 1.8936086893081665, 0.5707135796546936, 0.1658446341753006, -2.672832727432251, 0.9393541812896729, 0.20020590722560883, -0.053819961845874786, 0.8221942782402039, 0.2910999655723572, 1.0860133171081543, -0.037866514176130295, 0.5303671956062317, -2.326824426651001, 2.308053493499756, -0.26722028851509094, 0.7378117442131042, -0.007771928329020739, -0.06768660247325897, 0.9947251677513123, 0.5656837224960327, 0.49422645568847656, -1.0690120458602905, 0.7317760586738586, -0.6096891164779663, 1.1462457180023193, 0.8621534705162048, -0.7927501797676086, -0.027465758845210075, 1.3183434009552002, 0.487409383058548, -0.5321985483169556, -0.9795269966125488, -0.807314932346344, 1.0037517547607422, 1.8518072366714478, -0.03521718084812164, 0.004719995893537998, 0.7444021701812744, 0.6439045071601868, -1.3001846075057983, 0.0510537251830101, -0.7132849097251892, -0.7364023327827454, 1.6847121715545654, 2.0174505710601807, -0.1211874857544899, -0.1984550654888153, -0.7793514728546143, -1.3654886484146118, 0.8250426054000854, 0.022761153057217598, 0.11922658979892731, 0.7195281982421875, -0.6376896500587463, 1.1377718448638916, 0.7763622999191284, 0.957129180431366, 0.15087449550628662, 0.2643519639968872, 0.32929933071136475, -0.2522616684436798, -1.2704215049743652, -0.28191789984703064, -1.0956988334655762, -2.393749952316284, 0.47962409257888794, -0.1875242441892624, -1.4317843914031982, 0.07980421185493469, -0.9741945862770081, 0.9450703263282776, -0.4922749698162079, -1.0682084560394287, -1.4982484579086304, 0.18420745432376862, -0.14528149366378784, 0.945305585861206, -1.54655122756958, -0.08370572328567505, 1.315976858139038, 0.9303660988807678, -0.6780501008033752, 1.0445077419281006, 0.28433480858802795, 0.9966815114021301, 0.8537644147872925, -0.4184257388114929, 0.5297548770904541, 0.16463032364845276, -1.2064151763916016, 0.35493603348731995, 1.2235727310180664, 0.1614478975534439, 1.4238113164901733, -0.6810623407363892, -0.07677525281906128, 0.386902391910553, -0.4191170632839203, -0.4710233211517334, -0.5938311815261841, 0.6309175491333008, -0.023620106279850006, -0.9715782999992371, -0.029399503022432327, -0.08796676993370056, -0.1883539855480194, 0.2838984429836273, -1.5221662521362305, -0.14720283448696136, -0.3555355370044708, -0.5154374241828918, -1.2965521812438965, -0.11962742358446121, 1.4264277219772339, -0.7139909863471985, -0.16578197479248047, 0.534421980381012, 0.31313642859458923, 0.538792610168457, 0.6712984442710876, -0.6523147821426392, -0.29921838641166687, -0.253385066986084, -0.34032976627349854, 0.3339335322380066, 1.2681374549865723, -0.12527607381343842, -1.041313648223877, 0.6331416368484497, -0.3722147047519684, 0.13661253452301025, 1.9732261896133423, 0.07576390355825424, -0.8346834778785706, 0.2907840609550476, -0.6503620147705078, 1.9222997426986694, 1.708509087562561, 1.3756036758422852, -0.15931561589241028, -0.9257151484489441, 0.6951006054878235, -0.30219849944114685, -0.37247899174690247, 0.8659460544586182, 0.5249562859535217, -0.2345300167798996, -1.3311948776245117, 0.6267613172531128, 1.2300801277160645, -0.9380977153778076, -0.846463680267334, 0.11825530230998993, -0.8161786794662476, 1.0850894451141357, 0.8038890361785889, 0.3926050066947937, 0.27787476778030396, 1.596362829208374, 0.7922101020812988, -0.4764012396335602, 0.5824218392372131, 0.43795448541641235, -0.19434736669063568, -1.9224474430084229, -1.126112937927246, 0.2853213846683502, -0.44146397709846497, -1.5809968709945679, 1.408994436264038, -1.1731724739074707, -0.9526667594909668, 0.5715914368629456, 0.04600641876459122, 1.4006370306015015, 0.3462570607662201, 1.6399539709091187, 2.072355270385742, 0.9556572437286377, 0.406183660030365, 1.2888928651809692, -0.09547317028045654, -0.4103453457355499, 1.8006948232650757, -0.3668580949306488, 0.5480165481567383, 1.0928095579147339, -0.41543418169021606, -1.0826914310455322, -0.886994481086731, -1.247605562210083, -0.7818859815597534, 1.1029280424118042, 0.08523629605770111, -1.1750322580337524, 0.27635276317596436, 1.5682265758514404, 0.12155823409557343, -0.36878979206085205, 0.689219057559967, 0.363497257232666, -0.8363360166549683, -0.15659117698669434, -1.0393222570419312, 0.47679638862609863, -0.2304392009973526, -0.43674129247665405, 0.2492215931415558, 0.35983195900917053, 1.28542160987854, 0.15818484127521515, 0.1011311411857605, 1.2463874816894531, -1.3259550333023071, 1.4684834480285645, -0.7427926659584045, 0.26728078722953796, -2.357461452484131, 1.390329360961914, -0.7805517911911011, 1.951688289642334, -2.737518310546875, 0.5089325308799744, -0.5782365202903748, -0.4693332016468048, 0.2796643376350403, -0.2626956105232239, 0.26630091667175293, -0.14774931967258453, -1.1558510065078735, -0.16992226243019104, -0.6938841342926025, 0.5684356689453125, 1.1093083620071411, 1.3144145011901855, -1.0897564888000488, -0.23439951241016388, -1.752341866493225, -0.17918360233306885, -0.6690127849578857, 0.2980493903160095, -1.9802080392837524, -0.19998157024383545, -1.860638976097107, -2.451460123062134, -1.3078312873840332, -0.8532741665840149, 1.1386077404022217, 0.14207515120506287, -0.8949404358863831, 1.2317678928375244, -0.34054234623908997, -1.8004051446914673, 1.1523021459579468, -2.161081314086914 ]
https://github.com/huggingface/datasets/issues/4352
When using `dataset.map()` if passed `Features` types do not match what is returned from the mapped function, execution does not except in an obvious way
Hi ! Thanks for reporting :) `datasets` usually returns a `pa.lib.ArrowInvalid` error if the feature types don't match. It would be awesome if we had a way to reproduce the `OverflowError` in this case, to better understand what happened and be able to provide the best error message
## Describe the bug Recently I was trying to using `.map()` to preprocess a dataset. I defined the expected Features and passed them into `.map()` like `dataset.map(preprocess_data, features=features)`. My expected `Features` keys matched what came out of `preprocess_data`, but the types i had defined for them did not match the types that came back. Because of this, i ended up in tracebacks deep inside arrow_dataset.py and arrow_writer.py with exceptions that [did not make clear what the problem was](https://github.com/huggingface/datasets/issues/4349). In short i ended up with overflows and the OS killing processes when Arrow was attempting to write. It wasn't until I dug into `def write_batch` and the loop that loops over cols that I figured out what was going on. It seems like `.map()` could set a boolean that it's checked that for at least 1 instance from the dataset, the returned data's types match the types provided by the `features` param and error out with a clear exception if they don't. This would make the cause of the issue much more understandable and save people time. This could be construed as a feature but it feels more like a bug to me. ## Steps to reproduce the bug I don't have explicit code to repro the bug, but ill show an example Code prior to the fix: ```python def preprocess(examples): # returns an encoded data dict with keys that match the features, but the types do not match ... def get_encoded_data(data): dataset = Dataset.from_pandas(data) unique_labels = data['audit_type'].unique().tolist() features = Features({ 'image': Array3D(dtype="uint8", shape=(3, 224, 224))), 'input_ids': Sequence(feature=Value(dtype='int64'))), 'attention_mask': Sequence(Value(dtype='int64'))), 'token_type_ids': Sequence(Value(dtype='int64'))), 'bbox': Array2D(dtype="int64", shape=(512, 4))), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) encoded_dataset = dataset.map(preprocess_data, features=features, remove_columns=dataset.column_names) ``` The Features set that fixed it: ```python features = Features({ 'image': Sequence(Array3D(dtype="uint8", shape=(3, 224, 224))), 'input_ids': Sequence(Sequence(feature=Value(dtype='int64'))), 'attention_mask': Sequence(Sequence(Value(dtype='int64'))), 'token_type_ids': Sequence(Sequence(Value(dtype='int64'))), 'bbox': Sequence(Array2D(dtype="int64", shape=(512, 4))), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) ``` The difference between my original code (which was based on documentation) and the working code is the addition of the `Sequence(...)` to 4/5 features as I am working with paginated data and the doc examples are not. ## Expected results Dataset.map() attempts to validate the data types for each Feature on the first iteration and errors out if they are not validated. ## Actual results Specify the actual results or traceback. Based on the value of `writer_batch_size`, execution errors out when Arrow attempts to write because the types do not match, though its error messages dont make this obvious Example errors: ``` OverflowError: There was an overflow with type <class 'list'>. Try to reduce writer_batch_size to have batches smaller than 2GB. (offset overflow while concatenating arrays) ``` ``` zsh: killed python doc_classification.py UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> datasets version: 2.1.0 Platform: macOS-12.2.1-arm64-arm-64bit Python version: 3.9.12 PyArrow version: 6.0.1 Pandas version: 1.4.2
758
48
When using `dataset.map()` if passed `Features` types do not match what is returned from the mapped function, execution does not except in an obvious way ## Describe the bug Recently I was trying to using `.map()` to preprocess a dataset. I defined the expected Features and passed them into `.map()` like `dataset.map(preprocess_data, features=features)`. My expected `Features` keys matched what came out of `preprocess_data`, but the types i had defined for them did not match the types that came back. Because of this, i ended up in tracebacks deep inside arrow_dataset.py and arrow_writer.py with exceptions that [did not make clear what the problem was](https://github.com/huggingface/datasets/issues/4349). In short i ended up with overflows and the OS killing processes when Arrow was attempting to write. It wasn't until I dug into `def write_batch` and the loop that loops over cols that I figured out what was going on. It seems like `.map()` could set a boolean that it's checked that for at least 1 instance from the dataset, the returned data's types match the types provided by the `features` param and error out with a clear exception if they don't. This would make the cause of the issue much more understandable and save people time. This could be construed as a feature but it feels more like a bug to me. ## Steps to reproduce the bug I don't have explicit code to repro the bug, but ill show an example Code prior to the fix: ```python def preprocess(examples): # returns an encoded data dict with keys that match the features, but the types do not match ... def get_encoded_data(data): dataset = Dataset.from_pandas(data) unique_labels = data['audit_type'].unique().tolist() features = Features({ 'image': Array3D(dtype="uint8", shape=(3, 224, 224))), 'input_ids': Sequence(feature=Value(dtype='int64'))), 'attention_mask': Sequence(Value(dtype='int64'))), 'token_type_ids': Sequence(Value(dtype='int64'))), 'bbox': Array2D(dtype="int64", shape=(512, 4))), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) encoded_dataset = dataset.map(preprocess_data, features=features, remove_columns=dataset.column_names) ``` The Features set that fixed it: ```python features = Features({ 'image': Sequence(Array3D(dtype="uint8", shape=(3, 224, 224))), 'input_ids': Sequence(Sequence(feature=Value(dtype='int64'))), 'attention_mask': Sequence(Sequence(Value(dtype='int64'))), 'token_type_ids': Sequence(Sequence(Value(dtype='int64'))), 'bbox': Sequence(Array2D(dtype="int64", shape=(512, 4))), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) ``` The difference between my original code (which was based on documentation) and the working code is the addition of the `Sequence(...)` to 4/5 features as I am working with paginated data and the doc examples are not. ## Expected results Dataset.map() attempts to validate the data types for each Feature on the first iteration and errors out if they are not validated. ## Actual results Specify the actual results or traceback. Based on the value of `writer_batch_size`, execution errors out when Arrow attempts to write because the types do not match, though its error messages dont make this obvious Example errors: ``` OverflowError: There was an overflow with type <class 'list'>. Try to reduce writer_batch_size to have batches smaller than 2GB. (offset overflow while concatenating arrays) ``` ``` zsh: killed python doc_classification.py UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> datasets version: 2.1.0 Platform: macOS-12.2.1-arm64-arm-64bit Python version: 3.9.12 PyArrow version: 6.0.1 Pandas version: 1.4.2 Hi ! Thanks for reporting :) `datasets` usually returns a `pa.lib.ArrowInvalid` error if the feature types don't match. It would be awesome if we had a way to reproduce the `OverflowError` in this case, to better understand what happened and be able to provide the best error message
[ -1.2995492219924927, -1.005112648010254, -0.7072147130966187, 1.4784977436065674, -0.18205468356609344, -1.2198400497436523, 0.14891007542610168, -1.0841583013534546, 1.6945879459381104, -0.7683990597724915, 0.2632245123386383, -1.6740777492523193, 0.06486910581588745, -0.5429685115814209, -0.8082097172737122, -0.7871779203414917, -0.4640352725982666, -0.7586326003074646, 1.1235350370407104, 2.412374258041382, 1.1828283071517944, -1.4334630966186523, 2.6720035076141357, 0.7517911195755005, -0.1512001007795334, -1.0622447729110718, 0.5535979866981506, -0.03690601885318756, -1.3353068828582764, -0.46947258710861206, -0.9754576683044434, -0.06656566262245178, -0.5732899308204651, -0.6011344790458679, 0.0023457901552319527, 0.36797863245010376, -0.27394819259643555, -0.5084702372550964, -0.5202283263206482, -0.7884085774421692, 0.47104310989379883, -0.34579503536224365, 0.9157439470291138, -0.2642401158809662, 1.8361095190048218, -0.47176140546798706, 0.4293464720249176, 0.7377254962921143, 1.4548190832138062, 0.19459077715873718, -0.03726430982351303, 0.4489179849624634, 0.4035964906215668, 0.0024468237534165382, 0.4592320919036865, 1.191978096961975, 0.6980422735214233, 0.42841920256614685, 0.7991615533828735, -2.235084295272827, 1.3020058870315552, -1.0623060464859009, 0.3502365052700043, 1.3342622518539429, -0.9101051688194275, 0.36092665791511536, -1.778879165649414, -0.002231753431260586, 0.5688529014587402, -2.235518455505371, 0.1974656879901886, -1.301400899887085, -0.41811102628707886, 1.0510518550872803, 0.323527067899704, -1.2236093282699585, 0.20160219073295593, -0.4098358750343323, 1.0354599952697754, 0.39993780851364136, 1.1652334928512573, -1.665273904800415, -0.03192614018917084, -0.32443568110466003, 0.17281664907932281, -1.2444524765014648, -1.552682638168335, 0.5113552212715149, 0.7143285274505615, 0.5130858421325684, -0.21148993074893951, 1.0909589529037476, -0.9520801305770874, 0.7498315572738647, -0.9747060537338257, -1.702199101448059, -1.4143941402435303, -2.1837706565856934, -2.2179176807403564, 0.7734770178794861, -0.5176303386688232, -0.5258016586303711, 2.063184976577759, -1.0713005065917969, -1.8303672075271606, 1.163637638092041, 0.30074620246887207, -0.03735404461622238, 2.278979778289795, 0.17467136681079865, -0.6681233048439026, 0.4029742479324341, -0.6763227581977844, 0.7971585392951965, -0.3058200776576996, 1.3819643259048462, 0.44061779975891113, -0.9867976903915405, 1.614383339881897, -0.2845834791660309, 0.5747644901275635, -0.6640756726264954, -0.4586184620857239, -0.7937967777252197, 0.3975220322608948, 1.915784239768982, -0.3118155002593994, 1.5792770385742188, -0.3892873227596283, -1.6643106937408447, -1.6606625318527222, 0.909605085849762, 0.5020706653594971, -0.7702993750572205, 0.11964015662670135, -0.39893239736557007, 0.07709426432847977, 0.039146192371845245, 1.1481351852416992, 1.2928766012191772, 0.7555103898048401, -0.355451762676239, -0.8450105786323547, 0.16576868295669556, -0.049859657883644104, -0.6660984754562378, -1.8001985549926758, -0.4423496425151825, 0.12693193554878235, 0.6554276943206787, -1.1473838090896606, 1.6911557912826538, 0.9440371990203857, 1.8714169263839722, 1.0451618432998657, -0.39140090346336365, 1.5222688913345337, 0.10754740983247757, 1.8376080989837646, -0.5158541202545166, 0.6362912058830261, -0.3420104682445526, -1.154005765914917, 0.8937544226646423, -0.29996776580810547, -2.0732030868530273, -0.7594366073608398, -0.8651244640350342, -0.16886427998542786, -0.6994848251342773, 0.8669430017471313, -0.37027502059936523, -1.3933566808700562, 0.24968166649341583, -0.6960538625717163, 0.1326238512992859, -1.1868600845336914, 0.35619407892227173, 0.7269933223724365, -0.6812570095062256, 0.12283255159854889, -0.2880433201789856, -1.2783169746398926, -0.4639947712421417, 0.3147048354148865, 1.876828670501709, -0.8063809871673584, 0.9742283821105957, 1.0657382011413574, -0.754113495349884, 0.03199034556746483, 0.29980891942977905, -0.26660963892936707, 0.892208456993103, -1.0190894603729248, -0.5137994289398193, 1.1619330644607544, -0.20327438414096832, -0.5911106467247009, 1.4035674333572388, 0.707811176776886, -0.9864158034324646, -0.15106280148029327, -0.1484815627336502, -0.8862738609313965, 0.038082305341959, -1.5806330442428589, -0.16084811091423035, 0.39977920055389404, -1.5804537534713745, -0.4907069802284241, -0.18247242271900177, 1.2346217632293701, -0.1086881011724472, 1.458756923675537, -0.39271315932273865, -0.23876051604747772, -0.3164460361003876, -0.3360843360424042, 0.1679377406835556, -0.19216711819171906, -0.7180449366569519, 0.21756571531295776, -0.8906698822975159, 0.4005363881587982, 1.4181886911392212, 0.41392457485198975, -0.013215608894824982, 0.5622299313545227, 1.1172606945037842, 0.37152358889579773, -0.03762983903288841, -0.8738189339637756, -1.6256864070892334, 2.0966684818267822, -1.4237103462219238, 1.9055618047714233, 0.6802647113800049, -0.08209937065839767, -1.7377268075942993, -1.8016126155853271, 1.4082701206207275, 1.169963002204895, 2.337775468826294, 0.5900155901908875, 0.3892274796962738, -0.8250601291656494, -0.6138898134231567, 0.36284980177879333, -0.9787274599075317, -0.7565038800239563, 0.061208438128232956, 2.3442294597625732, 1.796116590499878, -0.44567209482192993, -0.24243517220020294, -1.0195673704147339, 1.348945140838623, -0.20069853961467743, 0.21692605316638947, 1.940194845199585, -0.21321222186088562, -1.0772547721862793, 1.2782950401306152, -2.3492040634155273, 0.19552958011627197, 2.0077285766601562, 0.269142746925354, 0.10681559890508652, -1.3952968120574951, -0.5827172994613647, -0.25237348675727844, -0.4554358422756195, -1.2428754568099976, 0.5072863101959229, -0.30646535754203796, -0.7958349585533142, -1.440846562385559, 0.16178905963897705, -1.1168255805969238, -1.6479742527008057, 0.27069199085235596, 1.9470951557159424, 2.060817003250122, -0.6781183481216431, 1.6031575202941895, -0.3287980556488037, 0.27098357677459717, 1.2548049688339233, 1.188765048980713, 3.1105902194976807, 1.9081085920333862, -1.255922555923462, 0.566428005695343, -0.14155611395835876, -0.5042279362678528, 1.1748437881469727, -1.1887869834899902, 1.2685928344726562, -0.14219672977924347, -1.2076647281646729, -1.1989879608154297, 1.002564549446106, 0.483255535364151, 0.0982665866613388, -0.4669888913631439, 1.187459111213684, -0.0032479451037943363, 1.2469358444213867, 0.5035046935081482, -0.36238405108451843, 0.614999532699585, -0.340040385723114, -0.5124796628952026, 1.5360236167907715, 0.14509494602680206, -1.3735648393630981, -2.247241735458374, -0.22536474466323853, -0.7469831705093384, 0.12592078745365143, -0.6074265241622925, -0.8944027423858643, 1.6046185493469238, 0.33792322874069214, -1.291703462600708, -0.26998767256736755, -0.42287108302116394, -0.5662028789520264, 2.6312577724456787, -1.3260122537612915, -0.34409645199775696, -1.0013302564620972, -0.6261365413665771, 1.580527663230896, -1.1879980564117432, -0.22479966282844543, -0.9792553782463074, -0.5352811217308044, -1.3376362323760986, -0.59012770652771, -0.02273768000304699, -0.934423565864563, 0.8208301067352295, 0.14625787734985352, -1.1452966928482056, -0.30876675248146057, -0.8762154579162598, 0.9309132099151611, -0.12659277021884918, 0.20648235082626343, 1.9089263677597046, 0.45534300804138184, -0.29222437739372253, 0.7773182392120361, 1.0718687772750854, 0.6374492049217224, -0.554808497428894, 0.22932063043117523, -0.6560089588165283, 0.3348170220851898, -1.3334887027740479, 0.28401902318000793, -2.826613187789917, 0.6196955442428589, -0.051985908299684525, -0.022934239357709885, 0.002833383157849312, -1.3612076044082642, 1.0303130149841309, 2.642479419708252, -1.2233057022094727, 0.4525253176689148, 0.322845995426178, 1.2415492534637451, -1.5408035516738892, 0.3166307508945465, -0.41196954250335693, 2.1386852264404297, 0.2625424265861511, 1.2343525886535645, -0.48110589385032654, -2.2908332347869873, 0.6004059910774231, -1.291497826576233, -1.1963213682174683, 0.7551498413085938, -0.8560389876365662, 0.10444117337465286, -1.440946102142334, -0.23180317878723145, -0.8512505888938904, -1.1655609607696533, 0.7649362087249756, 0.15860147774219513, 0.38908058404922485, -0.6080905795097351, 0.4483497738838196, -2.162202835083008, -1.3593721389770508, -0.21140117943286896, -1.0166610479354858, 0.5119562745094299, -0.3956005573272705, 0.651747465133667, -0.1973658800125122, -0.01872136816382408, 0.3114449679851532, 1.3984813690185547, 3.409919500350952, 0.239327535033226, 0.3283975422382355, -0.19631075859069824, -0.8833158612251282, 1.533679723739624, 0.916248083114624, -0.22719280421733856, -0.49330124258995056, -1.0620787143707275, 1.2518552541732788, 1.9551266431808472, 1.025510311126709, -0.006282391957938671, -0.8086360096931458, -0.7735387682914734, -0.00848108809441328, 0.0904582142829895, 0.48794838786125183, 0.9048503041267395, 0.09831134974956512, 0.11315047740936279, 1.4599145650863647, 1.1996513605117798, -0.45790719985961914, 0.4459972083568573, -0.8047401905059814, -0.543012261390686, 0.45949843525886536, 0.37911349534988403, -0.010446721687912941, 0.34655842185020447, -1.0137349367141724, -0.1904495358467102, -0.4635143578052521, -0.965298593044281, -0.7335997819900513, -0.3901756703853607, -0.3466692268848419, 1.6314762830734253, 0.16118906438350677, -0.6154540777206421, -0.1445491462945938, -0.7843464612960815, -0.06245226785540581, -0.9854590892791748, 0.30441123247146606, -0.11239954829216003, -0.15003955364227295, -0.10752394795417786, 1.7142256498336792, -0.9491469264030457, -2.042055368423462, 0.2681048810482025, 0.21833564341068268, -0.32569485902786255, 0.21493279933929443, 1.634063482284546, 0.5114009976387024, 1.4303439855575562, 1.416481375694275, 0.9392231106758118, -0.6198117136955261, -1.3214625120162964, 0.686203122138977, 0.9204172492027283, -1.426815390586853, 0.7230884432792664, 0.02755868434906006, -0.5511375069618225, 0.6450495719909668, 1.3331074714660645, 0.5002375841140747, -2.070328712463379, 0.8675154447555542, -0.959588885307312, 0.7754248976707458, 0.7006040215492249, 0.7029857635498047, 0.21361143887043, 0.8253656625747681, -1.2247958183288574, -1.1720002889633179, -0.796952486038208, -0.6864519715309143, 2.0182883739471436, -0.2024340033531189, 0.5791723132133484, -0.1875685751438141, -1.3506133556365967, -0.2103133648633957, 0.6473780870437622, 0.29691165685653687, -0.5196902751922607, 0.7765219211578369, -0.6574280261993408, -1.1688581705093384, -1.413722276687622, -0.47119849920272827, -1.0051988363265991, -0.9526992440223694, 0.9786278605461121, 0.76893550157547, 0.2439458817243576, 1.8539608716964722, 0.5490626096725464, 0.20512470602989197, -2.6223199367523193, 0.8827985525131226, 0.2652772068977356, -0.06989031285047531, 0.830697774887085, 0.32029077410697937, 0.9561368227005005, -0.04187110811471939, 0.529055118560791, -2.3738913536071777, 2.279080629348755, -0.2738664150238037, 0.7548072934150696, 0.017753615975379944, -0.19850076735019684, 1.1918745040893555, 0.5611660480499268, 0.6308879852294922, -1.0622828006744385, 0.680338978767395, -0.6625857949256897, 1.257371425628662, 0.8657680749893188, -0.8423783779144287, -0.06386014074087143, 1.3952069282531738, 0.46455636620521545, -0.5400590896606445, -0.9899463057518005, -1.0052653551101685, 0.9574430584907532, 1.7181633710861206, -0.09161213785409927, -0.0330384224653244, 0.7386989593505859, 0.717606782913208, -1.3231366872787476, 0.08163611590862274, -0.7661173939704895, -0.728908360004425, 1.6441240310668945, 2.1022236347198486, -0.2308807224035263, -0.21691617369651794, -0.6752439737319946, -1.2774686813354492, 0.6818214058876038, -0.011646400205790997, 0.10766686499118805, 0.6848819851875305, -0.6814258098602295, 1.1044503450393677, 0.9059805870056152, 0.8961635231971741, 0.15050284564495087, 0.2484755963087082, 0.3359387218952179, -0.27982428669929504, -1.1505440473556519, -0.24456794559955597, -1.0374774932861328, -2.5127129554748535, 0.41221606731414795, -0.1776566505432129, -1.4385520219802856, 0.0631612241268158, -0.996062159538269, 0.9602706432342529, -0.5402256846427917, -1.0669087171554565, -1.5076199769973755, 0.1834612488746643, -0.03270374611020088, 0.8804641366004944, -1.6192768812179565, -0.035132840275764465, 1.2344380617141724, 0.9352324604988098, -0.6408590078353882, 1.0257787704467773, 0.2634051740169525, 1.0003043413162231, 0.9086811542510986, -0.4053959250450134, 0.4742594361305237, -0.002730028238147497, -1.286360263824463, 0.46976253390312195, 1.081188678741455, 0.20481471717357635, 1.4779208898544312, -0.6220797300338745, 0.02589084580540657, 0.4080105721950531, -0.615353524684906, -0.42342692613601685, -0.5165743827819824, 0.644828736782074, 0.016429424285888672, -0.8446611166000366, 0.018692266196012497, 0.000054745934903621674, -0.20231856405735016, 0.16712580621242523, -1.5903723239898682, -0.13972678780555725, -0.33868592977523804, -0.5941635370254517, -1.1756365299224854, -0.04710061848163605, 1.432091474533081, -0.7966309189796448, -0.27249231934547424, 0.5171177983283997, 0.40119850635528564, 0.4990967810153961, 0.6187120676040649, -0.6500697135925293, -0.3535153865814209, -0.20318767428398132, -0.2915789783000946, 0.3373747169971466, 1.2965171337127686, -0.12920275330543518, -0.9459519386291504, 0.7195358872413635, -0.3285716772079468, 0.026146888732910156, 1.8693695068359375, 0.0413668155670166, -0.7691784501075745, 0.2092657834291458, -0.7362776398658752, 1.8664647340774536, 1.7954654693603516, 1.3566944599151611, -0.1605932116508484, -0.959679365158081, 0.615792989730835, -0.34267064929008484, -0.34557443857192993, 0.9268547296524048, 0.47158655524253845, -0.1271589696407318, -1.3940221071243286, 0.7086195945739746, 1.2580398321151733, -0.9182184934616089, -0.8085180521011353, 0.05334334447979927, -0.75791996717453, 1.0900007486343384, 0.6927918791770935, 0.3846021294593811, 0.16287747025489807, 1.6025210618972778, 0.7715051174163818, -0.38343700766563416, 0.5789337158203125, 0.5177798867225647, -0.1672431379556656, -2.1484532356262207, -1.1492342948913574, 0.31901484727859497, -0.458365261554718, -1.6627848148345947, 1.3301562070846558, -1.1499223709106445, -0.9054487943649292, 0.5218150019645691, 0.07499296218156815, 1.5117521286010742, 0.3688125014305115, 1.5875216722488403, 2.1169028282165527, 0.8955237865447998, 0.40796801447868347, 1.2623505592346191, -0.08595657348632812, -0.5011815428733826, 1.741463541984558, -0.4375828802585602, 0.42445454001426697, 1.1431492567062378, -0.29315391182899475, -1.0279139280319214, -0.7508095502853394, -1.2618108987808228, -0.6982196569442749, 1.157116174697876, 0.07704196125268936, -1.1519744396209717, 0.25380006432533264, 1.5044420957565308, 0.13536551594734192, -0.3301587700843811, 0.6517316102981567, 0.43506312370300293, -0.7866427302360535, -0.07486317306756973, -0.8945640325546265, 0.4813665449619293, -0.24385522305965424, -0.4132503867149353, 0.36289846897125244, 0.31574785709381104, 1.3673813343048096, -0.01704840362071991, 0.11010745167732239, 1.1651771068572998, -1.4932665824890137, 1.4839670658111572, -0.658363938331604, 0.33148393034935, -2.344604730606079, 1.4360040426254272, -0.8007202744483948, 1.9750794172286987, -2.6438841819763184, 0.45181500911712646, -0.680209755897522, -0.45502981543540955, 0.3876313269138336, -0.3547818660736084, 0.08922629058361053, -0.11580346524715424, -1.1369959115982056, -0.09685081243515015, -0.6623703241348267, 0.6252845525741577, 1.1560490131378174, 1.3078936338424683, -1.090503454208374, -0.288870632648468, -1.7982412576675415, -0.1957411766052246, -0.5967321395874023, 0.4091588258743286, -1.9749919176101685, -0.2319369614124298, -1.9345271587371826, -2.3772594928741455, -1.245530605316162, -0.7598351836204529, 1.0911592245101929, 0.07306831330060959, -0.8628107905387878, 1.2454653978347778, -0.3994394540786743, -1.885994791984558, 1.1151542663574219, -2.1963508129119873 ]
https://github.com/huggingface/datasets/issues/4351
Add optional progress bar for .save_to_disk(..) and .load_from_disk(..) when working with remote filesystems
Hi! I like this idea. For consistency with `load_dataset`, we can use `fsspec`'s `TqdmCallback` in `.load_from_disk` to monitor the number of bytes downloaded, and in `.save_to_disk`, we can track the number of saved shards for consistency with `push_to_hub` (after we implement https://github.com/huggingface/datasets/issues/4196).
**Is your feature request related to a problem? Please describe.** When working with large datasets stored on remote filesystems(such as s3), the process of uploading a dataset could take really long time. For instance: I was uploading a re-processed version of wmt17 en-ru to my s3 bucket and it took like 35 minutes(and that's given that I have a fiber optic connection). The only output during that process was a progress bar for flattening indices and then ~35 minutes of complete silence. **Describe the solution you'd like** I want to be able to enable a progress bar when calling .save_to_disk(..) and .load_from_disk(..), it would track either amount of bytes sent/received or amount of records written/loaded, and will give some ETA. Basically just tqdm. **Describe alternatives you've considered** - Save dataset to tmp folder at the disk and then upload it using custom wrapper over botocore, which will work with progress bar, like [this](https://alexwlchan.net/2021/04/s3-progress-bars/).
759
42
Add optional progress bar for .save_to_disk(..) and .load_from_disk(..) when working with remote filesystems **Is your feature request related to a problem? Please describe.** When working with large datasets stored on remote filesystems(such as s3), the process of uploading a dataset could take really long time. For instance: I was uploading a re-processed version of wmt17 en-ru to my s3 bucket and it took like 35 minutes(and that's given that I have a fiber optic connection). The only output during that process was a progress bar for flattening indices and then ~35 minutes of complete silence. **Describe the solution you'd like** I want to be able to enable a progress bar when calling .save_to_disk(..) and .load_from_disk(..), it would track either amount of bytes sent/received or amount of records written/loaded, and will give some ETA. Basically just tqdm. **Describe alternatives you've considered** - Save dataset to tmp folder at the disk and then upload it using custom wrapper over botocore, which will work with progress bar, like [this](https://alexwlchan.net/2021/04/s3-progress-bars/). Hi! I like this idea. For consistency with `load_dataset`, we can use `fsspec`'s `TqdmCallback` in `.load_from_disk` to monitor the number of bytes downloaded, and in `.save_to_disk`, we can track the number of saved shards for consistency with `push_to_hub` (after we implement https://github.com/huggingface/datasets/issues/4196).
[ -1.2288767099380493, -0.9891650676727295, -0.7385208010673523, 1.480464220046997, -0.1441698968410492, -1.2564834356307983, 0.14698854088783264, -0.9924697279930115, 1.6510411500930786, -0.7649301290512085, 0.3657509684562683, -1.6625977754592896, 0.025745894759893417, -0.5655088424682617, -0.7631333470344543, -0.8393295407295227, -0.4303634464740753, -0.7913076281547546, 0.9770388007164001, 2.493288040161133, 1.1486581563949585, -1.4307249784469604, 2.7022645473480225, 0.6421389579772949, -0.20763921737670898, -1.072231650352478, 0.45166710019111633, 0.003975071012973785, -1.2229149341583252, -0.4868459105491638, -0.8987389206886292, -0.09814100712537766, -0.5936151742935181, -0.5278684496879578, -0.009282847866415977, 0.3924524188041687, -0.254667729139328, -0.4267643392086029, -0.5838371515274048, -0.827446460723877, 0.5126408338546753, -0.3616476356983185, 0.9032965898513794, -0.305857390165329, 1.8347889184951782, -0.6276054382324219, 0.43789026141166687, 0.6827194094657898, 1.384997844696045, 0.14353257417678833, 0.014678791165351868, 0.30959659814834595, 0.4386490285396576, -0.00018751155585050583, 0.45535728335380554, 1.2237629890441895, 0.635218620300293, 0.5259249806404114, 0.7290170192718506, -2.2182655334472656, 1.3453657627105713, -1.0864895582199097, 0.31226152181625366, 1.3347047567367554, -0.9562345147132874, 0.3522088825702667, -1.7552897930145264, -0.11425349861383438, 0.5415393114089966, -2.2592170238494873, 0.19601106643676758, -1.267821192741394, -0.49358704686164856, 0.9143593311309814, 0.28858673572540283, -1.3066542148590088, 0.17891210317611694, -0.5455595254898071, 1.0069632530212402, 0.36569398641586304, 1.0904791355133057, -1.6923089027404785, -0.07050608098506927, -0.22648394107818604, 0.08270944654941559, -1.2613143920898438, -1.5194177627563477, 0.5752341151237488, 0.6469996571540833, 0.5252288579940796, -0.11365148425102234, 1.0092650651931763, -1.0303457975387573, 0.8459795713424683, -0.9850234389305115, -1.6214064359664917, -1.4893379211425781, -2.26955509185791, -2.2341649532318115, 0.8013534545898438, -0.4632282257080078, -0.5562083721160889, 1.9261435270309448, -1.0268847942352295, -1.7635780572891235, 1.158557415008545, 0.2917941212654114, -0.012928797863423824, 2.3833987712860107, 0.1508444845676422, -0.6776041388511658, 0.44837477803230286, -0.7536167502403259, 0.8254610896110535, -0.44782617688179016, 1.438740611076355, 0.47654834389686584, -1.0103858709335327, 1.6293598413467407, -0.3750801980495453, 0.5430998802185059, -0.6218283772468567, -0.5649871826171875, -0.8443067669868469, 0.404021292924881, 1.920338749885559, -0.2598319947719574, 1.5226469039916992, -0.37676191329956055, -1.5728472471237183, -1.5555864572525024, 0.8920654654502869, 0.41135069727897644, -0.7740766406059265, 0.09895122796297073, -0.3599235713481903, 0.15758368372917175, -0.011233987286686897, 1.1684544086456299, 1.2599430084228516, 0.7415956258773804, -0.35012534260749817, -0.946364164352417, 0.21609660983085632, -0.1675819754600525, -0.707477867603302, -1.8340370655059814, -0.37585192918777466, 0.22622370719909668, 0.615782618522644, -1.197161078453064, 1.726682186126709, 0.9249447584152222, 2.012686252593994, 1.0654988288879395, -0.3623201251029968, 1.4458799362182617, 0.06439828872680664, 1.8944905996322632, -0.559320330619812, 0.7060867547988892, -0.36073338985443115, -1.0999560356140137, 0.8037424087524414, -0.34936463832855225, -2.0815417766571045, -0.6906467080116272, -0.7594382166862488, -0.23019343614578247, -0.7477259039878845, 0.9197818040847778, -0.2862313985824585, -1.3910877704620361, 0.21510803699493408, -0.6535056829452515, 0.15104451775550842, -1.1889171600341797, 0.3049282729625702, 0.7861149907112122, -0.6329292058944702, 0.018896035850048065, -0.24200880527496338, -1.3518102169036865, -0.5197585821151733, 0.30995216965675354, 1.8589158058166504, -0.73148512840271, 0.9457858800888062, 0.9324001669883728, -0.7278698086738586, 0.016661623492836952, 0.3549841344356537, -0.27741336822509766, 0.8397101759910583, -1.0123358964920044, -0.42417752742767334, 1.1738053560256958, -0.23997384309768677, -0.57398521900177, 1.392987847328186, 0.7609449028968811, -0.9224562644958496, -0.21440604329109192, -0.20040765404701233, -0.8279001116752625, 0.07543818652629852, -1.6018215417861938, -0.08217663317918777, 0.3462071418762207, -1.526611566543579, -0.4264296293258667, -0.18524545431137085, 1.2442684173583984, -0.13602197170257568, 1.369672417640686, -0.35228705406188965, -0.23759493231773376, -0.40109509229660034, -0.43325480818748474, 0.15474772453308105, -0.21920952200889587, -0.5775748491287231, 0.2552300989627838, -0.786426305770874, 0.4294695258140564, 1.4987508058547974, 0.3812084496021271, 0.059078991413116455, 0.5028725862503052, 1.1339508295059204, 0.29902610182762146, -0.049026183784008026, -0.7983261346817017, -1.5908280611038208, 2.075470447540283, -1.481856107711792, 2.0017435550689697, 0.7497533559799194, -0.04752207547426224, -1.7611949443817139, -1.8368194103240967, 1.2848162651062012, 1.1909704208374023, 2.361659288406372, 0.581825315952301, 0.38100507855415344, -0.8306472301483154, -0.6650528311729431, 0.2927995026111603, -1.0594005584716797, -0.7171892523765564, 0.07220840454101562, 2.365346670150757, 1.8034775257110596, -0.56064373254776, -0.14594238996505737, -1.1439971923828125, 1.4604144096374512, -0.18150025606155396, 0.17740973830223083, 1.995666265487671, -0.29165324568748474, -1.0524499416351318, 1.31693434715271, -2.3365957736968994, 0.22794795036315918, 1.9935972690582275, 0.35898107290267944, 0.05112741142511368, -1.3834093809127808, -0.6130940318107605, -0.2759682536125183, -0.2727058231830597, -1.254082202911377, 0.5060256719589233, -0.2786707282066345, -0.8417320847511292, -1.422255516052246, 0.12563630938529968, -1.1042791604995728, -1.6391537189483643, 0.3502599895000458, 1.8205833435058594, 2.0268476009368896, -0.6755592823028564, 1.5023506879806519, -0.26888763904571533, 0.12437646836042404, 1.2080738544464111, 1.1933634281158447, 3.1185827255249023, 1.996053695678711, -1.2086900472640991, 0.6176841855049133, -0.21886548399925232, -0.4613807201385498, 1.1344987154006958, -1.1902129650115967, 1.3406749963760376, -0.11056068539619446, -1.149038553237915, -1.2146621942520142, 1.0150882005691528, 0.45354869961738586, 0.05285722017288208, -0.4899299442768097, 1.152508020401001, 0.11200810968875885, 1.2709449529647827, 0.5464672446250916, -0.35666051506996155, 0.6129375100135803, -0.42730629444122314, -0.5608583688735962, 1.6291210651397705, 0.23550748825073242, -1.445233702659607, -2.253263473510742, -0.2021496593952179, -0.8211701512336731, 0.049102023243904114, -0.6236755847930908, -0.9666169881820679, 1.702325463294983, 0.3848426043987274, -1.3270044326782227, -0.23607894778251648, -0.38054168224334717, -0.6627049446105957, 2.6817514896392822, -1.4217240810394287, -0.2583841383457184, -0.981885552406311, -0.5980295538902283, 1.5509388446807861, -1.2476222515106201, -0.2013413906097412, -1.004499077796936, -0.592394232749939, -1.2043753862380981, -0.5418750643730164, -0.029430467635393143, -0.8715479969978333, 0.7399502396583557, 0.1696595847606659, -1.1782770156860352, -0.3940122425556183, -0.8942917585372925, 0.8195787072181702, -0.1438218653202057, 0.22677096724510193, 1.7965377569198608, 0.38788533210754395, -0.35908421874046326, 0.7128254771232605, 1.1685004234313965, 0.6060794591903687, -0.65879225730896, 0.22493243217468262, -0.6389379501342773, 0.27052775025367737, -1.2945858240127563, 0.40872400999069214, -2.8609189987182617, 0.6750015616416931, -0.06694376468658447, -0.11146651208400726, -0.005663673393428326, -1.3316372632980347, 1.0922305583953857, 2.6030547618865967, -1.1729769706726074, 0.4354169964790344, 0.27435028553009033, 1.1377317905426025, -1.5466052293777466, 0.3542653024196625, -0.37547966837882996, 2.1752681732177734, 0.24271836876869202, 1.140987515449524, -0.5969868898391724, -2.259512424468994, 0.5506740808486938, -1.187654733657837, -1.1469509601593018, 0.7000541687011719, -0.8680733442306519, 0.04573982208967209, -1.39915931224823, -0.21029961109161377, -0.9150754809379578, -1.1873128414154053, 0.6922726035118103, 0.18181470036506653, 0.43977639079093933, -0.5907795429229736, 0.3124352693557739, -2.231722354888916, -1.3730920553207397, -0.2637225091457367, -0.9604891538619995, 0.5292596817016602, -0.34182208776474, 0.6713964939117432, -0.15519770979881287, 0.011628743261098862, 0.2835999131202698, 1.5133291482925415, 3.3739521503448486, 0.17155545949935913, 0.44360217452049255, -0.13735881447792053, -0.8968772292137146, 1.4207159280776978, 0.9006950259208679, -0.06641749292612076, -0.5187826156616211, -1.0137883424758911, 1.3106504678726196, 1.966564416885376, 0.9906787276268005, 0.03781573846936226, -0.784416139125824, -0.7035672068595886, -0.05727047100663185, 0.15243476629257202, 0.4640730023384094, 0.9213293790817261, 0.06363986432552338, 0.11678934842348099, 1.426477074623108, 1.3082894086837769, -0.4746297001838684, 0.3290085792541504, -0.8264585733413696, -0.3610673248767853, 0.4493546187877655, 0.3454880714416504, -0.06378443539142609, 0.32690468430519104, -1.0406880378723145, -0.19020280241966248, -0.3637655973434448, -0.9697140455245972, -0.7490499019622803, -0.4590284824371338, -0.435360312461853, 1.6852132081985474, 0.16882765293121338, -0.5066511034965515, -0.053334418684244156, -0.702456533908844, -0.040086232125759125, -1.0444893836975098, 0.27536651492118835, -0.061298977583646774, -0.07625694572925568, -0.11037696897983551, 1.815401315689087, -0.8663290143013, -2.158287763595581, 0.24490365386009216, 0.20998576283454895, -0.44911861419677734, 0.19976502656936646, 1.5673608779907227, 0.5319356322288513, 1.4590398073196411, 1.4437205791473389, 1.0079467296600342, -0.675877571105957, -1.2729007005691528, 0.7379677295684814, 0.9200833439826965, -1.4740991592407227, 0.8113086223602295, 0.03604751452803612, -0.45773884654045105, 0.7568745613098145, 1.3024494647979736, 0.4220329225063324, -2.086683511734009, 0.7760823369026184, -0.9403197765350342, 0.8060328960418701, 0.7326123714447021, 0.6738483309745789, 0.2710457444190979, 0.8443509936332703, -1.3038626909255981, -1.1779723167419434, -0.7989910840988159, -0.6953878402709961, 1.9217087030410767, -0.25288838148117065, 0.5854892134666443, -0.17158332467079163, -1.2813140153884888, -0.10886989533901215, 0.7703337669372559, 0.37633901834487915, -0.427931547164917, 0.8406778573989868, -0.6663694381713867, -1.1357594728469849, -1.3509365320205688, -0.4516836106777191, -1.0221587419509888, -0.9654465317726135, 1.0251059532165527, 0.8248779773712158, 0.3596487045288086, 1.9418693780899048, 0.6181033253669739, 0.24125254154205322, -2.6697070598602295, 0.850409746170044, 0.2846114933490753, -0.0067520528100430965, 0.8433572053909302, 0.3191966414451599, 1.0451006889343262, -0.004112663213163614, 0.5712727904319763, -2.4272964000701904, 2.2635762691497803, -0.24843138456344604, 0.7458743453025818, -0.09420698136091232, -0.13468143343925476, 1.1032207012176514, 0.5871279239654541, 0.5916590094566345, -1.1049890518188477, 0.6789981722831726, -0.5855403542518616, 1.2195022106170654, 0.8417232632637024, -0.7849835753440857, -0.05296294391155243, 1.3905103206634521, 0.4911675751209259, -0.49116450548171997, -0.9384844303131104, -0.915371835231781, 0.8236303925514221, 1.76865816116333, -0.05171455070376396, 0.038225360214710236, 0.8444041013717651, 0.6906121373176575, -1.3459062576293945, 0.07022745162248611, -0.7252235412597656, -0.7330014705657959, 1.7013145685195923, 2.049537181854248, -0.11583491414785385, -0.1660488247871399, -0.697043776512146, -1.2848124504089355, 0.7424106597900391, 0.028277482837438583, 0.14954325556755066, 0.646833598613739, -0.6527218818664551, 1.0904927253723145, 0.8102642893791199, 0.9351226091384888, 0.1591753363609314, 0.2881147861480713, 0.4124230742454529, -0.40126678347587585, -1.1661393642425537, -0.3281944990158081, -1.1771637201309204, -2.5828821659088135, 0.4353589117527008, -0.21910631656646729, -1.5697400569915771, 0.058290496468544006, -1.0361099243164062, 0.8493741154670715, -0.6193816065788269, -1.1121245622634888, -1.5435864925384521, 0.2379869520664215, -0.0908016562461853, 0.9124340415000916, -1.6242667436599731, -0.1049295961856842, 1.1080855131149292, 0.860459566116333, -0.5344551801681519, 1.032103180885315, 0.2492954432964325, 1.0327999591827393, 0.8818897604942322, -0.4020847976207733, 0.4508307874202728, 0.09946096688508987, -1.3247517347335815, 0.48384639620780945, 1.166434645652771, 0.15515178442001343, 1.3988916873931885, -0.5809237360954285, 0.12013357132673264, 0.4002732038497925, -0.5484098792076111, -0.4526421129703522, -0.43249383568763733, 0.6793196201324463, 0.025251656770706177, -0.9005483984947205, 0.04376092553138733, -0.0744670107960701, -0.20416662096977234, 0.1813001036643982, -1.4912443161010742, -0.21215853095054626, -0.4478845000267029, -0.5718123912811279, -1.2607568502426147, -0.02761387825012207, 1.4019997119903564, -0.7159423232078552, -0.1475188136100769, 0.5479751229286194, 0.4245895743370056, 0.5408937335014343, 0.6867207884788513, -0.5929474830627441, -0.28596290946006775, -0.3083832263946533, -0.3336702883243561, 0.3075573146343231, 1.2865707874298096, -0.13831543922424316, -0.877180814743042, 0.7713624238967896, -0.4577135741710663, 0.05164821445941925, 1.9282383918762207, 0.12724992632865906, -0.7595541477203369, 0.3193332552909851, -0.7072485089302063, 1.8990020751953125, 1.719791054725647, 1.3197482824325562, -0.0724916160106659, -0.9689732789993286, 0.6106137633323669, -0.26159605383872986, -0.38233473896980286, 0.8680952787399292, 0.49297401309013367, -0.18684738874435425, -1.3576229810714722, 0.668088436126709, 1.3488588333129883, -0.8369521498680115, -0.8391907811164856, 0.10802491009235382, -0.8363694548606873, 1.0968979597091675, 0.6584048271179199, 0.4386909306049347, 0.2599339485168457, 1.6598378419876099, 0.7682226896286011, -0.4244776666164398, 0.5974903702735901, 0.5694971680641174, -0.20391851663589478, -2.138699769973755, -1.194441795349121, 0.2439580261707306, -0.4834754765033722, -1.5801936388015747, 1.3077412843704224, -1.1456670761108398, -0.9912163019180298, 0.5802111625671387, 0.1363239884376526, 1.4551695585250854, 0.385078102350235, 1.5516282320022583, 2.1128153800964355, 0.8289707899093628, 0.3948359787464142, 1.3463478088378906, -0.07943397760391235, -0.5259648561477661, 1.8858901262283325, -0.4183928668498993, 0.5116868019104004, 1.1479060649871826, -0.30915936827659607, -1.0852922201156616, -0.8168172836303711, -1.1308192014694214, -0.6238173246383667, 1.1233817338943481, 0.14313465356826782, -1.0883893966674805, 0.20654380321502686, 1.576252818107605, 0.16571292281150818, -0.3614494204521179, 0.568615734577179, 0.3740277588367462, -0.7196903824806213, -0.060420289635658264, -0.9712450504302979, 0.5184136033058167, -0.2433854043483734, -0.4073735475540161, 0.31970345973968506, 0.46931418776512146, 1.1355695724487305, -0.08513157814741135, 0.11164811998605728, 1.1388506889343262, -1.4740219116210938, 1.4707872867584229, -0.6177034974098206, 0.32972797751426697, -2.324913501739502, 1.4705146551132202, -0.7323097586631775, 1.94001305103302, -2.623129367828369, 0.37044379115104675, -0.6310469508171082, -0.4781884551048279, 0.36678940057754517, -0.3651374280452728, 0.14133116602897644, -0.16053733229637146, -1.1515039205551147, -0.02267840877175331, -0.6876447200775146, 0.5215189456939697, 1.1693333387374878, 1.335970163345337, -1.0545204877853394, -0.29023218154907227, -1.746363878250122, -0.12372928112745285, -0.6936947703361511, 0.3370763659477234, -2.016357421875, -0.22411924600601196, -1.9142167568206787, -2.2367281913757324, -1.3322012424468994, -0.8912922739982605, 0.9756278395652771, 0.08056522905826569, -0.850985586643219, 1.131710171699524, -0.3906181752681732, -1.8641899824142456, 1.0902817249298096, -2.2381234169006348 ]
https://github.com/huggingface/datasets/issues/4349
Dataset.map()'s fails at any value of parameter writer_batch_size
Note that this same issue occurs even if i preprocess with the more default way of tokenizing that uses LayoutLMv2Processor's internal OCR: ```python feature_extractor = LayoutLMv2FeatureExtractor() tokenizer = LayoutLMv2Tokenizer.from_pretrained("microsoft/layoutlmv2-base-uncased") processor = LayoutLMv2Processor(feature_extractor, tokenizer) encoded_inputs = processor(images, padding="max_length", truncation=True) encoded_inputs["image"] = np.array(encoded_inputs["image"]) encoded_inputs["label"] = examples['label_id'] ```
## Describe the bug If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance. Context: I am attempting to fine-tune a pre-trained HuggingFace transformers model called LayoutLMv2. This model takes three inputs: document images, words and word bounding boxes. [The Processor for this model has two options](https://huggingface.co/docs/transformers/model_doc/layoutlmv2#usage-layoutlmv2processor), the default is passing a document to the Processor and allowing it to create images of the document and use PyTesseract to perform OCR and generate words/bounding boxes. The other option is to provide `revision="no_ocr"` to the pre-trained model which allows you to use your own OCR results (in my case, Amazon Textract) so you have to provide the image, words and bounding boxes yourself. I am using this second option which might be good context for the bug. I am using the Dataset.map() paradigm to create these three inputs, encode them and save the dataset. Note that my documents (data instances) on average are fairly large and can range from 1 page up to 300 pages. Code I am using is provided below ## Steps to reproduce the bug I do not have explicit sample code, but I will paste the code I'm using in case reading it helps. When `.map()` is called, the dataset has 2933 rows, many of which represent large pdf documents. ```python def get_encoded_data(data): dataset = Dataset.from_pandas(data) unique_labels = data['label'].unique() features = Features({ 'image': Array3D(dtype="int64", shape=(3, 224, 224)), 'input_ids': Sequence(feature=Value(dtype='int64')), 'attention_mask': Sequence(Value(dtype='int64')), 'token_type_ids': Sequence(Value(dtype='int64')), 'bbox': Array2D(dtype="int64", shape=(512, 4)), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) encoded_dataset = dataset.map(preprocess_data, features=features, remove_columns=dataset.column_names, writer_batch_size=dataset.num_rows+1) encoded_dataset.save_to_disk(TRAINING_DATA_PATH + ENCODED_DATASET_NAME) encoded_dataset.set_format(type="torch") return encoded_dataset ``` ```python PROCESSOR = LayoutLMv2Processor.from_pretrained(MODEL_PATH, revision="no_ocr", use_fast=False) def preprocess_data(examples): directory = os.path.join(FILES_PATH, examples['file_location']) images_dir = os.path.join(directory, PDF_IMAGE_DIR) textract_response_path = os.path.join(directory, 'textract.json') doc_meta_path = os.path.join(directory, 'doc_meta.json') textract_document = get_textract_document(textract_response_path, doc_meta_path) images, words, bboxes = get_doc_training_data(images_dir, textract_document) encoded_inputs = PROCESSOR(images, words, boxes=bboxes, padding="max_length", truncation=True) # https://github.com/NielsRogge/Transformers-Tutorials/issues/36 encoded_inputs["image"] = np.array(encoded_inputs["image"]) encoded_inputs["label"] = examples['label_id'] return encoded_inputs ``` ## Expected results My expectation is that `writer_batch_size` allows one to simply trade off performance and memory requirements, not that it must be a specific number for `.map()` to function correctly. ## Actual results If writer_batch_size is set to a value less than the number of rows, I get either: ``` OverflowError: There was an overflow with type <class 'list'>. Try to reduce writer_batch_size to have batches smaller than 2GB. (offset overflow while concatenating arrays) ``` or simply ``` zsh: killed python doc_classification.py UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown ``` If it is greater than the number of rows, i get the `zsh: killed` error above ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.1.0 - Platform: macOS-12.2.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 6.0.1 - Pandas version: 1.4.2
760
45
Dataset.map()'s fails at any value of parameter writer_batch_size ## Describe the bug If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance. Context: I am attempting to fine-tune a pre-trained HuggingFace transformers model called LayoutLMv2. This model takes three inputs: document images, words and word bounding boxes. [The Processor for this model has two options](https://huggingface.co/docs/transformers/model_doc/layoutlmv2#usage-layoutlmv2processor), the default is passing a document to the Processor and allowing it to create images of the document and use PyTesseract to perform OCR and generate words/bounding boxes. The other option is to provide `revision="no_ocr"` to the pre-trained model which allows you to use your own OCR results (in my case, Amazon Textract) so you have to provide the image, words and bounding boxes yourself. I am using this second option which might be good context for the bug. I am using the Dataset.map() paradigm to create these three inputs, encode them and save the dataset. Note that my documents (data instances) on average are fairly large and can range from 1 page up to 300 pages. Code I am using is provided below ## Steps to reproduce the bug I do not have explicit sample code, but I will paste the code I'm using in case reading it helps. When `.map()` is called, the dataset has 2933 rows, many of which represent large pdf documents. ```python def get_encoded_data(data): dataset = Dataset.from_pandas(data) unique_labels = data['label'].unique() features = Features({ 'image': Array3D(dtype="int64", shape=(3, 224, 224)), 'input_ids': Sequence(feature=Value(dtype='int64')), 'attention_mask': Sequence(Value(dtype='int64')), 'token_type_ids': Sequence(Value(dtype='int64')), 'bbox': Array2D(dtype="int64", shape=(512, 4)), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) encoded_dataset = dataset.map(preprocess_data, features=features, remove_columns=dataset.column_names, writer_batch_size=dataset.num_rows+1) encoded_dataset.save_to_disk(TRAINING_DATA_PATH + ENCODED_DATASET_NAME) encoded_dataset.set_format(type="torch") return encoded_dataset ``` ```python PROCESSOR = LayoutLMv2Processor.from_pretrained(MODEL_PATH, revision="no_ocr", use_fast=False) def preprocess_data(examples): directory = os.path.join(FILES_PATH, examples['file_location']) images_dir = os.path.join(directory, PDF_IMAGE_DIR) textract_response_path = os.path.join(directory, 'textract.json') doc_meta_path = os.path.join(directory, 'doc_meta.json') textract_document = get_textract_document(textract_response_path, doc_meta_path) images, words, bboxes = get_doc_training_data(images_dir, textract_document) encoded_inputs = PROCESSOR(images, words, boxes=bboxes, padding="max_length", truncation=True) # https://github.com/NielsRogge/Transformers-Tutorials/issues/36 encoded_inputs["image"] = np.array(encoded_inputs["image"]) encoded_inputs["label"] = examples['label_id'] return encoded_inputs ``` ## Expected results My expectation is that `writer_batch_size` allows one to simply trade off performance and memory requirements, not that it must be a specific number for `.map()` to function correctly. ## Actual results If writer_batch_size is set to a value less than the number of rows, I get either: ``` OverflowError: There was an overflow with type <class 'list'>. Try to reduce writer_batch_size to have batches smaller than 2GB. (offset overflow while concatenating arrays) ``` or simply ``` zsh: killed python doc_classification.py UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown ``` If it is greater than the number of rows, i get the `zsh: killed` error above ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.1.0 - Platform: macOS-12.2.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 6.0.1 - Pandas version: 1.4.2 Note that this same issue occurs even if i preprocess with the more default way of tokenizing that uses LayoutLMv2Processor's internal OCR: ```python feature_extractor = LayoutLMv2FeatureExtractor() tokenizer = LayoutLMv2Tokenizer.from_pretrained("microsoft/layoutlmv2-base-uncased") processor = LayoutLMv2Processor(feature_extractor, tokenizer) encoded_inputs = processor(images, padding="max_length", truncation=True) encoded_inputs["image"] = np.array(encoded_inputs["image"]) encoded_inputs["label"] = examples['label_id'] ```
[ -1.25897216796875, -0.9736562371253967, -0.7583965063095093, 1.5511164665222168, -0.21435335278511047, -1.256626844406128, 0.06937089562416077, -1.0330222845077515, 1.6731901168823242, -0.8561477065086365, 0.33457037806510925, -1.6195642948150635, 0.09062574803829193, -0.5467575192451477, -0.7664734721183777, -0.9078165292739868, -0.4079038202762604, -0.8212041854858398, 1.0962283611297607, 2.4919161796569824, 1.2359949350357056, -1.5247784852981567, 2.7609620094299316, 0.6780800819396973, -0.1461634486913681, -1.0473593473434448, 0.5495635271072388, -0.06353496015071869, -1.3208576440811157, -0.5337110161781311, -0.9726272821426392, -0.039313141256570816, -0.5211496353149414, -0.560425877571106, -0.016638729721307755, 0.4362662434577942, -0.2594316899776459, -0.5130680799484253, -0.5141150951385498, -0.750889241695404, 0.5143488049507141, -0.34098687767982483, 0.8714966773986816, -0.2908755838871002, 1.8191176652908325, -0.44849660992622375, 0.38031867146492004, 0.688669741153717, 1.4149999618530273, 0.1953354775905609, -0.0742904543876648, 0.39227086305618286, 0.370699942111969, -0.015681346878409386, 0.5209468603134155, 1.2153831720352173, 0.6891639828681946, 0.5004153251647949, 0.8035368919372559, -2.2336807250976562, 1.3509997129440308, -1.1139798164367676, 0.3783167600631714, 1.2711278200149536, -1.0192393064498901, 0.3094737231731415, -1.7534513473510742, -0.10222885012626648, 0.567186176776886, -2.164032220840454, 0.24848513305187225, -1.2563045024871826, -0.4358200132846832, 0.9770901799201965, 0.31635770201683044, -1.287237286567688, 0.166367769241333, -0.46925199031829834, 1.059696078300476, 0.4714924097061157, 1.1425933837890625, -1.662490725517273, -0.006450592540204525, -0.30196845531463623, 0.15076971054077148, -1.260032057762146, -1.6019006967544556, 0.5371491312980652, 0.5675166845321655, 0.5564674139022827, -0.13069042563438416, 1.063888430595398, -1.0242482423782349, 0.7847479581832886, -0.9794402122497559, -1.7000240087509155, -1.4417552947998047, -2.2308030128479004, -2.25353741645813, 0.7287023663520813, -0.520753026008606, -0.5609622597694397, 2.086165189743042, -1.0481839179992676, -1.7721874713897705, 1.1414684057235718, 0.28553053736686707, 0.013932611793279648, 2.375826835632324, 0.15759678184986115, -0.7410280108451843, 0.4527588188648224, -0.7140451669692993, 0.8017878532409668, -0.344491183757782, 1.3649007081985474, 0.4034171998500824, -1.0169146060943604, 1.5948389768600464, -0.35096126794815063, 0.549924910068512, -0.5851618051528931, -0.487675279378891, -0.7809721827507019, 0.37795644998550415, 1.891674280166626, -0.3651352524757385, 1.572021722793579, -0.4231608211994171, -1.5447125434875488, -1.6069791316986084, 0.9296532273292542, 0.4884273111820221, -0.7928199172019958, 0.13947822153568268, -0.38583776354789734, 0.1041206568479538, -0.005169661715626717, 1.1669304370880127, 1.2977774143218994, 0.6509414315223694, -0.3638976514339447, -0.8767713904380798, 0.13924072682857513, -0.13187888264656067, -0.591712236404419, -1.801626443862915, -0.33646535873413086, 0.10683535039424896, 0.6765260100364685, -1.1836583614349365, 1.6653785705566406, 0.9833858609199524, 1.9232858419418335, 1.0467276573181152, -0.33538317680358887, 1.4789162874221802, 0.10266730189323425, 1.831602931022644, -0.5302596688270569, 0.6476383209228516, -0.40740376710891724, -1.1620408296585083, 0.8556035757064819, -0.34521588683128357, -2.006819725036621, -0.7964944243431091, -0.7673978209495544, -0.21662569046020508, -0.7945572137832642, 0.9690441489219666, -0.29706010222435, -1.3742774724960327, 0.25444260239601135, -0.7242187261581421, 0.12638285756111145, -1.1487154960632324, 0.34872713685035706, 0.7401158809661865, -0.6593077778816223, 0.09657976031303406, -0.2577115297317505, -1.2978312969207764, -0.5099140405654907, 0.36524420976638794, 1.8467389345169067, -0.8196544051170349, 0.8651139140129089, 1.083544135093689, -0.6556012034416199, 0.016680443659424782, 0.2799365222454071, -0.30641454458236694, 0.8690338134765625, -1.0310842990875244, -0.46582189202308655, 1.1367286443710327, -0.22187842428684235, -0.5729385018348694, 1.4128042459487915, 0.6850627660751343, -0.9872748851776123, -0.19890916347503662, -0.1126265823841095, -0.9452165365219116, -0.010032505728304386, -1.5252066850662231, -0.17774701118469238, 0.3849518895149231, -1.576395034790039, -0.4857323467731476, -0.21985389292240143, 1.282677173614502, -0.1638369858264923, 1.5154297351837158, -0.39746201038360596, -0.1691465675830841, -0.299233615398407, -0.32482221722602844, 0.19034349918365479, -0.18920350074768066, -0.6574546694755554, 0.22755038738250732, -0.8650679588317871, 0.3405311107635498, 1.4115920066833496, 0.4003872573375702, 0.004912861622869968, 0.48710155487060547, 1.1649889945983887, 0.4047691524028778, -0.014326786622405052, -0.8185634613037109, -1.586113691329956, 2.083832025527954, -1.494301199913025, 1.9845272302627563, 0.7750041484832764, -0.022648733109235764, -1.792612910270691, -1.7760627269744873, 1.3787645101547241, 1.1309599876403809, 2.353294610977173, 0.600594699382782, 0.35850921273231506, -0.8210722208023071, -0.6283755898475647, 0.38546085357666016, -1.0183035135269165, -0.7311711311340332, 0.055227670818567276, 2.401475667953491, 1.756075143814087, -0.4015364944934845, -0.17118947207927704, -0.9607447385787964, 1.4069057703018188, -0.1403726190328598, 0.2279324233531952, 1.9673354625701904, -0.18199217319488525, -1.0602924823760986, 1.3193681240081787, -2.336916446685791, 0.17703279852867126, 2.091620445251465, 0.29276230931282043, 0.029985636472702026, -1.4183034896850586, -0.6046811938285828, -0.20239096879959106, -0.4797457754611969, -1.2901257276535034, 0.5356468558311462, -0.3118101954460144, -0.8094314932823181, -1.487101435661316, 0.11512888967990875, -1.1857200860977173, -1.6375030279159546, 0.31227633357048035, 1.928590178489685, 2.1096575260162354, -0.6627636551856995, 1.635941982269287, -0.288779616355896, 0.2543674409389496, 1.210767149925232, 1.198398232460022, 3.0753726959228516, 1.88967764377594, -1.2866547107696533, 0.5486850738525391, -0.10868200659751892, -0.49056383967399597, 1.106223702430725, -1.1340614557266235, 1.300517201423645, -0.08063679933547974, -1.1810858249664307, -1.165259838104248, 1.0296679735183716, 0.49988362193107605, 0.07145136594772339, -0.4790939688682556, 1.2052853107452393, 0.030856143683195114, 1.227247953414917, 0.5628440976142883, -0.32639509439468384, 0.5716257691383362, -0.4025571048259735, -0.6209354996681213, 1.534801721572876, 0.16523705422878265, -1.3713502883911133, -2.263920307159424, -0.19312423467636108, -0.78364497423172, 0.06398573517799377, -0.5838238596916199, -0.9501758217811584, 1.6124491691589355, 0.3458173871040344, -1.259543776512146, -0.3097415566444397, -0.40136849880218506, -0.6183016300201416, 2.6297600269317627, -1.3444530963897705, -0.23592600226402283, -0.975946307182312, -0.6632393002510071, 1.5801490545272827, -1.1907185316085815, -0.20083707571029663, -1.0186128616333008, -0.5950502753257751, -1.295287013053894, -0.6048128604888916, 0.011488689109683037, -0.8713889718055725, 0.805494487285614, 0.24565519392490387, -1.1738996505737305, -0.2976774275302887, -0.8119038343429565, 0.8751006126403809, -0.1609492152929306, 0.21980029344558716, 1.8459221124649048, 0.36323851346969604, -0.43051642179489136, 0.7834619283676147, 1.1449025869369507, 0.624089777469635, -0.5691666007041931, 0.1278647780418396, -0.6165252327919006, 0.30275511741638184, -1.2861688137054443, 0.34226930141448975, -2.848294973373413, 0.609748363494873, -0.026227852329611778, -0.06360456347465515, 0.012493101879954338, -1.32886803150177, 1.048210620880127, 2.6052796840667725, -1.186423897743225, 0.48056939244270325, 0.35865843296051025, 1.1870996952056885, -1.6137137413024902, 0.3536217212677002, -0.4569399058818817, 2.1831250190734863, 0.21675077080726624, 1.2133276462554932, -0.4853419065475464, -2.290235757827759, 0.5734135508537292, -1.2406471967697144, -1.157841682434082, 0.6993257999420166, -0.90419602394104, 0.06443548202514648, -1.5040125846862793, -0.2371150255203247, -0.8616888523101807, -1.15098237991333, 0.6969316601753235, 0.1472603976726532, 0.3336435556411743, -0.5701878070831299, 0.313302218914032, -2.129516839981079, -1.3739924430847168, -0.19438032805919647, -0.9398949146270752, 0.49093106389045715, -0.4026017189025879, 0.6842077970504761, -0.10051475465297699, 0.01127585768699646, 0.3312201499938965, 1.3969777822494507, 3.3643391132354736, 0.21293430030345917, 0.3705510199069977, -0.23840679228305817, -0.9207557439804077, 1.5164892673492432, 0.9243952035903931, -0.18127229809761047, -0.5685828924179077, -1.0605039596557617, 1.3231244087219238, 1.9537261724472046, 0.906034529209137, 0.042513445019721985, -0.7827684283256531, -0.699658989906311, -0.04187452793121338, 0.18386965990066528, 0.5304148197174072, 0.864538311958313, 0.06823104619979858, 0.0864725261926651, 1.484998106956482, 1.209636926651001, -0.49933692812919617, 0.4015851318836212, -0.8582859039306641, -0.4189394414424896, 0.41906940937042236, 0.28987741470336914, -0.04104389622807503, 0.32056915760040283, -0.937212347984314, -0.30634015798568726, -0.41959163546562195, -0.8831735253334045, -0.6798772811889648, -0.423608660697937, -0.32671380043029785, 1.6614220142364502, 0.20936790108680725, -0.6093133091926575, -0.10778340697288513, -0.8110847473144531, -0.17889657616615295, -1.1072320938110352, 0.275000661611557, -0.12393048405647278, -0.10333582758903503, -0.1068456768989563, 1.7672147750854492, -0.8735277056694031, -2.1799163818359375, 0.22168469429016113, 0.20012377202510834, -0.27769801020622253, 0.18875358998775482, 1.6461721658706665, 0.5378871560096741, 1.3937441110610962, 1.3417015075683594, 0.9674488306045532, -0.6199609041213989, -1.3182814121246338, 0.6953264474868774, 0.9962444305419922, -1.4669804573059082, 0.7659622430801392, -0.043075013905763626, -0.5445041060447693, 0.6899259686470032, 1.2923439741134644, 0.49777331948280334, -2.0734269618988037, 0.8943943381309509, -0.9296919703483582, 0.7893490791320801, 0.7173145413398743, 0.6336421370506287, 0.23624849319458008, 0.851961612701416, -1.263289451599121, -1.1780481338500977, -0.7771839499473572, -0.7320042848587036, 1.9973772764205933, -0.3256019353866577, 0.5665120482444763, -0.16907194256782532, -1.3736764192581177, -0.16982680559158325, 0.6458282470703125, 0.29062649607658386, -0.4432852864265442, 0.850822925567627, -0.6864508986473083, -1.1768795251846313, -1.4419275522232056, -0.42630231380462646, -0.9542816281318665, -0.9790540337562561, 1.0551209449768066, 0.810261070728302, 0.2561279237270355, 1.8967111110687256, 0.5966175198554993, 0.19588184356689453, -2.585432529449463, 0.9516775012016296, 0.3074168562889099, -0.08223482966423035, 0.863290548324585, 0.335676908493042, 1.0118508338928223, 0.047384146600961685, 0.5237991809844971, -2.449676036834717, 2.258573532104492, -0.1981150209903717, 0.764961302280426, -0.01574018783867359, -0.256526380777359, 1.1558058261871338, 0.5163029432296753, 0.6287287473678589, -1.0470976829528809, 0.6767749190330505, -0.6078060269355774, 1.2146121263504028, 0.927405595779419, -0.809231162071228, -0.07254023849964142, 1.3386130332946777, 0.4378241300582886, -0.5520976185798645, -0.9514764547348022, -0.9494333267211914, 0.9330958724021912, 1.7621264457702637, -0.04827091097831726, 0.05901552364230156, 0.7798187732696533, 0.6473488211631775, -1.2625045776367188, 0.11683578789234161, -0.6946225762367249, -0.8314641714096069, 1.6213922500610352, 2.0453176498413086, -0.21174821257591248, -0.17880168557167053, -0.6470606923103333, -1.3545103073120117, 0.7621699571609497, -0.07282735407352448, 0.1343064308166504, 0.6327678561210632, -0.6648952960968018, 1.0248770713806152, 0.9240574836730957, 0.9152640700340271, 0.09304830431938171, 0.2742326855659485, 0.4280011057853699, -0.31380337476730347, -1.033408522605896, -0.22326692938804626, -1.1081759929656982, -2.4881911277770996, 0.37054169178009033, -0.1789729744195938, -1.4088027477264404, 0.06735338270664215, -0.9631847143173218, 0.9308080673217773, -0.5086469650268555, -1.179240107536316, -1.4595248699188232, 0.1501874029636383, -0.049321725964546204, 0.9213314056396484, -1.5668227672576904, -0.10778528451919556, 1.2059314250946045, 0.8805606365203857, -0.6323967576026917, 1.0601963996887207, 0.2550005316734314, 1.0127912759780884, 0.8293588161468506, -0.41835179924964905, 0.4755624234676361, 0.08698154985904694, -1.335988998413086, 0.464534729719162, 1.1714335680007935, 0.15030960738658905, 1.4415749311447144, -0.5161910057067871, -0.0009153960272669792, 0.4317190945148468, -0.5635441541671753, -0.4578087031841278, -0.47572797536849976, 0.6869550943374634, 0.0026034582406282425, -0.8193466067314148, 0.028762929141521454, -0.010794577188789845, -0.29475998878479004, 0.15089860558509827, -1.5009814500808716, -0.14862775802612305, -0.395573228597641, -0.5920485854148865, -1.2585238218307495, -0.04150419682264328, 1.363556981086731, -0.7293006777763367, -0.29438501596450806, 0.4734713137149811, 0.4482490122318268, 0.5012732744216919, 0.6465684771537781, -0.6421356201171875, -0.3371354639530182, -0.19049875438213348, -0.33853957056999207, 0.2863319516181946, 1.3053691387176514, -0.13293664157390594, -0.9708569645881653, 0.6961480379104614, -0.37269818782806396, 0.015219511464238167, 1.887585163116455, 0.05913658067584038, -0.7622119188308716, 0.28845182061195374, -0.7595148086547852, 1.9450812339782715, 1.7422376871109009, 1.4123508930206299, -0.13953177630901337, -0.9127258658409119, 0.6197271347045898, -0.32501301169395447, -0.3965897560119629, 0.9115726351737976, 0.4279373288154602, -0.1448863297700882, -1.4256649017333984, 0.6490936279296875, 1.2652212381362915, -0.8984401822090149, -0.7414612174034119, 0.11167894303798676, -0.778155505657196, 1.123316764831543, 0.6555609107017517, 0.41547128558158875, 0.23462563753128052, 1.6359812021255493, 0.7987842559814453, -0.4547819197177887, 0.5072164535522461, 0.600628137588501, -0.15385156869888306, -2.183232545852661, -1.1504484415054321, 0.3035666048526764, -0.4746381938457489, -1.5809530019760132, 1.3404037952423096, -1.1688793897628784, -0.9661926627159119, 0.5170718431472778, 0.0028085941448807716, 1.3831920623779297, 0.38294875621795654, 1.55730402469635, 2.0474536418914795, 0.8370591998100281, 0.4015195965766907, 1.2586661577224731, -0.13221876323223114, -0.4190422296524048, 1.8457589149475098, -0.4304603338241577, 0.45672956109046936, 1.1297403573989868, -0.3052600026130676, -1.150307536125183, -0.7271786332130432, -1.2718088626861572, -0.6564782857894897, 1.1304905414581299, 0.06757563352584839, -1.1119043827056885, 0.2709465026855469, 1.6098567247390747, 0.12924225628376007, -0.32988494634628296, 0.5487927198410034, 0.5117547512054443, -0.768129825592041, -0.08184446394443512, -0.9082704186439514, 0.5300318002700806, -0.21665678918361664, -0.4057484567165375, 0.40135905146598816, 0.4046059846878052, 1.2974083423614502, -0.05455036833882332, 0.10979834198951721, 1.1692224740982056, -1.4143270254135132, 1.5404353141784668, -0.6521878838539124, 0.24616797268390656, -2.4091923236846924, 1.3999111652374268, -0.7459032535552979, 1.9990676641464233, -2.666926622390747, 0.44068944454193115, -0.670932412147522, -0.4738788306713104, 0.37580981850624084, -0.3231883943080902, 0.00799284502863884, -0.12167157232761383, -1.1200075149536133, -0.06279866397380829, -0.6103615164756775, 0.5650267601013184, 1.1988235712051392, 1.2777924537658691, -1.096941351890564, -0.2524102032184601, -1.6910732984542847, -0.19329653680324554, -0.7270573377609253, 0.2900831401348114, -2.041196346282959, -0.16432909667491913, -1.917706847190857, -2.380506992340088, -1.2447383403778076, -0.8110319972038269, 1.0976587533950806, 0.1938614845275879, -0.8771762251853943, 1.2692558765411377, -0.37868067622184753, -1.7578593492507935, 1.0220550298690796, -2.075537919998169 ]
https://github.com/huggingface/datasets/issues/4349
Dataset.map()'s fails at any value of parameter writer_batch_size
Did you close it because you found that it was due to the incorrect Feature types ?
## Describe the bug If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance. Context: I am attempting to fine-tune a pre-trained HuggingFace transformers model called LayoutLMv2. This model takes three inputs: document images, words and word bounding boxes. [The Processor for this model has two options](https://huggingface.co/docs/transformers/model_doc/layoutlmv2#usage-layoutlmv2processor), the default is passing a document to the Processor and allowing it to create images of the document and use PyTesseract to perform OCR and generate words/bounding boxes. The other option is to provide `revision="no_ocr"` to the pre-trained model which allows you to use your own OCR results (in my case, Amazon Textract) so you have to provide the image, words and bounding boxes yourself. I am using this second option which might be good context for the bug. I am using the Dataset.map() paradigm to create these three inputs, encode them and save the dataset. Note that my documents (data instances) on average are fairly large and can range from 1 page up to 300 pages. Code I am using is provided below ## Steps to reproduce the bug I do not have explicit sample code, but I will paste the code I'm using in case reading it helps. When `.map()` is called, the dataset has 2933 rows, many of which represent large pdf documents. ```python def get_encoded_data(data): dataset = Dataset.from_pandas(data) unique_labels = data['label'].unique() features = Features({ 'image': Array3D(dtype="int64", shape=(3, 224, 224)), 'input_ids': Sequence(feature=Value(dtype='int64')), 'attention_mask': Sequence(Value(dtype='int64')), 'token_type_ids': Sequence(Value(dtype='int64')), 'bbox': Array2D(dtype="int64", shape=(512, 4)), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) encoded_dataset = dataset.map(preprocess_data, features=features, remove_columns=dataset.column_names, writer_batch_size=dataset.num_rows+1) encoded_dataset.save_to_disk(TRAINING_DATA_PATH + ENCODED_DATASET_NAME) encoded_dataset.set_format(type="torch") return encoded_dataset ``` ```python PROCESSOR = LayoutLMv2Processor.from_pretrained(MODEL_PATH, revision="no_ocr", use_fast=False) def preprocess_data(examples): directory = os.path.join(FILES_PATH, examples['file_location']) images_dir = os.path.join(directory, PDF_IMAGE_DIR) textract_response_path = os.path.join(directory, 'textract.json') doc_meta_path = os.path.join(directory, 'doc_meta.json') textract_document = get_textract_document(textract_response_path, doc_meta_path) images, words, bboxes = get_doc_training_data(images_dir, textract_document) encoded_inputs = PROCESSOR(images, words, boxes=bboxes, padding="max_length", truncation=True) # https://github.com/NielsRogge/Transformers-Tutorials/issues/36 encoded_inputs["image"] = np.array(encoded_inputs["image"]) encoded_inputs["label"] = examples['label_id'] return encoded_inputs ``` ## Expected results My expectation is that `writer_batch_size` allows one to simply trade off performance and memory requirements, not that it must be a specific number for `.map()` to function correctly. ## Actual results If writer_batch_size is set to a value less than the number of rows, I get either: ``` OverflowError: There was an overflow with type <class 'list'>. Try to reduce writer_batch_size to have batches smaller than 2GB. (offset overflow while concatenating arrays) ``` or simply ``` zsh: killed python doc_classification.py UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown ``` If it is greater than the number of rows, i get the `zsh: killed` error above ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.1.0 - Platform: macOS-12.2.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 6.0.1 - Pandas version: 1.4.2
760
17
Dataset.map()'s fails at any value of parameter writer_batch_size ## Describe the bug If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance. Context: I am attempting to fine-tune a pre-trained HuggingFace transformers model called LayoutLMv2. This model takes three inputs: document images, words and word bounding boxes. [The Processor for this model has two options](https://huggingface.co/docs/transformers/model_doc/layoutlmv2#usage-layoutlmv2processor), the default is passing a document to the Processor and allowing it to create images of the document and use PyTesseract to perform OCR and generate words/bounding boxes. The other option is to provide `revision="no_ocr"` to the pre-trained model which allows you to use your own OCR results (in my case, Amazon Textract) so you have to provide the image, words and bounding boxes yourself. I am using this second option which might be good context for the bug. I am using the Dataset.map() paradigm to create these three inputs, encode them and save the dataset. Note that my documents (data instances) on average are fairly large and can range from 1 page up to 300 pages. Code I am using is provided below ## Steps to reproduce the bug I do not have explicit sample code, but I will paste the code I'm using in case reading it helps. When `.map()` is called, the dataset has 2933 rows, many of which represent large pdf documents. ```python def get_encoded_data(data): dataset = Dataset.from_pandas(data) unique_labels = data['label'].unique() features = Features({ 'image': Array3D(dtype="int64", shape=(3, 224, 224)), 'input_ids': Sequence(feature=Value(dtype='int64')), 'attention_mask': Sequence(Value(dtype='int64')), 'token_type_ids': Sequence(Value(dtype='int64')), 'bbox': Array2D(dtype="int64", shape=(512, 4)), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) encoded_dataset = dataset.map(preprocess_data, features=features, remove_columns=dataset.column_names, writer_batch_size=dataset.num_rows+1) encoded_dataset.save_to_disk(TRAINING_DATA_PATH + ENCODED_DATASET_NAME) encoded_dataset.set_format(type="torch") return encoded_dataset ``` ```python PROCESSOR = LayoutLMv2Processor.from_pretrained(MODEL_PATH, revision="no_ocr", use_fast=False) def preprocess_data(examples): directory = os.path.join(FILES_PATH, examples['file_location']) images_dir = os.path.join(directory, PDF_IMAGE_DIR) textract_response_path = os.path.join(directory, 'textract.json') doc_meta_path = os.path.join(directory, 'doc_meta.json') textract_document = get_textract_document(textract_response_path, doc_meta_path) images, words, bboxes = get_doc_training_data(images_dir, textract_document) encoded_inputs = PROCESSOR(images, words, boxes=bboxes, padding="max_length", truncation=True) # https://github.com/NielsRogge/Transformers-Tutorials/issues/36 encoded_inputs["image"] = np.array(encoded_inputs["image"]) encoded_inputs["label"] = examples['label_id'] return encoded_inputs ``` ## Expected results My expectation is that `writer_batch_size` allows one to simply trade off performance and memory requirements, not that it must be a specific number for `.map()` to function correctly. ## Actual results If writer_batch_size is set to a value less than the number of rows, I get either: ``` OverflowError: There was an overflow with type <class 'list'>. Try to reduce writer_batch_size to have batches smaller than 2GB. (offset overflow while concatenating arrays) ``` or simply ``` zsh: killed python doc_classification.py UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown ``` If it is greater than the number of rows, i get the `zsh: killed` error above ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.1.0 - Platform: macOS-12.2.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 6.0.1 - Pandas version: 1.4.2 Did you close it because you found that it was due to the incorrect Feature types ?
[ -1.25897216796875, -0.9736562371253967, -0.7583965063095093, 1.5511164665222168, -0.21435335278511047, -1.256626844406128, 0.06937089562416077, -1.0330222845077515, 1.6731901168823242, -0.8561477065086365, 0.33457037806510925, -1.6195642948150635, 0.09062574803829193, -0.5467575192451477, -0.7664734721183777, -0.9078165292739868, -0.4079038202762604, -0.8212041854858398, 1.0962283611297607, 2.4919161796569824, 1.2359949350357056, -1.5247784852981567, 2.7609620094299316, 0.6780800819396973, -0.1461634486913681, -1.0473593473434448, 0.5495635271072388, -0.06353496015071869, -1.3208576440811157, -0.5337110161781311, -0.9726272821426392, -0.039313141256570816, -0.5211496353149414, -0.560425877571106, -0.016638729721307755, 0.4362662434577942, -0.2594316899776459, -0.5130680799484253, -0.5141150951385498, -0.750889241695404, 0.5143488049507141, -0.34098687767982483, 0.8714966773986816, -0.2908755838871002, 1.8191176652908325, -0.44849660992622375, 0.38031867146492004, 0.688669741153717, 1.4149999618530273, 0.1953354775905609, -0.0742904543876648, 0.39227086305618286, 0.370699942111969, -0.015681346878409386, 0.5209468603134155, 1.2153831720352173, 0.6891639828681946, 0.5004153251647949, 0.8035368919372559, -2.2336807250976562, 1.3509997129440308, -1.1139798164367676, 0.3783167600631714, 1.2711278200149536, -1.0192393064498901, 0.3094737231731415, -1.7534513473510742, -0.10222885012626648, 0.567186176776886, -2.164032220840454, 0.24848513305187225, -1.2563045024871826, -0.4358200132846832, 0.9770901799201965, 0.31635770201683044, -1.287237286567688, 0.166367769241333, -0.46925199031829834, 1.059696078300476, 0.4714924097061157, 1.1425933837890625, -1.662490725517273, -0.006450592540204525, -0.30196845531463623, 0.15076971054077148, -1.260032057762146, -1.6019006967544556, 0.5371491312980652, 0.5675166845321655, 0.5564674139022827, -0.13069042563438416, 1.063888430595398, -1.0242482423782349, 0.7847479581832886, -0.9794402122497559, -1.7000240087509155, -1.4417552947998047, -2.2308030128479004, -2.25353741645813, 0.7287023663520813, -0.520753026008606, -0.5609622597694397, 2.086165189743042, -1.0481839179992676, -1.7721874713897705, 1.1414684057235718, 0.28553053736686707, 0.013932611793279648, 2.375826835632324, 0.15759678184986115, -0.7410280108451843, 0.4527588188648224, -0.7140451669692993, 0.8017878532409668, -0.344491183757782, 1.3649007081985474, 0.4034171998500824, -1.0169146060943604, 1.5948389768600464, -0.35096126794815063, 0.549924910068512, -0.5851618051528931, -0.487675279378891, -0.7809721827507019, 0.37795644998550415, 1.891674280166626, -0.3651352524757385, 1.572021722793579, -0.4231608211994171, -1.5447125434875488, -1.6069791316986084, 0.9296532273292542, 0.4884273111820221, -0.7928199172019958, 0.13947822153568268, -0.38583776354789734, 0.1041206568479538, -0.005169661715626717, 1.1669304370880127, 1.2977774143218994, 0.6509414315223694, -0.3638976514339447, -0.8767713904380798, 0.13924072682857513, -0.13187888264656067, -0.591712236404419, -1.801626443862915, -0.33646535873413086, 0.10683535039424896, 0.6765260100364685, -1.1836583614349365, 1.6653785705566406, 0.9833858609199524, 1.9232858419418335, 1.0467276573181152, -0.33538317680358887, 1.4789162874221802, 0.10266730189323425, 1.831602931022644, -0.5302596688270569, 0.6476383209228516, -0.40740376710891724, -1.1620408296585083, 0.8556035757064819, -0.34521588683128357, -2.006819725036621, -0.7964944243431091, -0.7673978209495544, -0.21662569046020508, -0.7945572137832642, 0.9690441489219666, -0.29706010222435, -1.3742774724960327, 0.25444260239601135, -0.7242187261581421, 0.12638285756111145, -1.1487154960632324, 0.34872713685035706, 0.7401158809661865, -0.6593077778816223, 0.09657976031303406, -0.2577115297317505, -1.2978312969207764, -0.5099140405654907, 0.36524420976638794, 1.8467389345169067, -0.8196544051170349, 0.8651139140129089, 1.083544135093689, -0.6556012034416199, 0.016680443659424782, 0.2799365222454071, -0.30641454458236694, 0.8690338134765625, -1.0310842990875244, -0.46582189202308655, 1.1367286443710327, -0.22187842428684235, -0.5729385018348694, 1.4128042459487915, 0.6850627660751343, -0.9872748851776123, -0.19890916347503662, -0.1126265823841095, -0.9452165365219116, -0.010032505728304386, -1.5252066850662231, -0.17774701118469238, 0.3849518895149231, -1.576395034790039, -0.4857323467731476, -0.21985389292240143, 1.282677173614502, -0.1638369858264923, 1.5154297351837158, -0.39746201038360596, -0.1691465675830841, -0.299233615398407, -0.32482221722602844, 0.19034349918365479, -0.18920350074768066, -0.6574546694755554, 0.22755038738250732, -0.8650679588317871, 0.3405311107635498, 1.4115920066833496, 0.4003872573375702, 0.004912861622869968, 0.48710155487060547, 1.1649889945983887, 0.4047691524028778, -0.014326786622405052, -0.8185634613037109, -1.586113691329956, 2.083832025527954, -1.494301199913025, 1.9845272302627563, 0.7750041484832764, -0.022648733109235764, -1.792612910270691, -1.7760627269744873, 1.3787645101547241, 1.1309599876403809, 2.353294610977173, 0.600594699382782, 0.35850921273231506, -0.8210722208023071, -0.6283755898475647, 0.38546085357666016, -1.0183035135269165, -0.7311711311340332, 0.055227670818567276, 2.401475667953491, 1.756075143814087, -0.4015364944934845, -0.17118947207927704, -0.9607447385787964, 1.4069057703018188, -0.1403726190328598, 0.2279324233531952, 1.9673354625701904, -0.18199217319488525, -1.0602924823760986, 1.3193681240081787, -2.336916446685791, 0.17703279852867126, 2.091620445251465, 0.29276230931282043, 0.029985636472702026, -1.4183034896850586, -0.6046811938285828, -0.20239096879959106, -0.4797457754611969, -1.2901257276535034, 0.5356468558311462, -0.3118101954460144, -0.8094314932823181, -1.487101435661316, 0.11512888967990875, -1.1857200860977173, -1.6375030279159546, 0.31227633357048035, 1.928590178489685, 2.1096575260162354, -0.6627636551856995, 1.635941982269287, -0.288779616355896, 0.2543674409389496, 1.210767149925232, 1.198398232460022, 3.0753726959228516, 1.88967764377594, -1.2866547107696533, 0.5486850738525391, -0.10868200659751892, -0.49056383967399597, 1.106223702430725, -1.1340614557266235, 1.300517201423645, -0.08063679933547974, -1.1810858249664307, -1.165259838104248, 1.0296679735183716, 0.49988362193107605, 0.07145136594772339, -0.4790939688682556, 1.2052853107452393, 0.030856143683195114, 1.227247953414917, 0.5628440976142883, -0.32639509439468384, 0.5716257691383362, -0.4025571048259735, -0.6209354996681213, 1.534801721572876, 0.16523705422878265, -1.3713502883911133, -2.263920307159424, -0.19312423467636108, -0.78364497423172, 0.06398573517799377, -0.5838238596916199, -0.9501758217811584, 1.6124491691589355, 0.3458173871040344, -1.259543776512146, -0.3097415566444397, -0.40136849880218506, -0.6183016300201416, 2.6297600269317627, -1.3444530963897705, -0.23592600226402283, -0.975946307182312, -0.6632393002510071, 1.5801490545272827, -1.1907185316085815, -0.20083707571029663, -1.0186128616333008, -0.5950502753257751, -1.295287013053894, -0.6048128604888916, 0.011488689109683037, -0.8713889718055725, 0.805494487285614, 0.24565519392490387, -1.1738996505737305, -0.2976774275302887, -0.8119038343429565, 0.8751006126403809, -0.1609492152929306, 0.21980029344558716, 1.8459221124649048, 0.36323851346969604, -0.43051642179489136, 0.7834619283676147, 1.1449025869369507, 0.624089777469635, -0.5691666007041931, 0.1278647780418396, -0.6165252327919006, 0.30275511741638184, -1.2861688137054443, 0.34226930141448975, -2.848294973373413, 0.609748363494873, -0.026227852329611778, -0.06360456347465515, 0.012493101879954338, -1.32886803150177, 1.048210620880127, 2.6052796840667725, -1.186423897743225, 0.48056939244270325, 0.35865843296051025, 1.1870996952056885, -1.6137137413024902, 0.3536217212677002, -0.4569399058818817, 2.1831250190734863, 0.21675077080726624, 1.2133276462554932, -0.4853419065475464, -2.290235757827759, 0.5734135508537292, -1.2406471967697144, -1.157841682434082, 0.6993257999420166, -0.90419602394104, 0.06443548202514648, -1.5040125846862793, -0.2371150255203247, -0.8616888523101807, -1.15098237991333, 0.6969316601753235, 0.1472603976726532, 0.3336435556411743, -0.5701878070831299, 0.313302218914032, -2.129516839981079, -1.3739924430847168, -0.19438032805919647, -0.9398949146270752, 0.49093106389045715, -0.4026017189025879, 0.6842077970504761, -0.10051475465297699, 0.01127585768699646, 0.3312201499938965, 1.3969777822494507, 3.3643391132354736, 0.21293430030345917, 0.3705510199069977, -0.23840679228305817, -0.9207557439804077, 1.5164892673492432, 0.9243952035903931, -0.18127229809761047, -0.5685828924179077, -1.0605039596557617, 1.3231244087219238, 1.9537261724472046, 0.906034529209137, 0.042513445019721985, -0.7827684283256531, -0.699658989906311, -0.04187452793121338, 0.18386965990066528, 0.5304148197174072, 0.864538311958313, 0.06823104619979858, 0.0864725261926651, 1.484998106956482, 1.209636926651001, -0.49933692812919617, 0.4015851318836212, -0.8582859039306641, -0.4189394414424896, 0.41906940937042236, 0.28987741470336914, -0.04104389622807503, 0.32056915760040283, -0.937212347984314, -0.30634015798568726, -0.41959163546562195, -0.8831735253334045, -0.6798772811889648, -0.423608660697937, -0.32671380043029785, 1.6614220142364502, 0.20936790108680725, -0.6093133091926575, -0.10778340697288513, -0.8110847473144531, -0.17889657616615295, -1.1072320938110352, 0.275000661611557, -0.12393048405647278, -0.10333582758903503, -0.1068456768989563, 1.7672147750854492, -0.8735277056694031, -2.1799163818359375, 0.22168469429016113, 0.20012377202510834, -0.27769801020622253, 0.18875358998775482, 1.6461721658706665, 0.5378871560096741, 1.3937441110610962, 1.3417015075683594, 0.9674488306045532, -0.6199609041213989, -1.3182814121246338, 0.6953264474868774, 0.9962444305419922, -1.4669804573059082, 0.7659622430801392, -0.043075013905763626, -0.5445041060447693, 0.6899259686470032, 1.2923439741134644, 0.49777331948280334, -2.0734269618988037, 0.8943943381309509, -0.9296919703483582, 0.7893490791320801, 0.7173145413398743, 0.6336421370506287, 0.23624849319458008, 0.851961612701416, -1.263289451599121, -1.1780481338500977, -0.7771839499473572, -0.7320042848587036, 1.9973772764205933, -0.3256019353866577, 0.5665120482444763, -0.16907194256782532, -1.3736764192581177, -0.16982680559158325, 0.6458282470703125, 0.29062649607658386, -0.4432852864265442, 0.850822925567627, -0.6864508986473083, -1.1768795251846313, -1.4419275522232056, -0.42630231380462646, -0.9542816281318665, -0.9790540337562561, 1.0551209449768066, 0.810261070728302, 0.2561279237270355, 1.8967111110687256, 0.5966175198554993, 0.19588184356689453, -2.585432529449463, 0.9516775012016296, 0.3074168562889099, -0.08223482966423035, 0.863290548324585, 0.335676908493042, 1.0118508338928223, 0.047384146600961685, 0.5237991809844971, -2.449676036834717, 2.258573532104492, -0.1981150209903717, 0.764961302280426, -0.01574018783867359, -0.256526380777359, 1.1558058261871338, 0.5163029432296753, 0.6287287473678589, -1.0470976829528809, 0.6767749190330505, -0.6078060269355774, 1.2146121263504028, 0.927405595779419, -0.809231162071228, -0.07254023849964142, 1.3386130332946777, 0.4378241300582886, -0.5520976185798645, -0.9514764547348022, -0.9494333267211914, 0.9330958724021912, 1.7621264457702637, -0.04827091097831726, 0.05901552364230156, 0.7798187732696533, 0.6473488211631775, -1.2625045776367188, 0.11683578789234161, -0.6946225762367249, -0.8314641714096069, 1.6213922500610352, 2.0453176498413086, -0.21174821257591248, -0.17880168557167053, -0.6470606923103333, -1.3545103073120117, 0.7621699571609497, -0.07282735407352448, 0.1343064308166504, 0.6327678561210632, -0.6648952960968018, 1.0248770713806152, 0.9240574836730957, 0.9152640700340271, 0.09304830431938171, 0.2742326855659485, 0.4280011057853699, -0.31380337476730347, -1.033408522605896, -0.22326692938804626, -1.1081759929656982, -2.4881911277770996, 0.37054169178009033, -0.1789729744195938, -1.4088027477264404, 0.06735338270664215, -0.9631847143173218, 0.9308080673217773, -0.5086469650268555, -1.179240107536316, -1.4595248699188232, 0.1501874029636383, -0.049321725964546204, 0.9213314056396484, -1.5668227672576904, -0.10778528451919556, 1.2059314250946045, 0.8805606365203857, -0.6323967576026917, 1.0601963996887207, 0.2550005316734314, 1.0127912759780884, 0.8293588161468506, -0.41835179924964905, 0.4755624234676361, 0.08698154985904694, -1.335988998413086, 0.464534729719162, 1.1714335680007935, 0.15030960738658905, 1.4415749311447144, -0.5161910057067871, -0.0009153960272669792, 0.4317190945148468, -0.5635441541671753, -0.4578087031841278, -0.47572797536849976, 0.6869550943374634, 0.0026034582406282425, -0.8193466067314148, 0.028762929141521454, -0.010794577188789845, -0.29475998878479004, 0.15089860558509827, -1.5009814500808716, -0.14862775802612305, -0.395573228597641, -0.5920485854148865, -1.2585238218307495, -0.04150419682264328, 1.363556981086731, -0.7293006777763367, -0.29438501596450806, 0.4734713137149811, 0.4482490122318268, 0.5012732744216919, 0.6465684771537781, -0.6421356201171875, -0.3371354639530182, -0.19049875438213348, -0.33853957056999207, 0.2863319516181946, 1.3053691387176514, -0.13293664157390594, -0.9708569645881653, 0.6961480379104614, -0.37269818782806396, 0.015219511464238167, 1.887585163116455, 0.05913658067584038, -0.7622119188308716, 0.28845182061195374, -0.7595148086547852, 1.9450812339782715, 1.7422376871109009, 1.4123508930206299, -0.13953177630901337, -0.9127258658409119, 0.6197271347045898, -0.32501301169395447, -0.3965897560119629, 0.9115726351737976, 0.4279373288154602, -0.1448863297700882, -1.4256649017333984, 0.6490936279296875, 1.2652212381362915, -0.8984401822090149, -0.7414612174034119, 0.11167894303798676, -0.778155505657196, 1.123316764831543, 0.6555609107017517, 0.41547128558158875, 0.23462563753128052, 1.6359812021255493, 0.7987842559814453, -0.4547819197177887, 0.5072164535522461, 0.600628137588501, -0.15385156869888306, -2.183232545852661, -1.1504484415054321, 0.3035666048526764, -0.4746381938457489, -1.5809530019760132, 1.3404037952423096, -1.1688793897628784, -0.9661926627159119, 0.5170718431472778, 0.0028085941448807716, 1.3831920623779297, 0.38294875621795654, 1.55730402469635, 2.0474536418914795, 0.8370591998100281, 0.4015195965766907, 1.2586661577224731, -0.13221876323223114, -0.4190422296524048, 1.8457589149475098, -0.4304603338241577, 0.45672956109046936, 1.1297403573989868, -0.3052600026130676, -1.150307536125183, -0.7271786332130432, -1.2718088626861572, -0.6564782857894897, 1.1304905414581299, 0.06757563352584839, -1.1119043827056885, 0.2709465026855469, 1.6098567247390747, 0.12924225628376007, -0.32988494634628296, 0.5487927198410034, 0.5117547512054443, -0.768129825592041, -0.08184446394443512, -0.9082704186439514, 0.5300318002700806, -0.21665678918361664, -0.4057484567165375, 0.40135905146598816, 0.4046059846878052, 1.2974083423614502, -0.05455036833882332, 0.10979834198951721, 1.1692224740982056, -1.4143270254135132, 1.5404353141784668, -0.6521878838539124, 0.24616797268390656, -2.4091923236846924, 1.3999111652374268, -0.7459032535552979, 1.9990676641464233, -2.666926622390747, 0.44068944454193115, -0.670932412147522, -0.4738788306713104, 0.37580981850624084, -0.3231883943080902, 0.00799284502863884, -0.12167157232761383, -1.1200075149536133, -0.06279866397380829, -0.6103615164756775, 0.5650267601013184, 1.1988235712051392, 1.2777924537658691, -1.096941351890564, -0.2524102032184601, -1.6910732984542847, -0.19329653680324554, -0.7270573377609253, 0.2900831401348114, -2.041196346282959, -0.16432909667491913, -1.917706847190857, -2.380506992340088, -1.2447383403778076, -0.8110319972038269, 1.0976587533950806, 0.1938614845275879, -0.8771762251853943, 1.2692558765411377, -0.37868067622184753, -1.7578593492507935, 1.0220550298690796, -2.075537919998169 ]
https://github.com/huggingface/datasets/issues/4349
Dataset.map()'s fails at any value of parameter writer_batch_size
Yeah-- my analysis of the issue was wrong in this one so I just closed it while linking to the new issue
## Describe the bug If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance. Context: I am attempting to fine-tune a pre-trained HuggingFace transformers model called LayoutLMv2. This model takes three inputs: document images, words and word bounding boxes. [The Processor for this model has two options](https://huggingface.co/docs/transformers/model_doc/layoutlmv2#usage-layoutlmv2processor), the default is passing a document to the Processor and allowing it to create images of the document and use PyTesseract to perform OCR and generate words/bounding boxes. The other option is to provide `revision="no_ocr"` to the pre-trained model which allows you to use your own OCR results (in my case, Amazon Textract) so you have to provide the image, words and bounding boxes yourself. I am using this second option which might be good context for the bug. I am using the Dataset.map() paradigm to create these three inputs, encode them and save the dataset. Note that my documents (data instances) on average are fairly large and can range from 1 page up to 300 pages. Code I am using is provided below ## Steps to reproduce the bug I do not have explicit sample code, but I will paste the code I'm using in case reading it helps. When `.map()` is called, the dataset has 2933 rows, many of which represent large pdf documents. ```python def get_encoded_data(data): dataset = Dataset.from_pandas(data) unique_labels = data['label'].unique() features = Features({ 'image': Array3D(dtype="int64", shape=(3, 224, 224)), 'input_ids': Sequence(feature=Value(dtype='int64')), 'attention_mask': Sequence(Value(dtype='int64')), 'token_type_ids': Sequence(Value(dtype='int64')), 'bbox': Array2D(dtype="int64", shape=(512, 4)), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) encoded_dataset = dataset.map(preprocess_data, features=features, remove_columns=dataset.column_names, writer_batch_size=dataset.num_rows+1) encoded_dataset.save_to_disk(TRAINING_DATA_PATH + ENCODED_DATASET_NAME) encoded_dataset.set_format(type="torch") return encoded_dataset ``` ```python PROCESSOR = LayoutLMv2Processor.from_pretrained(MODEL_PATH, revision="no_ocr", use_fast=False) def preprocess_data(examples): directory = os.path.join(FILES_PATH, examples['file_location']) images_dir = os.path.join(directory, PDF_IMAGE_DIR) textract_response_path = os.path.join(directory, 'textract.json') doc_meta_path = os.path.join(directory, 'doc_meta.json') textract_document = get_textract_document(textract_response_path, doc_meta_path) images, words, bboxes = get_doc_training_data(images_dir, textract_document) encoded_inputs = PROCESSOR(images, words, boxes=bboxes, padding="max_length", truncation=True) # https://github.com/NielsRogge/Transformers-Tutorials/issues/36 encoded_inputs["image"] = np.array(encoded_inputs["image"]) encoded_inputs["label"] = examples['label_id'] return encoded_inputs ``` ## Expected results My expectation is that `writer_batch_size` allows one to simply trade off performance and memory requirements, not that it must be a specific number for `.map()` to function correctly. ## Actual results If writer_batch_size is set to a value less than the number of rows, I get either: ``` OverflowError: There was an overflow with type <class 'list'>. Try to reduce writer_batch_size to have batches smaller than 2GB. (offset overflow while concatenating arrays) ``` or simply ``` zsh: killed python doc_classification.py UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown ``` If it is greater than the number of rows, i get the `zsh: killed` error above ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.1.0 - Platform: macOS-12.2.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 6.0.1 - Pandas version: 1.4.2
760
22
Dataset.map()'s fails at any value of parameter writer_batch_size ## Describe the bug If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance. Context: I am attempting to fine-tune a pre-trained HuggingFace transformers model called LayoutLMv2. This model takes three inputs: document images, words and word bounding boxes. [The Processor for this model has two options](https://huggingface.co/docs/transformers/model_doc/layoutlmv2#usage-layoutlmv2processor), the default is passing a document to the Processor and allowing it to create images of the document and use PyTesseract to perform OCR and generate words/bounding boxes. The other option is to provide `revision="no_ocr"` to the pre-trained model which allows you to use your own OCR results (in my case, Amazon Textract) so you have to provide the image, words and bounding boxes yourself. I am using this second option which might be good context for the bug. I am using the Dataset.map() paradigm to create these three inputs, encode them and save the dataset. Note that my documents (data instances) on average are fairly large and can range from 1 page up to 300 pages. Code I am using is provided below ## Steps to reproduce the bug I do not have explicit sample code, but I will paste the code I'm using in case reading it helps. When `.map()` is called, the dataset has 2933 rows, many of which represent large pdf documents. ```python def get_encoded_data(data): dataset = Dataset.from_pandas(data) unique_labels = data['label'].unique() features = Features({ 'image': Array3D(dtype="int64", shape=(3, 224, 224)), 'input_ids': Sequence(feature=Value(dtype='int64')), 'attention_mask': Sequence(Value(dtype='int64')), 'token_type_ids': Sequence(Value(dtype='int64')), 'bbox': Array2D(dtype="int64", shape=(512, 4)), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) encoded_dataset = dataset.map(preprocess_data, features=features, remove_columns=dataset.column_names, writer_batch_size=dataset.num_rows+1) encoded_dataset.save_to_disk(TRAINING_DATA_PATH + ENCODED_DATASET_NAME) encoded_dataset.set_format(type="torch") return encoded_dataset ``` ```python PROCESSOR = LayoutLMv2Processor.from_pretrained(MODEL_PATH, revision="no_ocr", use_fast=False) def preprocess_data(examples): directory = os.path.join(FILES_PATH, examples['file_location']) images_dir = os.path.join(directory, PDF_IMAGE_DIR) textract_response_path = os.path.join(directory, 'textract.json') doc_meta_path = os.path.join(directory, 'doc_meta.json') textract_document = get_textract_document(textract_response_path, doc_meta_path) images, words, bboxes = get_doc_training_data(images_dir, textract_document) encoded_inputs = PROCESSOR(images, words, boxes=bboxes, padding="max_length", truncation=True) # https://github.com/NielsRogge/Transformers-Tutorials/issues/36 encoded_inputs["image"] = np.array(encoded_inputs["image"]) encoded_inputs["label"] = examples['label_id'] return encoded_inputs ``` ## Expected results My expectation is that `writer_batch_size` allows one to simply trade off performance and memory requirements, not that it must be a specific number for `.map()` to function correctly. ## Actual results If writer_batch_size is set to a value less than the number of rows, I get either: ``` OverflowError: There was an overflow with type <class 'list'>. Try to reduce writer_batch_size to have batches smaller than 2GB. (offset overflow while concatenating arrays) ``` or simply ``` zsh: killed python doc_classification.py UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown ``` If it is greater than the number of rows, i get the `zsh: killed` error above ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.1.0 - Platform: macOS-12.2.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 6.0.1 - Pandas version: 1.4.2 Yeah-- my analysis of the issue was wrong in this one so I just closed it while linking to the new issue
[ -1.25897216796875, -0.9736562371253967, -0.7583965063095093, 1.5511164665222168, -0.21435335278511047, -1.256626844406128, 0.06937089562416077, -1.0330222845077515, 1.6731901168823242, -0.8561477065086365, 0.33457037806510925, -1.6195642948150635, 0.09062574803829193, -0.5467575192451477, -0.7664734721183777, -0.9078165292739868, -0.4079038202762604, -0.8212041854858398, 1.0962283611297607, 2.4919161796569824, 1.2359949350357056, -1.5247784852981567, 2.7609620094299316, 0.6780800819396973, -0.1461634486913681, -1.0473593473434448, 0.5495635271072388, -0.06353496015071869, -1.3208576440811157, -0.5337110161781311, -0.9726272821426392, -0.039313141256570816, -0.5211496353149414, -0.560425877571106, -0.016638729721307755, 0.4362662434577942, -0.2594316899776459, -0.5130680799484253, -0.5141150951385498, -0.750889241695404, 0.5143488049507141, -0.34098687767982483, 0.8714966773986816, -0.2908755838871002, 1.8191176652908325, -0.44849660992622375, 0.38031867146492004, 0.688669741153717, 1.4149999618530273, 0.1953354775905609, -0.0742904543876648, 0.39227086305618286, 0.370699942111969, -0.015681346878409386, 0.5209468603134155, 1.2153831720352173, 0.6891639828681946, 0.5004153251647949, 0.8035368919372559, -2.2336807250976562, 1.3509997129440308, -1.1139798164367676, 0.3783167600631714, 1.2711278200149536, -1.0192393064498901, 0.3094737231731415, -1.7534513473510742, -0.10222885012626648, 0.567186176776886, -2.164032220840454, 0.24848513305187225, -1.2563045024871826, -0.4358200132846832, 0.9770901799201965, 0.31635770201683044, -1.287237286567688, 0.166367769241333, -0.46925199031829834, 1.059696078300476, 0.4714924097061157, 1.1425933837890625, -1.662490725517273, -0.006450592540204525, -0.30196845531463623, 0.15076971054077148, -1.260032057762146, -1.6019006967544556, 0.5371491312980652, 0.5675166845321655, 0.5564674139022827, -0.13069042563438416, 1.063888430595398, -1.0242482423782349, 0.7847479581832886, -0.9794402122497559, -1.7000240087509155, -1.4417552947998047, -2.2308030128479004, -2.25353741645813, 0.7287023663520813, -0.520753026008606, -0.5609622597694397, 2.086165189743042, -1.0481839179992676, -1.7721874713897705, 1.1414684057235718, 0.28553053736686707, 0.013932611793279648, 2.375826835632324, 0.15759678184986115, -0.7410280108451843, 0.4527588188648224, -0.7140451669692993, 0.8017878532409668, -0.344491183757782, 1.3649007081985474, 0.4034171998500824, -1.0169146060943604, 1.5948389768600464, -0.35096126794815063, 0.549924910068512, -0.5851618051528931, -0.487675279378891, -0.7809721827507019, 0.37795644998550415, 1.891674280166626, -0.3651352524757385, 1.572021722793579, -0.4231608211994171, -1.5447125434875488, -1.6069791316986084, 0.9296532273292542, 0.4884273111820221, -0.7928199172019958, 0.13947822153568268, -0.38583776354789734, 0.1041206568479538, -0.005169661715626717, 1.1669304370880127, 1.2977774143218994, 0.6509414315223694, -0.3638976514339447, -0.8767713904380798, 0.13924072682857513, -0.13187888264656067, -0.591712236404419, -1.801626443862915, -0.33646535873413086, 0.10683535039424896, 0.6765260100364685, -1.1836583614349365, 1.6653785705566406, 0.9833858609199524, 1.9232858419418335, 1.0467276573181152, -0.33538317680358887, 1.4789162874221802, 0.10266730189323425, 1.831602931022644, -0.5302596688270569, 0.6476383209228516, -0.40740376710891724, -1.1620408296585083, 0.8556035757064819, -0.34521588683128357, -2.006819725036621, -0.7964944243431091, -0.7673978209495544, -0.21662569046020508, -0.7945572137832642, 0.9690441489219666, -0.29706010222435, -1.3742774724960327, 0.25444260239601135, -0.7242187261581421, 0.12638285756111145, -1.1487154960632324, 0.34872713685035706, 0.7401158809661865, -0.6593077778816223, 0.09657976031303406, -0.2577115297317505, -1.2978312969207764, -0.5099140405654907, 0.36524420976638794, 1.8467389345169067, -0.8196544051170349, 0.8651139140129089, 1.083544135093689, -0.6556012034416199, 0.016680443659424782, 0.2799365222454071, -0.30641454458236694, 0.8690338134765625, -1.0310842990875244, -0.46582189202308655, 1.1367286443710327, -0.22187842428684235, -0.5729385018348694, 1.4128042459487915, 0.6850627660751343, -0.9872748851776123, -0.19890916347503662, -0.1126265823841095, -0.9452165365219116, -0.010032505728304386, -1.5252066850662231, -0.17774701118469238, 0.3849518895149231, -1.576395034790039, -0.4857323467731476, -0.21985389292240143, 1.282677173614502, -0.1638369858264923, 1.5154297351837158, -0.39746201038360596, -0.1691465675830841, -0.299233615398407, -0.32482221722602844, 0.19034349918365479, -0.18920350074768066, -0.6574546694755554, 0.22755038738250732, -0.8650679588317871, 0.3405311107635498, 1.4115920066833496, 0.4003872573375702, 0.004912861622869968, 0.48710155487060547, 1.1649889945983887, 0.4047691524028778, -0.014326786622405052, -0.8185634613037109, -1.586113691329956, 2.083832025527954, -1.494301199913025, 1.9845272302627563, 0.7750041484832764, -0.022648733109235764, -1.792612910270691, -1.7760627269744873, 1.3787645101547241, 1.1309599876403809, 2.353294610977173, 0.600594699382782, 0.35850921273231506, -0.8210722208023071, -0.6283755898475647, 0.38546085357666016, -1.0183035135269165, -0.7311711311340332, 0.055227670818567276, 2.401475667953491, 1.756075143814087, -0.4015364944934845, -0.17118947207927704, -0.9607447385787964, 1.4069057703018188, -0.1403726190328598, 0.2279324233531952, 1.9673354625701904, -0.18199217319488525, -1.0602924823760986, 1.3193681240081787, -2.336916446685791, 0.17703279852867126, 2.091620445251465, 0.29276230931282043, 0.029985636472702026, -1.4183034896850586, -0.6046811938285828, -0.20239096879959106, -0.4797457754611969, -1.2901257276535034, 0.5356468558311462, -0.3118101954460144, -0.8094314932823181, -1.487101435661316, 0.11512888967990875, -1.1857200860977173, -1.6375030279159546, 0.31227633357048035, 1.928590178489685, 2.1096575260162354, -0.6627636551856995, 1.635941982269287, -0.288779616355896, 0.2543674409389496, 1.210767149925232, 1.198398232460022, 3.0753726959228516, 1.88967764377594, -1.2866547107696533, 0.5486850738525391, -0.10868200659751892, -0.49056383967399597, 1.106223702430725, -1.1340614557266235, 1.300517201423645, -0.08063679933547974, -1.1810858249664307, -1.165259838104248, 1.0296679735183716, 0.49988362193107605, 0.07145136594772339, -0.4790939688682556, 1.2052853107452393, 0.030856143683195114, 1.227247953414917, 0.5628440976142883, -0.32639509439468384, 0.5716257691383362, -0.4025571048259735, -0.6209354996681213, 1.534801721572876, 0.16523705422878265, -1.3713502883911133, -2.263920307159424, -0.19312423467636108, -0.78364497423172, 0.06398573517799377, -0.5838238596916199, -0.9501758217811584, 1.6124491691589355, 0.3458173871040344, -1.259543776512146, -0.3097415566444397, -0.40136849880218506, -0.6183016300201416, 2.6297600269317627, -1.3444530963897705, -0.23592600226402283, -0.975946307182312, -0.6632393002510071, 1.5801490545272827, -1.1907185316085815, -0.20083707571029663, -1.0186128616333008, -0.5950502753257751, -1.295287013053894, -0.6048128604888916, 0.011488689109683037, -0.8713889718055725, 0.805494487285614, 0.24565519392490387, -1.1738996505737305, -0.2976774275302887, -0.8119038343429565, 0.8751006126403809, -0.1609492152929306, 0.21980029344558716, 1.8459221124649048, 0.36323851346969604, -0.43051642179489136, 0.7834619283676147, 1.1449025869369507, 0.624089777469635, -0.5691666007041931, 0.1278647780418396, -0.6165252327919006, 0.30275511741638184, -1.2861688137054443, 0.34226930141448975, -2.848294973373413, 0.609748363494873, -0.026227852329611778, -0.06360456347465515, 0.012493101879954338, -1.32886803150177, 1.048210620880127, 2.6052796840667725, -1.186423897743225, 0.48056939244270325, 0.35865843296051025, 1.1870996952056885, -1.6137137413024902, 0.3536217212677002, -0.4569399058818817, 2.1831250190734863, 0.21675077080726624, 1.2133276462554932, -0.4853419065475464, -2.290235757827759, 0.5734135508537292, -1.2406471967697144, -1.157841682434082, 0.6993257999420166, -0.90419602394104, 0.06443548202514648, -1.5040125846862793, -0.2371150255203247, -0.8616888523101807, -1.15098237991333, 0.6969316601753235, 0.1472603976726532, 0.3336435556411743, -0.5701878070831299, 0.313302218914032, -2.129516839981079, -1.3739924430847168, -0.19438032805919647, -0.9398949146270752, 0.49093106389045715, -0.4026017189025879, 0.6842077970504761, -0.10051475465297699, 0.01127585768699646, 0.3312201499938965, 1.3969777822494507, 3.3643391132354736, 0.21293430030345917, 0.3705510199069977, -0.23840679228305817, -0.9207557439804077, 1.5164892673492432, 0.9243952035903931, -0.18127229809761047, -0.5685828924179077, -1.0605039596557617, 1.3231244087219238, 1.9537261724472046, 0.906034529209137, 0.042513445019721985, -0.7827684283256531, -0.699658989906311, -0.04187452793121338, 0.18386965990066528, 0.5304148197174072, 0.864538311958313, 0.06823104619979858, 0.0864725261926651, 1.484998106956482, 1.209636926651001, -0.49933692812919617, 0.4015851318836212, -0.8582859039306641, -0.4189394414424896, 0.41906940937042236, 0.28987741470336914, -0.04104389622807503, 0.32056915760040283, -0.937212347984314, -0.30634015798568726, -0.41959163546562195, -0.8831735253334045, -0.6798772811889648, -0.423608660697937, -0.32671380043029785, 1.6614220142364502, 0.20936790108680725, -0.6093133091926575, -0.10778340697288513, -0.8110847473144531, -0.17889657616615295, -1.1072320938110352, 0.275000661611557, -0.12393048405647278, -0.10333582758903503, -0.1068456768989563, 1.7672147750854492, -0.8735277056694031, -2.1799163818359375, 0.22168469429016113, 0.20012377202510834, -0.27769801020622253, 0.18875358998775482, 1.6461721658706665, 0.5378871560096741, 1.3937441110610962, 1.3417015075683594, 0.9674488306045532, -0.6199609041213989, -1.3182814121246338, 0.6953264474868774, 0.9962444305419922, -1.4669804573059082, 0.7659622430801392, -0.043075013905763626, -0.5445041060447693, 0.6899259686470032, 1.2923439741134644, 0.49777331948280334, -2.0734269618988037, 0.8943943381309509, -0.9296919703483582, 0.7893490791320801, 0.7173145413398743, 0.6336421370506287, 0.23624849319458008, 0.851961612701416, -1.263289451599121, -1.1780481338500977, -0.7771839499473572, -0.7320042848587036, 1.9973772764205933, -0.3256019353866577, 0.5665120482444763, -0.16907194256782532, -1.3736764192581177, -0.16982680559158325, 0.6458282470703125, 0.29062649607658386, -0.4432852864265442, 0.850822925567627, -0.6864508986473083, -1.1768795251846313, -1.4419275522232056, -0.42630231380462646, -0.9542816281318665, -0.9790540337562561, 1.0551209449768066, 0.810261070728302, 0.2561279237270355, 1.8967111110687256, 0.5966175198554993, 0.19588184356689453, -2.585432529449463, 0.9516775012016296, 0.3074168562889099, -0.08223482966423035, 0.863290548324585, 0.335676908493042, 1.0118508338928223, 0.047384146600961685, 0.5237991809844971, -2.449676036834717, 2.258573532104492, -0.1981150209903717, 0.764961302280426, -0.01574018783867359, -0.256526380777359, 1.1558058261871338, 0.5163029432296753, 0.6287287473678589, -1.0470976829528809, 0.6767749190330505, -0.6078060269355774, 1.2146121263504028, 0.927405595779419, -0.809231162071228, -0.07254023849964142, 1.3386130332946777, 0.4378241300582886, -0.5520976185798645, -0.9514764547348022, -0.9494333267211914, 0.9330958724021912, 1.7621264457702637, -0.04827091097831726, 0.05901552364230156, 0.7798187732696533, 0.6473488211631775, -1.2625045776367188, 0.11683578789234161, -0.6946225762367249, -0.8314641714096069, 1.6213922500610352, 2.0453176498413086, -0.21174821257591248, -0.17880168557167053, -0.6470606923103333, -1.3545103073120117, 0.7621699571609497, -0.07282735407352448, 0.1343064308166504, 0.6327678561210632, -0.6648952960968018, 1.0248770713806152, 0.9240574836730957, 0.9152640700340271, 0.09304830431938171, 0.2742326855659485, 0.4280011057853699, -0.31380337476730347, -1.033408522605896, -0.22326692938804626, -1.1081759929656982, -2.4881911277770996, 0.37054169178009033, -0.1789729744195938, -1.4088027477264404, 0.06735338270664215, -0.9631847143173218, 0.9308080673217773, -0.5086469650268555, -1.179240107536316, -1.4595248699188232, 0.1501874029636383, -0.049321725964546204, 0.9213314056396484, -1.5668227672576904, -0.10778528451919556, 1.2059314250946045, 0.8805606365203857, -0.6323967576026917, 1.0601963996887207, 0.2550005316734314, 1.0127912759780884, 0.8293588161468506, -0.41835179924964905, 0.4755624234676361, 0.08698154985904694, -1.335988998413086, 0.464534729719162, 1.1714335680007935, 0.15030960738658905, 1.4415749311447144, -0.5161910057067871, -0.0009153960272669792, 0.4317190945148468, -0.5635441541671753, -0.4578087031841278, -0.47572797536849976, 0.6869550943374634, 0.0026034582406282425, -0.8193466067314148, 0.028762929141521454, -0.010794577188789845, -0.29475998878479004, 0.15089860558509827, -1.5009814500808716, -0.14862775802612305, -0.395573228597641, -0.5920485854148865, -1.2585238218307495, -0.04150419682264328, 1.363556981086731, -0.7293006777763367, -0.29438501596450806, 0.4734713137149811, 0.4482490122318268, 0.5012732744216919, 0.6465684771537781, -0.6421356201171875, -0.3371354639530182, -0.19049875438213348, -0.33853957056999207, 0.2863319516181946, 1.3053691387176514, -0.13293664157390594, -0.9708569645881653, 0.6961480379104614, -0.37269818782806396, 0.015219511464238167, 1.887585163116455, 0.05913658067584038, -0.7622119188308716, 0.28845182061195374, -0.7595148086547852, 1.9450812339782715, 1.7422376871109009, 1.4123508930206299, -0.13953177630901337, -0.9127258658409119, 0.6197271347045898, -0.32501301169395447, -0.3965897560119629, 0.9115726351737976, 0.4279373288154602, -0.1448863297700882, -1.4256649017333984, 0.6490936279296875, 1.2652212381362915, -0.8984401822090149, -0.7414612174034119, 0.11167894303798676, -0.778155505657196, 1.123316764831543, 0.6555609107017517, 0.41547128558158875, 0.23462563753128052, 1.6359812021255493, 0.7987842559814453, -0.4547819197177887, 0.5072164535522461, 0.600628137588501, -0.15385156869888306, -2.183232545852661, -1.1504484415054321, 0.3035666048526764, -0.4746381938457489, -1.5809530019760132, 1.3404037952423096, -1.1688793897628784, -0.9661926627159119, 0.5170718431472778, 0.0028085941448807716, 1.3831920623779297, 0.38294875621795654, 1.55730402469635, 2.0474536418914795, 0.8370591998100281, 0.4015195965766907, 1.2586661577224731, -0.13221876323223114, -0.4190422296524048, 1.8457589149475098, -0.4304603338241577, 0.45672956109046936, 1.1297403573989868, -0.3052600026130676, -1.150307536125183, -0.7271786332130432, -1.2718088626861572, -0.6564782857894897, 1.1304905414581299, 0.06757563352584839, -1.1119043827056885, 0.2709465026855469, 1.6098567247390747, 0.12924225628376007, -0.32988494634628296, 0.5487927198410034, 0.5117547512054443, -0.768129825592041, -0.08184446394443512, -0.9082704186439514, 0.5300318002700806, -0.21665678918361664, -0.4057484567165375, 0.40135905146598816, 0.4046059846878052, 1.2974083423614502, -0.05455036833882332, 0.10979834198951721, 1.1692224740982056, -1.4143270254135132, 1.5404353141784668, -0.6521878838539124, 0.24616797268390656, -2.4091923236846924, 1.3999111652374268, -0.7459032535552979, 1.9990676641464233, -2.666926622390747, 0.44068944454193115, -0.670932412147522, -0.4738788306713104, 0.37580981850624084, -0.3231883943080902, 0.00799284502863884, -0.12167157232761383, -1.1200075149536133, -0.06279866397380829, -0.6103615164756775, 0.5650267601013184, 1.1988235712051392, 1.2777924537658691, -1.096941351890564, -0.2524102032184601, -1.6910732984542847, -0.19329653680324554, -0.7270573377609253, 0.2900831401348114, -2.041196346282959, -0.16432909667491913, -1.917706847190857, -2.380506992340088, -1.2447383403778076, -0.8110319972038269, 1.0976587533950806, 0.1938614845275879, -0.8771762251853943, 1.2692558765411377, -0.37868067622184753, -1.7578593492507935, 1.0220550298690796, -2.075537919998169 ]
https://github.com/huggingface/datasets/issues/4349
Dataset.map()'s fails at any value of parameter writer_batch_size
I met with the same problem when doing some experiments about layoutlm. I tried to set the writer_batch_size to 1, and the error still exists. Is there any solutions to this problem?
## Describe the bug If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance. Context: I am attempting to fine-tune a pre-trained HuggingFace transformers model called LayoutLMv2. This model takes three inputs: document images, words and word bounding boxes. [The Processor for this model has two options](https://huggingface.co/docs/transformers/model_doc/layoutlmv2#usage-layoutlmv2processor), the default is passing a document to the Processor and allowing it to create images of the document and use PyTesseract to perform OCR and generate words/bounding boxes. The other option is to provide `revision="no_ocr"` to the pre-trained model which allows you to use your own OCR results (in my case, Amazon Textract) so you have to provide the image, words and bounding boxes yourself. I am using this second option which might be good context for the bug. I am using the Dataset.map() paradigm to create these three inputs, encode them and save the dataset. Note that my documents (data instances) on average are fairly large and can range from 1 page up to 300 pages. Code I am using is provided below ## Steps to reproduce the bug I do not have explicit sample code, but I will paste the code I'm using in case reading it helps. When `.map()` is called, the dataset has 2933 rows, many of which represent large pdf documents. ```python def get_encoded_data(data): dataset = Dataset.from_pandas(data) unique_labels = data['label'].unique() features = Features({ 'image': Array3D(dtype="int64", shape=(3, 224, 224)), 'input_ids': Sequence(feature=Value(dtype='int64')), 'attention_mask': Sequence(Value(dtype='int64')), 'token_type_ids': Sequence(Value(dtype='int64')), 'bbox': Array2D(dtype="int64", shape=(512, 4)), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) encoded_dataset = dataset.map(preprocess_data, features=features, remove_columns=dataset.column_names, writer_batch_size=dataset.num_rows+1) encoded_dataset.save_to_disk(TRAINING_DATA_PATH + ENCODED_DATASET_NAME) encoded_dataset.set_format(type="torch") return encoded_dataset ``` ```python PROCESSOR = LayoutLMv2Processor.from_pretrained(MODEL_PATH, revision="no_ocr", use_fast=False) def preprocess_data(examples): directory = os.path.join(FILES_PATH, examples['file_location']) images_dir = os.path.join(directory, PDF_IMAGE_DIR) textract_response_path = os.path.join(directory, 'textract.json') doc_meta_path = os.path.join(directory, 'doc_meta.json') textract_document = get_textract_document(textract_response_path, doc_meta_path) images, words, bboxes = get_doc_training_data(images_dir, textract_document) encoded_inputs = PROCESSOR(images, words, boxes=bboxes, padding="max_length", truncation=True) # https://github.com/NielsRogge/Transformers-Tutorials/issues/36 encoded_inputs["image"] = np.array(encoded_inputs["image"]) encoded_inputs["label"] = examples['label_id'] return encoded_inputs ``` ## Expected results My expectation is that `writer_batch_size` allows one to simply trade off performance and memory requirements, not that it must be a specific number for `.map()` to function correctly. ## Actual results If writer_batch_size is set to a value less than the number of rows, I get either: ``` OverflowError: There was an overflow with type <class 'list'>. Try to reduce writer_batch_size to have batches smaller than 2GB. (offset overflow while concatenating arrays) ``` or simply ``` zsh: killed python doc_classification.py UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown ``` If it is greater than the number of rows, i get the `zsh: killed` error above ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.1.0 - Platform: macOS-12.2.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 6.0.1 - Pandas version: 1.4.2
760
32
Dataset.map()'s fails at any value of parameter writer_batch_size ## Describe the bug If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance. Context: I am attempting to fine-tune a pre-trained HuggingFace transformers model called LayoutLMv2. This model takes three inputs: document images, words and word bounding boxes. [The Processor for this model has two options](https://huggingface.co/docs/transformers/model_doc/layoutlmv2#usage-layoutlmv2processor), the default is passing a document to the Processor and allowing it to create images of the document and use PyTesseract to perform OCR and generate words/bounding boxes. The other option is to provide `revision="no_ocr"` to the pre-trained model which allows you to use your own OCR results (in my case, Amazon Textract) so you have to provide the image, words and bounding boxes yourself. I am using this second option which might be good context for the bug. I am using the Dataset.map() paradigm to create these three inputs, encode them and save the dataset. Note that my documents (data instances) on average are fairly large and can range from 1 page up to 300 pages. Code I am using is provided below ## Steps to reproduce the bug I do not have explicit sample code, but I will paste the code I'm using in case reading it helps. When `.map()` is called, the dataset has 2933 rows, many of which represent large pdf documents. ```python def get_encoded_data(data): dataset = Dataset.from_pandas(data) unique_labels = data['label'].unique() features = Features({ 'image': Array3D(dtype="int64", shape=(3, 224, 224)), 'input_ids': Sequence(feature=Value(dtype='int64')), 'attention_mask': Sequence(Value(dtype='int64')), 'token_type_ids': Sequence(Value(dtype='int64')), 'bbox': Array2D(dtype="int64", shape=(512, 4)), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) encoded_dataset = dataset.map(preprocess_data, features=features, remove_columns=dataset.column_names, writer_batch_size=dataset.num_rows+1) encoded_dataset.save_to_disk(TRAINING_DATA_PATH + ENCODED_DATASET_NAME) encoded_dataset.set_format(type="torch") return encoded_dataset ``` ```python PROCESSOR = LayoutLMv2Processor.from_pretrained(MODEL_PATH, revision="no_ocr", use_fast=False) def preprocess_data(examples): directory = os.path.join(FILES_PATH, examples['file_location']) images_dir = os.path.join(directory, PDF_IMAGE_DIR) textract_response_path = os.path.join(directory, 'textract.json') doc_meta_path = os.path.join(directory, 'doc_meta.json') textract_document = get_textract_document(textract_response_path, doc_meta_path) images, words, bboxes = get_doc_training_data(images_dir, textract_document) encoded_inputs = PROCESSOR(images, words, boxes=bboxes, padding="max_length", truncation=True) # https://github.com/NielsRogge/Transformers-Tutorials/issues/36 encoded_inputs["image"] = np.array(encoded_inputs["image"]) encoded_inputs["label"] = examples['label_id'] return encoded_inputs ``` ## Expected results My expectation is that `writer_batch_size` allows one to simply trade off performance and memory requirements, not that it must be a specific number for `.map()` to function correctly. ## Actual results If writer_batch_size is set to a value less than the number of rows, I get either: ``` OverflowError: There was an overflow with type <class 'list'>. Try to reduce writer_batch_size to have batches smaller than 2GB. (offset overflow while concatenating arrays) ``` or simply ``` zsh: killed python doc_classification.py UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown ``` If it is greater than the number of rows, i get the `zsh: killed` error above ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.1.0 - Platform: macOS-12.2.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 6.0.1 - Pandas version: 1.4.2 I met with the same problem when doing some experiments about layoutlm. I tried to set the writer_batch_size to 1, and the error still exists. Is there any solutions to this problem?
[ -1.25897216796875, -0.9736562371253967, -0.7583965063095093, 1.5511164665222168, -0.21435335278511047, -1.256626844406128, 0.06937089562416077, -1.0330222845077515, 1.6731901168823242, -0.8561477065086365, 0.33457037806510925, -1.6195642948150635, 0.09062574803829193, -0.5467575192451477, -0.7664734721183777, -0.9078165292739868, -0.4079038202762604, -0.8212041854858398, 1.0962283611297607, 2.4919161796569824, 1.2359949350357056, -1.5247784852981567, 2.7609620094299316, 0.6780800819396973, -0.1461634486913681, -1.0473593473434448, 0.5495635271072388, -0.06353496015071869, -1.3208576440811157, -0.5337110161781311, -0.9726272821426392, -0.039313141256570816, -0.5211496353149414, -0.560425877571106, -0.016638729721307755, 0.4362662434577942, -0.2594316899776459, -0.5130680799484253, -0.5141150951385498, -0.750889241695404, 0.5143488049507141, -0.34098687767982483, 0.8714966773986816, -0.2908755838871002, 1.8191176652908325, -0.44849660992622375, 0.38031867146492004, 0.688669741153717, 1.4149999618530273, 0.1953354775905609, -0.0742904543876648, 0.39227086305618286, 0.370699942111969, -0.015681346878409386, 0.5209468603134155, 1.2153831720352173, 0.6891639828681946, 0.5004153251647949, 0.8035368919372559, -2.2336807250976562, 1.3509997129440308, -1.1139798164367676, 0.3783167600631714, 1.2711278200149536, -1.0192393064498901, 0.3094737231731415, -1.7534513473510742, -0.10222885012626648, 0.567186176776886, -2.164032220840454, 0.24848513305187225, -1.2563045024871826, -0.4358200132846832, 0.9770901799201965, 0.31635770201683044, -1.287237286567688, 0.166367769241333, -0.46925199031829834, 1.059696078300476, 0.4714924097061157, 1.1425933837890625, -1.662490725517273, -0.006450592540204525, -0.30196845531463623, 0.15076971054077148, -1.260032057762146, -1.6019006967544556, 0.5371491312980652, 0.5675166845321655, 0.5564674139022827, -0.13069042563438416, 1.063888430595398, -1.0242482423782349, 0.7847479581832886, -0.9794402122497559, -1.7000240087509155, -1.4417552947998047, -2.2308030128479004, -2.25353741645813, 0.7287023663520813, -0.520753026008606, -0.5609622597694397, 2.086165189743042, -1.0481839179992676, -1.7721874713897705, 1.1414684057235718, 0.28553053736686707, 0.013932611793279648, 2.375826835632324, 0.15759678184986115, -0.7410280108451843, 0.4527588188648224, -0.7140451669692993, 0.8017878532409668, -0.344491183757782, 1.3649007081985474, 0.4034171998500824, -1.0169146060943604, 1.5948389768600464, -0.35096126794815063, 0.549924910068512, -0.5851618051528931, -0.487675279378891, -0.7809721827507019, 0.37795644998550415, 1.891674280166626, -0.3651352524757385, 1.572021722793579, -0.4231608211994171, -1.5447125434875488, -1.6069791316986084, 0.9296532273292542, 0.4884273111820221, -0.7928199172019958, 0.13947822153568268, -0.38583776354789734, 0.1041206568479538, -0.005169661715626717, 1.1669304370880127, 1.2977774143218994, 0.6509414315223694, -0.3638976514339447, -0.8767713904380798, 0.13924072682857513, -0.13187888264656067, -0.591712236404419, -1.801626443862915, -0.33646535873413086, 0.10683535039424896, 0.6765260100364685, -1.1836583614349365, 1.6653785705566406, 0.9833858609199524, 1.9232858419418335, 1.0467276573181152, -0.33538317680358887, 1.4789162874221802, 0.10266730189323425, 1.831602931022644, -0.5302596688270569, 0.6476383209228516, -0.40740376710891724, -1.1620408296585083, 0.8556035757064819, -0.34521588683128357, -2.006819725036621, -0.7964944243431091, -0.7673978209495544, -0.21662569046020508, -0.7945572137832642, 0.9690441489219666, -0.29706010222435, -1.3742774724960327, 0.25444260239601135, -0.7242187261581421, 0.12638285756111145, -1.1487154960632324, 0.34872713685035706, 0.7401158809661865, -0.6593077778816223, 0.09657976031303406, -0.2577115297317505, -1.2978312969207764, -0.5099140405654907, 0.36524420976638794, 1.8467389345169067, -0.8196544051170349, 0.8651139140129089, 1.083544135093689, -0.6556012034416199, 0.016680443659424782, 0.2799365222454071, -0.30641454458236694, 0.8690338134765625, -1.0310842990875244, -0.46582189202308655, 1.1367286443710327, -0.22187842428684235, -0.5729385018348694, 1.4128042459487915, 0.6850627660751343, -0.9872748851776123, -0.19890916347503662, -0.1126265823841095, -0.9452165365219116, -0.010032505728304386, -1.5252066850662231, -0.17774701118469238, 0.3849518895149231, -1.576395034790039, -0.4857323467731476, -0.21985389292240143, 1.282677173614502, -0.1638369858264923, 1.5154297351837158, -0.39746201038360596, -0.1691465675830841, -0.299233615398407, -0.32482221722602844, 0.19034349918365479, -0.18920350074768066, -0.6574546694755554, 0.22755038738250732, -0.8650679588317871, 0.3405311107635498, 1.4115920066833496, 0.4003872573375702, 0.004912861622869968, 0.48710155487060547, 1.1649889945983887, 0.4047691524028778, -0.014326786622405052, -0.8185634613037109, -1.586113691329956, 2.083832025527954, -1.494301199913025, 1.9845272302627563, 0.7750041484832764, -0.022648733109235764, -1.792612910270691, -1.7760627269744873, 1.3787645101547241, 1.1309599876403809, 2.353294610977173, 0.600594699382782, 0.35850921273231506, -0.8210722208023071, -0.6283755898475647, 0.38546085357666016, -1.0183035135269165, -0.7311711311340332, 0.055227670818567276, 2.401475667953491, 1.756075143814087, -0.4015364944934845, -0.17118947207927704, -0.9607447385787964, 1.4069057703018188, -0.1403726190328598, 0.2279324233531952, 1.9673354625701904, -0.18199217319488525, -1.0602924823760986, 1.3193681240081787, -2.336916446685791, 0.17703279852867126, 2.091620445251465, 0.29276230931282043, 0.029985636472702026, -1.4183034896850586, -0.6046811938285828, -0.20239096879959106, -0.4797457754611969, -1.2901257276535034, 0.5356468558311462, -0.3118101954460144, -0.8094314932823181, -1.487101435661316, 0.11512888967990875, -1.1857200860977173, -1.6375030279159546, 0.31227633357048035, 1.928590178489685, 2.1096575260162354, -0.6627636551856995, 1.635941982269287, -0.288779616355896, 0.2543674409389496, 1.210767149925232, 1.198398232460022, 3.0753726959228516, 1.88967764377594, -1.2866547107696533, 0.5486850738525391, -0.10868200659751892, -0.49056383967399597, 1.106223702430725, -1.1340614557266235, 1.300517201423645, -0.08063679933547974, -1.1810858249664307, -1.165259838104248, 1.0296679735183716, 0.49988362193107605, 0.07145136594772339, -0.4790939688682556, 1.2052853107452393, 0.030856143683195114, 1.227247953414917, 0.5628440976142883, -0.32639509439468384, 0.5716257691383362, -0.4025571048259735, -0.6209354996681213, 1.534801721572876, 0.16523705422878265, -1.3713502883911133, -2.263920307159424, -0.19312423467636108, -0.78364497423172, 0.06398573517799377, -0.5838238596916199, -0.9501758217811584, 1.6124491691589355, 0.3458173871040344, -1.259543776512146, -0.3097415566444397, -0.40136849880218506, -0.6183016300201416, 2.6297600269317627, -1.3444530963897705, -0.23592600226402283, -0.975946307182312, -0.6632393002510071, 1.5801490545272827, -1.1907185316085815, -0.20083707571029663, -1.0186128616333008, -0.5950502753257751, -1.295287013053894, -0.6048128604888916, 0.011488689109683037, -0.8713889718055725, 0.805494487285614, 0.24565519392490387, -1.1738996505737305, -0.2976774275302887, -0.8119038343429565, 0.8751006126403809, -0.1609492152929306, 0.21980029344558716, 1.8459221124649048, 0.36323851346969604, -0.43051642179489136, 0.7834619283676147, 1.1449025869369507, 0.624089777469635, -0.5691666007041931, 0.1278647780418396, -0.6165252327919006, 0.30275511741638184, -1.2861688137054443, 0.34226930141448975, -2.848294973373413, 0.609748363494873, -0.026227852329611778, -0.06360456347465515, 0.012493101879954338, -1.32886803150177, 1.048210620880127, 2.6052796840667725, -1.186423897743225, 0.48056939244270325, 0.35865843296051025, 1.1870996952056885, -1.6137137413024902, 0.3536217212677002, -0.4569399058818817, 2.1831250190734863, 0.21675077080726624, 1.2133276462554932, -0.4853419065475464, -2.290235757827759, 0.5734135508537292, -1.2406471967697144, -1.157841682434082, 0.6993257999420166, -0.90419602394104, 0.06443548202514648, -1.5040125846862793, -0.2371150255203247, -0.8616888523101807, -1.15098237991333, 0.6969316601753235, 0.1472603976726532, 0.3336435556411743, -0.5701878070831299, 0.313302218914032, -2.129516839981079, -1.3739924430847168, -0.19438032805919647, -0.9398949146270752, 0.49093106389045715, -0.4026017189025879, 0.6842077970504761, -0.10051475465297699, 0.01127585768699646, 0.3312201499938965, 1.3969777822494507, 3.3643391132354736, 0.21293430030345917, 0.3705510199069977, -0.23840679228305817, -0.9207557439804077, 1.5164892673492432, 0.9243952035903931, -0.18127229809761047, -0.5685828924179077, -1.0605039596557617, 1.3231244087219238, 1.9537261724472046, 0.906034529209137, 0.042513445019721985, -0.7827684283256531, -0.699658989906311, -0.04187452793121338, 0.18386965990066528, 0.5304148197174072, 0.864538311958313, 0.06823104619979858, 0.0864725261926651, 1.484998106956482, 1.209636926651001, -0.49933692812919617, 0.4015851318836212, -0.8582859039306641, -0.4189394414424896, 0.41906940937042236, 0.28987741470336914, -0.04104389622807503, 0.32056915760040283, -0.937212347984314, -0.30634015798568726, -0.41959163546562195, -0.8831735253334045, -0.6798772811889648, -0.423608660697937, -0.32671380043029785, 1.6614220142364502, 0.20936790108680725, -0.6093133091926575, -0.10778340697288513, -0.8110847473144531, -0.17889657616615295, -1.1072320938110352, 0.275000661611557, -0.12393048405647278, -0.10333582758903503, -0.1068456768989563, 1.7672147750854492, -0.8735277056694031, -2.1799163818359375, 0.22168469429016113, 0.20012377202510834, -0.27769801020622253, 0.18875358998775482, 1.6461721658706665, 0.5378871560096741, 1.3937441110610962, 1.3417015075683594, 0.9674488306045532, -0.6199609041213989, -1.3182814121246338, 0.6953264474868774, 0.9962444305419922, -1.4669804573059082, 0.7659622430801392, -0.043075013905763626, -0.5445041060447693, 0.6899259686470032, 1.2923439741134644, 0.49777331948280334, -2.0734269618988037, 0.8943943381309509, -0.9296919703483582, 0.7893490791320801, 0.7173145413398743, 0.6336421370506287, 0.23624849319458008, 0.851961612701416, -1.263289451599121, -1.1780481338500977, -0.7771839499473572, -0.7320042848587036, 1.9973772764205933, -0.3256019353866577, 0.5665120482444763, -0.16907194256782532, -1.3736764192581177, -0.16982680559158325, 0.6458282470703125, 0.29062649607658386, -0.4432852864265442, 0.850822925567627, -0.6864508986473083, -1.1768795251846313, -1.4419275522232056, -0.42630231380462646, -0.9542816281318665, -0.9790540337562561, 1.0551209449768066, 0.810261070728302, 0.2561279237270355, 1.8967111110687256, 0.5966175198554993, 0.19588184356689453, -2.585432529449463, 0.9516775012016296, 0.3074168562889099, -0.08223482966423035, 0.863290548324585, 0.335676908493042, 1.0118508338928223, 0.047384146600961685, 0.5237991809844971, -2.449676036834717, 2.258573532104492, -0.1981150209903717, 0.764961302280426, -0.01574018783867359, -0.256526380777359, 1.1558058261871338, 0.5163029432296753, 0.6287287473678589, -1.0470976829528809, 0.6767749190330505, -0.6078060269355774, 1.2146121263504028, 0.927405595779419, -0.809231162071228, -0.07254023849964142, 1.3386130332946777, 0.4378241300582886, -0.5520976185798645, -0.9514764547348022, -0.9494333267211914, 0.9330958724021912, 1.7621264457702637, -0.04827091097831726, 0.05901552364230156, 0.7798187732696533, 0.6473488211631775, -1.2625045776367188, 0.11683578789234161, -0.6946225762367249, -0.8314641714096069, 1.6213922500610352, 2.0453176498413086, -0.21174821257591248, -0.17880168557167053, -0.6470606923103333, -1.3545103073120117, 0.7621699571609497, -0.07282735407352448, 0.1343064308166504, 0.6327678561210632, -0.6648952960968018, 1.0248770713806152, 0.9240574836730957, 0.9152640700340271, 0.09304830431938171, 0.2742326855659485, 0.4280011057853699, -0.31380337476730347, -1.033408522605896, -0.22326692938804626, -1.1081759929656982, -2.4881911277770996, 0.37054169178009033, -0.1789729744195938, -1.4088027477264404, 0.06735338270664215, -0.9631847143173218, 0.9308080673217773, -0.5086469650268555, -1.179240107536316, -1.4595248699188232, 0.1501874029636383, -0.049321725964546204, 0.9213314056396484, -1.5668227672576904, -0.10778528451919556, 1.2059314250946045, 0.8805606365203857, -0.6323967576026917, 1.0601963996887207, 0.2550005316734314, 1.0127912759780884, 0.8293588161468506, -0.41835179924964905, 0.4755624234676361, 0.08698154985904694, -1.335988998413086, 0.464534729719162, 1.1714335680007935, 0.15030960738658905, 1.4415749311447144, -0.5161910057067871, -0.0009153960272669792, 0.4317190945148468, -0.5635441541671753, -0.4578087031841278, -0.47572797536849976, 0.6869550943374634, 0.0026034582406282425, -0.8193466067314148, 0.028762929141521454, -0.010794577188789845, -0.29475998878479004, 0.15089860558509827, -1.5009814500808716, -0.14862775802612305, -0.395573228597641, -0.5920485854148865, -1.2585238218307495, -0.04150419682264328, 1.363556981086731, -0.7293006777763367, -0.29438501596450806, 0.4734713137149811, 0.4482490122318268, 0.5012732744216919, 0.6465684771537781, -0.6421356201171875, -0.3371354639530182, -0.19049875438213348, -0.33853957056999207, 0.2863319516181946, 1.3053691387176514, -0.13293664157390594, -0.9708569645881653, 0.6961480379104614, -0.37269818782806396, 0.015219511464238167, 1.887585163116455, 0.05913658067584038, -0.7622119188308716, 0.28845182061195374, -0.7595148086547852, 1.9450812339782715, 1.7422376871109009, 1.4123508930206299, -0.13953177630901337, -0.9127258658409119, 0.6197271347045898, -0.32501301169395447, -0.3965897560119629, 0.9115726351737976, 0.4279373288154602, -0.1448863297700882, -1.4256649017333984, 0.6490936279296875, 1.2652212381362915, -0.8984401822090149, -0.7414612174034119, 0.11167894303798676, -0.778155505657196, 1.123316764831543, 0.6555609107017517, 0.41547128558158875, 0.23462563753128052, 1.6359812021255493, 0.7987842559814453, -0.4547819197177887, 0.5072164535522461, 0.600628137588501, -0.15385156869888306, -2.183232545852661, -1.1504484415054321, 0.3035666048526764, -0.4746381938457489, -1.5809530019760132, 1.3404037952423096, -1.1688793897628784, -0.9661926627159119, 0.5170718431472778, 0.0028085941448807716, 1.3831920623779297, 0.38294875621795654, 1.55730402469635, 2.0474536418914795, 0.8370591998100281, 0.4015195965766907, 1.2586661577224731, -0.13221876323223114, -0.4190422296524048, 1.8457589149475098, -0.4304603338241577, 0.45672956109046936, 1.1297403573989868, -0.3052600026130676, -1.150307536125183, -0.7271786332130432, -1.2718088626861572, -0.6564782857894897, 1.1304905414581299, 0.06757563352584839, -1.1119043827056885, 0.2709465026855469, 1.6098567247390747, 0.12924225628376007, -0.32988494634628296, 0.5487927198410034, 0.5117547512054443, -0.768129825592041, -0.08184446394443512, -0.9082704186439514, 0.5300318002700806, -0.21665678918361664, -0.4057484567165375, 0.40135905146598816, 0.4046059846878052, 1.2974083423614502, -0.05455036833882332, 0.10979834198951721, 1.1692224740982056, -1.4143270254135132, 1.5404353141784668, -0.6521878838539124, 0.24616797268390656, -2.4091923236846924, 1.3999111652374268, -0.7459032535552979, 1.9990676641464233, -2.666926622390747, 0.44068944454193115, -0.670932412147522, -0.4738788306713104, 0.37580981850624084, -0.3231883943080902, 0.00799284502863884, -0.12167157232761383, -1.1200075149536133, -0.06279866397380829, -0.6103615164756775, 0.5650267601013184, 1.1988235712051392, 1.2777924537658691, -1.096941351890564, -0.2524102032184601, -1.6910732984542847, -0.19329653680324554, -0.7270573377609253, 0.2900831401348114, -2.041196346282959, -0.16432909667491913, -1.917706847190857, -2.380506992340088, -1.2447383403778076, -0.8110319972038269, 1.0976587533950806, 0.1938614845275879, -0.8771762251853943, 1.2692558765411377, -0.37868067622184753, -1.7578593492507935, 1.0220550298690796, -2.075537919998169 ]
https://github.com/huggingface/datasets/issues/4349
Dataset.map()'s fails at any value of parameter writer_batch_size
The problem lies in how your Features are defined. It's erroring out when it actually goes to write them to disk
## Describe the bug If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance. Context: I am attempting to fine-tune a pre-trained HuggingFace transformers model called LayoutLMv2. This model takes three inputs: document images, words and word bounding boxes. [The Processor for this model has two options](https://huggingface.co/docs/transformers/model_doc/layoutlmv2#usage-layoutlmv2processor), the default is passing a document to the Processor and allowing it to create images of the document and use PyTesseract to perform OCR and generate words/bounding boxes. The other option is to provide `revision="no_ocr"` to the pre-trained model which allows you to use your own OCR results (in my case, Amazon Textract) so you have to provide the image, words and bounding boxes yourself. I am using this second option which might be good context for the bug. I am using the Dataset.map() paradigm to create these three inputs, encode them and save the dataset. Note that my documents (data instances) on average are fairly large and can range from 1 page up to 300 pages. Code I am using is provided below ## Steps to reproduce the bug I do not have explicit sample code, but I will paste the code I'm using in case reading it helps. When `.map()` is called, the dataset has 2933 rows, many of which represent large pdf documents. ```python def get_encoded_data(data): dataset = Dataset.from_pandas(data) unique_labels = data['label'].unique() features = Features({ 'image': Array3D(dtype="int64", shape=(3, 224, 224)), 'input_ids': Sequence(feature=Value(dtype='int64')), 'attention_mask': Sequence(Value(dtype='int64')), 'token_type_ids': Sequence(Value(dtype='int64')), 'bbox': Array2D(dtype="int64", shape=(512, 4)), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) encoded_dataset = dataset.map(preprocess_data, features=features, remove_columns=dataset.column_names, writer_batch_size=dataset.num_rows+1) encoded_dataset.save_to_disk(TRAINING_DATA_PATH + ENCODED_DATASET_NAME) encoded_dataset.set_format(type="torch") return encoded_dataset ``` ```python PROCESSOR = LayoutLMv2Processor.from_pretrained(MODEL_PATH, revision="no_ocr", use_fast=False) def preprocess_data(examples): directory = os.path.join(FILES_PATH, examples['file_location']) images_dir = os.path.join(directory, PDF_IMAGE_DIR) textract_response_path = os.path.join(directory, 'textract.json') doc_meta_path = os.path.join(directory, 'doc_meta.json') textract_document = get_textract_document(textract_response_path, doc_meta_path) images, words, bboxes = get_doc_training_data(images_dir, textract_document) encoded_inputs = PROCESSOR(images, words, boxes=bboxes, padding="max_length", truncation=True) # https://github.com/NielsRogge/Transformers-Tutorials/issues/36 encoded_inputs["image"] = np.array(encoded_inputs["image"]) encoded_inputs["label"] = examples['label_id'] return encoded_inputs ``` ## Expected results My expectation is that `writer_batch_size` allows one to simply trade off performance and memory requirements, not that it must be a specific number for `.map()` to function correctly. ## Actual results If writer_batch_size is set to a value less than the number of rows, I get either: ``` OverflowError: There was an overflow with type <class 'list'>. Try to reduce writer_batch_size to have batches smaller than 2GB. (offset overflow while concatenating arrays) ``` or simply ``` zsh: killed python doc_classification.py UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown ``` If it is greater than the number of rows, i get the `zsh: killed` error above ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.1.0 - Platform: macOS-12.2.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 6.0.1 - Pandas version: 1.4.2
760
21
Dataset.map()'s fails at any value of parameter writer_batch_size ## Describe the bug If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance. Context: I am attempting to fine-tune a pre-trained HuggingFace transformers model called LayoutLMv2. This model takes three inputs: document images, words and word bounding boxes. [The Processor for this model has two options](https://huggingface.co/docs/transformers/model_doc/layoutlmv2#usage-layoutlmv2processor), the default is passing a document to the Processor and allowing it to create images of the document and use PyTesseract to perform OCR and generate words/bounding boxes. The other option is to provide `revision="no_ocr"` to the pre-trained model which allows you to use your own OCR results (in my case, Amazon Textract) so you have to provide the image, words and bounding boxes yourself. I am using this second option which might be good context for the bug. I am using the Dataset.map() paradigm to create these three inputs, encode them and save the dataset. Note that my documents (data instances) on average are fairly large and can range from 1 page up to 300 pages. Code I am using is provided below ## Steps to reproduce the bug I do not have explicit sample code, but I will paste the code I'm using in case reading it helps. When `.map()` is called, the dataset has 2933 rows, many of which represent large pdf documents. ```python def get_encoded_data(data): dataset = Dataset.from_pandas(data) unique_labels = data['label'].unique() features = Features({ 'image': Array3D(dtype="int64", shape=(3, 224, 224)), 'input_ids': Sequence(feature=Value(dtype='int64')), 'attention_mask': Sequence(Value(dtype='int64')), 'token_type_ids': Sequence(Value(dtype='int64')), 'bbox': Array2D(dtype="int64", shape=(512, 4)), 'label': ClassLabel(num_classes=len(unique_labels), names=unique_labels), }) encoded_dataset = dataset.map(preprocess_data, features=features, remove_columns=dataset.column_names, writer_batch_size=dataset.num_rows+1) encoded_dataset.save_to_disk(TRAINING_DATA_PATH + ENCODED_DATASET_NAME) encoded_dataset.set_format(type="torch") return encoded_dataset ``` ```python PROCESSOR = LayoutLMv2Processor.from_pretrained(MODEL_PATH, revision="no_ocr", use_fast=False) def preprocess_data(examples): directory = os.path.join(FILES_PATH, examples['file_location']) images_dir = os.path.join(directory, PDF_IMAGE_DIR) textract_response_path = os.path.join(directory, 'textract.json') doc_meta_path = os.path.join(directory, 'doc_meta.json') textract_document = get_textract_document(textract_response_path, doc_meta_path) images, words, bboxes = get_doc_training_data(images_dir, textract_document) encoded_inputs = PROCESSOR(images, words, boxes=bboxes, padding="max_length", truncation=True) # https://github.com/NielsRogge/Transformers-Tutorials/issues/36 encoded_inputs["image"] = np.array(encoded_inputs["image"]) encoded_inputs["label"] = examples['label_id'] return encoded_inputs ``` ## Expected results My expectation is that `writer_batch_size` allows one to simply trade off performance and memory requirements, not that it must be a specific number for `.map()` to function correctly. ## Actual results If writer_batch_size is set to a value less than the number of rows, I get either: ``` OverflowError: There was an overflow with type <class 'list'>. Try to reduce writer_batch_size to have batches smaller than 2GB. (offset overflow while concatenating arrays) ``` or simply ``` zsh: killed python doc_classification.py UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown ``` If it is greater than the number of rows, i get the `zsh: killed` error above ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.1.0 - Platform: macOS-12.2.1-arm64-arm-64bit - Python version: 3.9.12 - PyArrow version: 6.0.1 - Pandas version: 1.4.2 The problem lies in how your Features are defined. It's erroring out when it actually goes to write them to disk
[ -1.25897216796875, -0.9736562371253967, -0.7583965063095093, 1.5511164665222168, -0.21435335278511047, -1.256626844406128, 0.06937089562416077, -1.0330222845077515, 1.6731901168823242, -0.8561477065086365, 0.33457037806510925, -1.6195642948150635, 0.09062574803829193, -0.5467575192451477, -0.7664734721183777, -0.9078165292739868, -0.4079038202762604, -0.8212041854858398, 1.0962283611297607, 2.4919161796569824, 1.2359949350357056, -1.5247784852981567, 2.7609620094299316, 0.6780800819396973, -0.1461634486913681, -1.0473593473434448, 0.5495635271072388, -0.06353496015071869, -1.3208576440811157, -0.5337110161781311, -0.9726272821426392, -0.039313141256570816, -0.5211496353149414, -0.560425877571106, -0.016638729721307755, 0.4362662434577942, -0.2594316899776459, -0.5130680799484253, -0.5141150951385498, -0.750889241695404, 0.5143488049507141, -0.34098687767982483, 0.8714966773986816, -0.2908755838871002, 1.8191176652908325, -0.44849660992622375, 0.38031867146492004, 0.688669741153717, 1.4149999618530273, 0.1953354775905609, -0.0742904543876648, 0.39227086305618286, 0.370699942111969, -0.015681346878409386, 0.5209468603134155, 1.2153831720352173, 0.6891639828681946, 0.5004153251647949, 0.8035368919372559, -2.2336807250976562, 1.3509997129440308, -1.1139798164367676, 0.3783167600631714, 1.2711278200149536, -1.0192393064498901, 0.3094737231731415, -1.7534513473510742, -0.10222885012626648, 0.567186176776886, -2.164032220840454, 0.24848513305187225, -1.2563045024871826, -0.4358200132846832, 0.9770901799201965, 0.31635770201683044, -1.287237286567688, 0.166367769241333, -0.46925199031829834, 1.059696078300476, 0.4714924097061157, 1.1425933837890625, -1.662490725517273, -0.006450592540204525, -0.30196845531463623, 0.15076971054077148, -1.260032057762146, -1.6019006967544556, 0.5371491312980652, 0.5675166845321655, 0.5564674139022827, -0.13069042563438416, 1.063888430595398, -1.0242482423782349, 0.7847479581832886, -0.9794402122497559, -1.7000240087509155, -1.4417552947998047, -2.2308030128479004, -2.25353741645813, 0.7287023663520813, -0.520753026008606, -0.5609622597694397, 2.086165189743042, -1.0481839179992676, -1.7721874713897705, 1.1414684057235718, 0.28553053736686707, 0.013932611793279648, 2.375826835632324, 0.15759678184986115, -0.7410280108451843, 0.4527588188648224, -0.7140451669692993, 0.8017878532409668, -0.344491183757782, 1.3649007081985474, 0.4034171998500824, -1.0169146060943604, 1.5948389768600464, -0.35096126794815063, 0.549924910068512, -0.5851618051528931, -0.487675279378891, -0.7809721827507019, 0.37795644998550415, 1.891674280166626, -0.3651352524757385, 1.572021722793579, -0.4231608211994171, -1.5447125434875488, -1.6069791316986084, 0.9296532273292542, 0.4884273111820221, -0.7928199172019958, 0.13947822153568268, -0.38583776354789734, 0.1041206568479538, -0.005169661715626717, 1.1669304370880127, 1.2977774143218994, 0.6509414315223694, -0.3638976514339447, -0.8767713904380798, 0.13924072682857513, -0.13187888264656067, -0.591712236404419, -1.801626443862915, -0.33646535873413086, 0.10683535039424896, 0.6765260100364685, -1.1836583614349365, 1.6653785705566406, 0.9833858609199524, 1.9232858419418335, 1.0467276573181152, -0.33538317680358887, 1.4789162874221802, 0.10266730189323425, 1.831602931022644, -0.5302596688270569, 0.6476383209228516, -0.40740376710891724, -1.1620408296585083, 0.8556035757064819, -0.34521588683128357, -2.006819725036621, -0.7964944243431091, -0.7673978209495544, -0.21662569046020508, -0.7945572137832642, 0.9690441489219666, -0.29706010222435, -1.3742774724960327, 0.25444260239601135, -0.7242187261581421, 0.12638285756111145, -1.1487154960632324, 0.34872713685035706, 0.7401158809661865, -0.6593077778816223, 0.09657976031303406, -0.2577115297317505, -1.2978312969207764, -0.5099140405654907, 0.36524420976638794, 1.8467389345169067, -0.8196544051170349, 0.8651139140129089, 1.083544135093689, -0.6556012034416199, 0.016680443659424782, 0.2799365222454071, -0.30641454458236694, 0.8690338134765625, -1.0310842990875244, -0.46582189202308655, 1.1367286443710327, -0.22187842428684235, -0.5729385018348694, 1.4128042459487915, 0.6850627660751343, -0.9872748851776123, -0.19890916347503662, -0.1126265823841095, -0.9452165365219116, -0.010032505728304386, -1.5252066850662231, -0.17774701118469238, 0.3849518895149231, -1.576395034790039, -0.4857323467731476, -0.21985389292240143, 1.282677173614502, -0.1638369858264923, 1.5154297351837158, -0.39746201038360596, -0.1691465675830841, -0.299233615398407, -0.32482221722602844, 0.19034349918365479, -0.18920350074768066, -0.6574546694755554, 0.22755038738250732, -0.8650679588317871, 0.3405311107635498, 1.4115920066833496, 0.4003872573375702, 0.004912861622869968, 0.48710155487060547, 1.1649889945983887, 0.4047691524028778, -0.014326786622405052, -0.8185634613037109, -1.586113691329956, 2.083832025527954, -1.494301199913025, 1.9845272302627563, 0.7750041484832764, -0.022648733109235764, -1.792612910270691, -1.7760627269744873, 1.3787645101547241, 1.1309599876403809, 2.353294610977173, 0.600594699382782, 0.35850921273231506, -0.8210722208023071, -0.6283755898475647, 0.38546085357666016, -1.0183035135269165, -0.7311711311340332, 0.055227670818567276, 2.401475667953491, 1.756075143814087, -0.4015364944934845, -0.17118947207927704, -0.9607447385787964, 1.4069057703018188, -0.1403726190328598, 0.2279324233531952, 1.9673354625701904, -0.18199217319488525, -1.0602924823760986, 1.3193681240081787, -2.336916446685791, 0.17703279852867126, 2.091620445251465, 0.29276230931282043, 0.029985636472702026, -1.4183034896850586, -0.6046811938285828, -0.20239096879959106, -0.4797457754611969, -1.2901257276535034, 0.5356468558311462, -0.3118101954460144, -0.8094314932823181, -1.487101435661316, 0.11512888967990875, -1.1857200860977173, -1.6375030279159546, 0.31227633357048035, 1.928590178489685, 2.1096575260162354, -0.6627636551856995, 1.635941982269287, -0.288779616355896, 0.2543674409389496, 1.210767149925232, 1.198398232460022, 3.0753726959228516, 1.88967764377594, -1.2866547107696533, 0.5486850738525391, -0.10868200659751892, -0.49056383967399597, 1.106223702430725, -1.1340614557266235, 1.300517201423645, -0.08063679933547974, -1.1810858249664307, -1.165259838104248, 1.0296679735183716, 0.49988362193107605, 0.07145136594772339, -0.4790939688682556, 1.2052853107452393, 0.030856143683195114, 1.227247953414917, 0.5628440976142883, -0.32639509439468384, 0.5716257691383362, -0.4025571048259735, -0.6209354996681213, 1.534801721572876, 0.16523705422878265, -1.3713502883911133, -2.263920307159424, -0.19312423467636108, -0.78364497423172, 0.06398573517799377, -0.5838238596916199, -0.9501758217811584, 1.6124491691589355, 0.3458173871040344, -1.259543776512146, -0.3097415566444397, -0.40136849880218506, -0.6183016300201416, 2.6297600269317627, -1.3444530963897705, -0.23592600226402283, -0.975946307182312, -0.6632393002510071, 1.5801490545272827, -1.1907185316085815, -0.20083707571029663, -1.0186128616333008, -0.5950502753257751, -1.295287013053894, -0.6048128604888916, 0.011488689109683037, -0.8713889718055725, 0.805494487285614, 0.24565519392490387, -1.1738996505737305, -0.2976774275302887, -0.8119038343429565, 0.8751006126403809, -0.1609492152929306, 0.21980029344558716, 1.8459221124649048, 0.36323851346969604, -0.43051642179489136, 0.7834619283676147, 1.1449025869369507, 0.624089777469635, -0.5691666007041931, 0.1278647780418396, -0.6165252327919006, 0.30275511741638184, -1.2861688137054443, 0.34226930141448975, -2.848294973373413, 0.609748363494873, -0.026227852329611778, -0.06360456347465515, 0.012493101879954338, -1.32886803150177, 1.048210620880127, 2.6052796840667725, -1.186423897743225, 0.48056939244270325, 0.35865843296051025, 1.1870996952056885, -1.6137137413024902, 0.3536217212677002, -0.4569399058818817, 2.1831250190734863, 0.21675077080726624, 1.2133276462554932, -0.4853419065475464, -2.290235757827759, 0.5734135508537292, -1.2406471967697144, -1.157841682434082, 0.6993257999420166, -0.90419602394104, 0.06443548202514648, -1.5040125846862793, -0.2371150255203247, -0.8616888523101807, -1.15098237991333, 0.6969316601753235, 0.1472603976726532, 0.3336435556411743, -0.5701878070831299, 0.313302218914032, -2.129516839981079, -1.3739924430847168, -0.19438032805919647, -0.9398949146270752, 0.49093106389045715, -0.4026017189025879, 0.6842077970504761, -0.10051475465297699, 0.01127585768699646, 0.3312201499938965, 1.3969777822494507, 3.3643391132354736, 0.21293430030345917, 0.3705510199069977, -0.23840679228305817, -0.9207557439804077, 1.5164892673492432, 0.9243952035903931, -0.18127229809761047, -0.5685828924179077, -1.0605039596557617, 1.3231244087219238, 1.9537261724472046, 0.906034529209137, 0.042513445019721985, -0.7827684283256531, -0.699658989906311, -0.04187452793121338, 0.18386965990066528, 0.5304148197174072, 0.864538311958313, 0.06823104619979858, 0.0864725261926651, 1.484998106956482, 1.209636926651001, -0.49933692812919617, 0.4015851318836212, -0.8582859039306641, -0.4189394414424896, 0.41906940937042236, 0.28987741470336914, -0.04104389622807503, 0.32056915760040283, -0.937212347984314, -0.30634015798568726, -0.41959163546562195, -0.8831735253334045, -0.6798772811889648, -0.423608660697937, -0.32671380043029785, 1.6614220142364502, 0.20936790108680725, -0.6093133091926575, -0.10778340697288513, -0.8110847473144531, -0.17889657616615295, -1.1072320938110352, 0.275000661611557, -0.12393048405647278, -0.10333582758903503, -0.1068456768989563, 1.7672147750854492, -0.8735277056694031, -2.1799163818359375, 0.22168469429016113, 0.20012377202510834, -0.27769801020622253, 0.18875358998775482, 1.6461721658706665, 0.5378871560096741, 1.3937441110610962, 1.3417015075683594, 0.9674488306045532, -0.6199609041213989, -1.3182814121246338, 0.6953264474868774, 0.9962444305419922, -1.4669804573059082, 0.7659622430801392, -0.043075013905763626, -0.5445041060447693, 0.6899259686470032, 1.2923439741134644, 0.49777331948280334, -2.0734269618988037, 0.8943943381309509, -0.9296919703483582, 0.7893490791320801, 0.7173145413398743, 0.6336421370506287, 0.23624849319458008, 0.851961612701416, -1.263289451599121, -1.1780481338500977, -0.7771839499473572, -0.7320042848587036, 1.9973772764205933, -0.3256019353866577, 0.5665120482444763, -0.16907194256782532, -1.3736764192581177, -0.16982680559158325, 0.6458282470703125, 0.29062649607658386, -0.4432852864265442, 0.850822925567627, -0.6864508986473083, -1.1768795251846313, -1.4419275522232056, -0.42630231380462646, -0.9542816281318665, -0.9790540337562561, 1.0551209449768066, 0.810261070728302, 0.2561279237270355, 1.8967111110687256, 0.5966175198554993, 0.19588184356689453, -2.585432529449463, 0.9516775012016296, 0.3074168562889099, -0.08223482966423035, 0.863290548324585, 0.335676908493042, 1.0118508338928223, 0.047384146600961685, 0.5237991809844971, -2.449676036834717, 2.258573532104492, -0.1981150209903717, 0.764961302280426, -0.01574018783867359, -0.256526380777359, 1.1558058261871338, 0.5163029432296753, 0.6287287473678589, -1.0470976829528809, 0.6767749190330505, -0.6078060269355774, 1.2146121263504028, 0.927405595779419, -0.809231162071228, -0.07254023849964142, 1.3386130332946777, 0.4378241300582886, -0.5520976185798645, -0.9514764547348022, -0.9494333267211914, 0.9330958724021912, 1.7621264457702637, -0.04827091097831726, 0.05901552364230156, 0.7798187732696533, 0.6473488211631775, -1.2625045776367188, 0.11683578789234161, -0.6946225762367249, -0.8314641714096069, 1.6213922500610352, 2.0453176498413086, -0.21174821257591248, -0.17880168557167053, -0.6470606923103333, -1.3545103073120117, 0.7621699571609497, -0.07282735407352448, 0.1343064308166504, 0.6327678561210632, -0.6648952960968018, 1.0248770713806152, 0.9240574836730957, 0.9152640700340271, 0.09304830431938171, 0.2742326855659485, 0.4280011057853699, -0.31380337476730347, -1.033408522605896, -0.22326692938804626, -1.1081759929656982, -2.4881911277770996, 0.37054169178009033, -0.1789729744195938, -1.4088027477264404, 0.06735338270664215, -0.9631847143173218, 0.9308080673217773, -0.5086469650268555, -1.179240107536316, -1.4595248699188232, 0.1501874029636383, -0.049321725964546204, 0.9213314056396484, -1.5668227672576904, -0.10778528451919556, 1.2059314250946045, 0.8805606365203857, -0.6323967576026917, 1.0601963996887207, 0.2550005316734314, 1.0127912759780884, 0.8293588161468506, -0.41835179924964905, 0.4755624234676361, 0.08698154985904694, -1.335988998413086, 0.464534729719162, 1.1714335680007935, 0.15030960738658905, 1.4415749311447144, -0.5161910057067871, -0.0009153960272669792, 0.4317190945148468, -0.5635441541671753, -0.4578087031841278, -0.47572797536849976, 0.6869550943374634, 0.0026034582406282425, -0.8193466067314148, 0.028762929141521454, -0.010794577188789845, -0.29475998878479004, 0.15089860558509827, -1.5009814500808716, -0.14862775802612305, -0.395573228597641, -0.5920485854148865, -1.2585238218307495, -0.04150419682264328, 1.363556981086731, -0.7293006777763367, -0.29438501596450806, 0.4734713137149811, 0.4482490122318268, 0.5012732744216919, 0.6465684771537781, -0.6421356201171875, -0.3371354639530182, -0.19049875438213348, -0.33853957056999207, 0.2863319516181946, 1.3053691387176514, -0.13293664157390594, -0.9708569645881653, 0.6961480379104614, -0.37269818782806396, 0.015219511464238167, 1.887585163116455, 0.05913658067584038, -0.7622119188308716, 0.28845182061195374, -0.7595148086547852, 1.9450812339782715, 1.7422376871109009, 1.4123508930206299, -0.13953177630901337, -0.9127258658409119, 0.6197271347045898, -0.32501301169395447, -0.3965897560119629, 0.9115726351737976, 0.4279373288154602, -0.1448863297700882, -1.4256649017333984, 0.6490936279296875, 1.2652212381362915, -0.8984401822090149, -0.7414612174034119, 0.11167894303798676, -0.778155505657196, 1.123316764831543, 0.6555609107017517, 0.41547128558158875, 0.23462563753128052, 1.6359812021255493, 0.7987842559814453, -0.4547819197177887, 0.5072164535522461, 0.600628137588501, -0.15385156869888306, -2.183232545852661, -1.1504484415054321, 0.3035666048526764, -0.4746381938457489, -1.5809530019760132, 1.3404037952423096, -1.1688793897628784, -0.9661926627159119, 0.5170718431472778, 0.0028085941448807716, 1.3831920623779297, 0.38294875621795654, 1.55730402469635, 2.0474536418914795, 0.8370591998100281, 0.4015195965766907, 1.2586661577224731, -0.13221876323223114, -0.4190422296524048, 1.8457589149475098, -0.4304603338241577, 0.45672956109046936, 1.1297403573989868, -0.3052600026130676, -1.150307536125183, -0.7271786332130432, -1.2718088626861572, -0.6564782857894897, 1.1304905414581299, 0.06757563352584839, -1.1119043827056885, 0.2709465026855469, 1.6098567247390747, 0.12924225628376007, -0.32988494634628296, 0.5487927198410034, 0.5117547512054443, -0.768129825592041, -0.08184446394443512, -0.9082704186439514, 0.5300318002700806, -0.21665678918361664, -0.4057484567165375, 0.40135905146598816, 0.4046059846878052, 1.2974083423614502, -0.05455036833882332, 0.10979834198951721, 1.1692224740982056, -1.4143270254135132, 1.5404353141784668, -0.6521878838539124, 0.24616797268390656, -2.4091923236846924, 1.3999111652374268, -0.7459032535552979, 1.9990676641464233, -2.666926622390747, 0.44068944454193115, -0.670932412147522, -0.4738788306713104, 0.37580981850624084, -0.3231883943080902, 0.00799284502863884, -0.12167157232761383, -1.1200075149536133, -0.06279866397380829, -0.6103615164756775, 0.5650267601013184, 1.1988235712051392, 1.2777924537658691, -1.096941351890564, -0.2524102032184601, -1.6910732984542847, -0.19329653680324554, -0.7270573377609253, 0.2900831401348114, -2.041196346282959, -0.16432909667491913, -1.917706847190857, -2.380506992340088, -1.2447383403778076, -0.8110319972038269, 1.0976587533950806, 0.1938614845275879, -0.8771762251853943, 1.2692558765411377, -0.37868067622184753, -1.7578593492507935, 1.0220550298690796, -2.075537919998169 ]
https://github.com/huggingface/datasets/issues/4348
`inspect` functions can't fetch dataset script from the Hub
Hi, thanks for reporting! `git bisect` points to #2986 as the PR that introduced the bug. Since then, there have been some additional changes to the loading logic, and in the current state, `force_local_path` (set via `local_path`) forbids pulling a script from the internet instead of downloading it: https://github.com/huggingface/datasets/blob/cfae0545b2ba05452e16136cacc7d370b4b186a1/src/datasets/inspect.py#L89-L91 cc @lhoestq: `force_local_path` is only used in `inspect_dataset` and `inspect_metric`. Is it OK if we revert the behavior to match the old one?
The `inspect_dataset` and `inspect_metric` functions are unable to retrieve a dataset or metric script from the Hub and store it locally at the specified `local_path`: ```py >>> from datasets import inspect_dataset >>> inspect_dataset('rotten_tomatoes', local_path='path/to/my/local/folder') FileNotFoundError: Couldn't find a dataset script at /content/rotten_tomatoes/rotten_tomatoes.py or any data file in the same directory. ```
761
72
`inspect` functions can't fetch dataset script from the Hub The `inspect_dataset` and `inspect_metric` functions are unable to retrieve a dataset or metric script from the Hub and store it locally at the specified `local_path`: ```py >>> from datasets import inspect_dataset >>> inspect_dataset('rotten_tomatoes', local_path='path/to/my/local/folder') FileNotFoundError: Couldn't find a dataset script at /content/rotten_tomatoes/rotten_tomatoes.py or any data file in the same directory. ``` Hi, thanks for reporting! `git bisect` points to #2986 as the PR that introduced the bug. Since then, there have been some additional changes to the loading logic, and in the current state, `force_local_path` (set via `local_path`) forbids pulling a script from the internet instead of downloading it: https://github.com/huggingface/datasets/blob/cfae0545b2ba05452e16136cacc7d370b4b186a1/src/datasets/inspect.py#L89-L91 cc @lhoestq: `force_local_path` is only used in `inspect_dataset` and `inspect_metric`. Is it OK if we revert the behavior to match the old one?
[ -1.1450200080871582, -0.8845184445381165, -0.7777014970779419, 1.4523006677627563, -0.12712238729000092, -1.3215950727462769, 0.0917099267244339, -1.1186591386795044, 1.656712532043457, -0.7844508290290833, 0.2575882077217102, -1.6721969842910767, -0.021012816578149796, -0.6313656568527222, -0.7797448039054871, -0.9143109917640686, -0.3696238100528717, -0.811232328414917, 1.025275707244873, 2.4431498050689697, 1.287072777748108, -1.3701813220977783, 2.6514687538146973, 0.6755195260047913, -0.2737340033054352, -0.9926862716674805, 0.41948699951171875, 0.021418727934360504, -1.140409231185913, -0.5377020239830017, -0.7928438186645508, -0.03020392917096615, -0.6294519901275635, -0.5841817855834961, 0.047329436987638474, 0.41532495617866516, -0.3153381645679474, -0.34300124645233154, -0.49178966879844666, -0.8388117551803589, 0.520866334438324, -0.3881871700286865, 0.9625532031059265, -0.34949204325675964, 1.8077778816223145, -0.6117814183235168, 0.3464648127555847, 0.7185594439506531, 1.3407994508743286, 0.14498910307884216, -0.004731540102511644, 0.29105135798454285, 0.29459619522094727, -0.020025061443448067, 0.5162004828453064, 1.1019129753112793, 0.6563352346420288, 0.5468392968177795, 0.7225598692893982, -2.2927896976470947, 1.2293570041656494, -1.0202447175979614, 0.235179603099823, 1.3560662269592285, -0.9569701552391052, 0.33865073323249817, -1.808331847190857, -0.0053937602788209915, 0.5949446558952332, -2.3060081005096436, 0.29050663113594055, -1.29100501537323, -0.4517461955547333, 1.024989366531372, 0.2343747913837433, -1.2082974910736084, 0.14070244133472443, -0.3736896812915802, 1.0789681673049927, 0.5289940237998962, 1.043506145477295, -1.8301661014556885, 0.023240230977535248, -0.28024494647979736, 0.0926750898361206, -1.3464752435684204, -1.567710280418396, 0.4787662625312805, 0.6092049479484558, 0.6636191606521606, -0.10412399470806122, 1.0834763050079346, -0.9417814016342163, 0.7018842101097107, -0.9780201315879822, -1.635210633277893, -1.333205223083496, -2.2160916328430176, -2.2724719047546387, 0.7641218304634094, -0.5217325687408447, -0.578357994556427, 2.013078451156616, -1.0107213258743286, -1.8610074520111084, 1.1326098442077637, 0.3521023094654083, 0.03055354207754135, 2.356548547744751, 0.19493424892425537, -0.7167940735816956, 0.40119147300720215, -0.6822600364685059, 0.7918195724487305, -0.39407384395599365, 1.362076759338379, 0.5633912086486816, -1.071426272392273, 1.6880735158920288, -0.46723198890686035, 0.6880378127098083, -0.7566958665847778, -0.5435155034065247, -0.8665128350257874, 0.3084203898906708, 1.8676645755767822, -0.3591425120830536, 1.6087346076965332, -0.3297407031059265, -1.5113575458526611, -1.550516128540039, 0.9164664149284363, 0.45150697231292725, -0.8750367164611816, 0.13368898630142212, -0.3999902009963989, 0.16520079970359802, -0.18024003505706787, 1.0589083433151245, 1.1416655778884888, 0.6551671624183655, -0.37712541222572327, -0.8723610043525696, 0.28748056292533875, 0.018264370039105415, -0.7023670077323914, -1.8201825618743896, -0.34397152066230774, 0.16253124177455902, 0.6482080221176147, -1.1219685077667236, 1.747483253479004, 0.807654619216919, 1.906564712524414, 0.956242561340332, -0.33941975235939026, 1.492442011833191, 0.02874235436320305, 1.9455080032348633, -0.5107411742210388, 0.687615156173706, -0.3763931691646576, -1.1653022766113281, 0.8664237856864929, -0.31388768553733826, -2.00929856300354, -0.7929367423057556, -0.7905529141426086, -0.19253218173980713, -0.7509353756904602, 0.8911249041557312, -0.30982840061187744, -1.4896674156188965, 0.24160602688789368, -0.5912445783615112, 0.30441221594810486, -1.2480930089950562, 0.36445164680480957, 0.7407082319259644, -0.6992800235748291, 0.010521233081817627, -0.29772549867630005, -1.276261568069458, -0.4824787974357605, 0.3255650997161865, 1.9587249755859375, -0.7107052803039551, 0.9156920313835144, 0.9984931349754333, -0.6899906992912292, 0.0586199052631855, 0.26082614064216614, -0.21005728840827942, 0.83011394739151, -1.1091670989990234, -0.3834749460220337, 1.3129287958145142, -0.23028351366519928, -0.6595311760902405, 1.5023858547210693, 0.8165345788002014, -1.0272716283798218, -0.1279488354921341, -0.3054354786872864, -0.775538444519043, -0.0674491673707962, -1.5727899074554443, -0.08732813596725464, 0.4297185242176056, -1.4523649215698242, -0.35675400495529175, -0.16538578271865845, 1.3112096786499023, -0.24838267266750336, 1.4387564659118652, -0.34056830406188965, -0.1870008409023285, -0.31916287541389465, -0.37690630555152893, 0.15262863039970398, -0.1082732081413269, -0.6639933586120605, 0.1227002888917923, -0.7339150309562683, 0.32658660411834717, 1.4009233713150024, 0.331430047750473, 0.06868334114551544, 0.4473055899143219, 1.1934293508529663, 0.25064072012901306, -0.009483925066888332, -0.8818396925926208, -1.534392237663269, 2.003828287124634, -1.4395016431808472, 1.9765530824661255, 0.6492084860801697, -0.06625312566757202, -1.6581522226333618, -1.8466633558273315, 1.3497381210327148, 1.1570245027542114, 2.297516345977783, 0.5644391179084778, 0.4063262343406677, -0.8459601998329163, -0.6968138813972473, 0.369381844997406, -1.0353214740753174, -0.7298360466957092, 0.15084289014339447, 2.3723347187042236, 1.744491457939148, -0.4435442090034485, -0.25100648403167725, -1.0140291452407837, 1.2954145669937134, -0.30602461099624634, 0.2612083852291107, 2.0208964347839355, -0.2945617735385895, -1.1589131355285645, 1.2864500284194946, -2.405683994293213, 0.156306192278862, 2.097646713256836, 0.2920122742652893, 0.1585056185722351, -1.367846965789795, -0.6195675134658813, -0.204033762216568, -0.3821735084056854, -1.2952139377593994, 0.5192461609840393, -0.3591417074203491, -0.7116788029670715, -1.421751856803894, 0.21739576756954193, -1.0538591146469116, -1.6653908491134644, 0.2878246009349823, 1.963992714881897, 1.959041714668274, -0.7001477479934692, 1.4891077280044556, -0.294096976518631, 0.1607641726732254, 1.3529400825500488, 1.349321961402893, 3.088351011276245, 1.8167473077774048, -1.3318780660629272, 0.6894376277923584, -0.20328402519226074, -0.5762400031089783, 1.2814711332321167, -1.1749012470245361, 1.1675695180892944, -0.2511198818683624, -1.2634087800979614, -1.3523963689804077, 0.9390763640403748, 0.4912775754928589, 0.15407848358154297, -0.5225222706794739, 1.2352306842803955, 0.018064910545945168, 1.313377022743225, 0.5914986729621887, -0.5181195139884949, 0.6117804050445557, -0.44575873017311096, -0.5177148580551147, 1.6017813682556152, 0.20364244282245636, -1.351657509803772, -2.3497633934020996, -0.21301551163196564, -0.8570309281349182, 0.011755093932151794, -0.5791604518890381, -1.0478131771087646, 1.673707127571106, 0.3935096263885498, -1.2935781478881836, -0.2512693703174591, -0.34188687801361084, -0.5407931208610535, 2.5955138206481934, -1.4040919542312622, -0.21539607644081116, -1.021615743637085, -0.6225531697273254, 1.66567063331604, -1.1934988498687744, -0.27344372868537903, -0.9807665944099426, -0.601963460445404, -1.3555614948272705, -0.5612367987632751, -0.01268455758690834, -0.9630481004714966, 0.8679588437080383, 0.2802980840206146, -1.2188359498977661, -0.30178365111351013, -0.8400353193283081, 0.8895221948623657, -0.15946121513843536, 0.36224013566970825, 1.8605350255966187, 0.4645642340183258, -0.3792388439178467, 0.7590042948722839, 1.1400946378707886, 0.6432631611824036, -0.6160012483596802, 0.1948494166135788, -0.6794737577438354, 0.3435826301574707, -1.4085302352905273, 0.23688212037086487, -2.868647336959839, 0.6760740876197815, -0.11849696934223175, -0.043344009667634964, -0.053406208753585815, -1.368574619293213, 1.0115485191345215, 2.689453363418579, -1.1850597858428955, 0.4501122832298279, 0.3312833309173584, 1.1940107345581055, -1.5964139699935913, 0.21797454357147217, -0.3888065814971924, 2.1645569801330566, 0.14053809642791748, 1.3564776182174683, -0.3890429735183716, -2.3776140213012695, 0.6039171814918518, -1.2302485704421997, -1.2064039707183838, 0.8674654364585876, -0.8019999861717224, 0.05776168033480644, -1.4733641147613525, -0.21980351209640503, -0.9162139296531677, -1.2625960111618042, 0.8701227903366089, 0.04476315528154373, 0.4935644865036011, -0.6339640021324158, 0.3611062467098236, -2.115962028503418, -1.241820216178894, -0.18429002165794373, -1.0231599807739258, 0.4739929437637329, -0.3520476818084717, 0.6097135543823242, -0.13882771134376526, -0.003160152118653059, 0.35289090871810913, 1.51011323928833, 3.423518419265747, 0.32983627915382385, 0.30224260687828064, -0.1691809445619583, -0.9049360752105713, 1.369969367980957, 0.9036701321601868, -0.09014512598514557, -0.522180438041687, -0.9952815175056458, 1.2598787546157837, 1.959912896156311, 0.9650660157203674, 0.013966139405965805, -0.7856482267379761, -0.7076972723007202, -0.11127471923828125, 0.13997580111026764, 0.534789502620697, 0.8930997252464294, 0.055606793612241745, 0.07490009069442749, 1.2315917015075684, 1.2095656394958496, -0.41779929399490356, 0.35738611221313477, -0.8702002763748169, -0.45761802792549133, 0.573607861995697, 0.24824273586273193, -0.02460964024066925, 0.3630587160587311, -0.9616576433181763, -0.19922024011611938, -0.4240000545978546, -0.8778682947158813, -0.7772581577301025, -0.4790085256099701, -0.341022253036499, 1.5836366415023804, 0.056992482393980026, -0.5449842810630798, -0.009633810259401798, -0.8004951477050781, -0.12317639589309692, -1.0626909732818604, 0.2082558274269104, -0.1673741638660431, -0.16671012341976166, -0.10313408076763153, 1.6475828886032104, -1.0115786790847778, -1.9554466009140015, 0.24305856227874756, 0.2995527982711792, -0.4348342716693878, 0.22272062301635742, 1.740956425666809, 0.43728774785995483, 1.426851511001587, 1.3085795640945435, 0.9707110524177551, -0.6876628398895264, -1.243121862411499, 0.6849762797355652, 0.9220260977745056, -1.4328436851501465, 0.919297456741333, 0.03234230354428291, -0.5295935869216919, 0.5675127506256104, 1.2942532300949097, 0.5066461563110352, -1.9789118766784668, 0.7491328120231628, -0.9732913374900818, 0.7136914134025574, 0.7535169720649719, 0.7812381386756897, 0.27925583720207214, 0.8767870664596558, -1.2234829664230347, -1.1307426691055298, -0.6876341700553894, -0.6574103236198425, 1.8153901100158691, -0.26182061433792114, 0.5633397102355957, -0.08459420502185822, -1.3010400533676147, -0.15388548374176025, 0.8275004625320435, 0.39202848076820374, -0.4321950078010559, 0.761634349822998, -0.6610108613967896, -0.9801812171936035, -1.3159677982330322, -0.5050472617149353, -1.0328718423843384, -0.8352770209312439, 1.006269931793213, 0.8319234848022461, 0.24183911085128784, 1.8682419061660767, 0.6640586256980896, 0.2686992287635803, -2.597673177719116, 0.892320990562439, 0.32418546080589294, -0.14739592373371124, 0.9042549133300781, 0.3107878565788269, 0.9928645491600037, 0.1062140017747879, 0.5416022539138794, -2.390819787979126, 2.28425931930542, -0.2613571286201477, 0.5953896045684814, -0.033948864787817, -0.344350665807724, 1.1142598390579224, 0.47135207056999207, 0.4596530795097351, -1.0951684713363647, 0.8209767937660217, -0.6858959197998047, 1.1293305158615112, 0.8773164749145508, -0.9180461168289185, -0.05135270580649376, 1.4420013427734375, 0.40824681520462036, -0.5691326856613159, -0.9016255140304565, -0.8985329866409302, 0.9620338678359985, 1.683427333831787, 0.051083095371723175, -0.06672080606222153, 0.8710885047912598, 0.7225136160850525, -1.2202767133712769, 0.14291708171367645, -0.7093510627746582, -0.7664276361465454, 1.6478911638259888, 1.9063256978988647, -0.1258644312620163, -0.17863188683986664, -0.82508784532547, -1.1416747570037842, 0.8055925369262695, 0.010151876136660576, -0.01478264294564724, 0.666512668132782, -0.709053099155426, 1.1378169059753418, 0.8385470509529114, 0.9344873428344727, 0.05608575418591499, 0.393739253282547, 0.435857355594635, -0.33573055267333984, -1.1164559125900269, -0.20374178886413574, -1.2021901607513428, -2.5462565422058105, 0.4986168146133423, -0.2395225316286087, -1.4136955738067627, 0.08979812264442444, -1.0819445848464966, 0.9445082545280457, -0.6541797518730164, -1.1892141103744507, -1.5285522937774658, 0.24992778897285461, -0.10384643077850342, 0.8872085213661194, -1.5785397291183472, -0.0009279251098632812, 1.2218188047409058, 0.8978888392448425, -0.6382464170455933, 0.9356274604797363, 0.1805201768875122, 1.0854687690734863, 0.9141353964805603, -0.42426639795303345, 0.5659637451171875, 0.046828992664813995, -1.3337324857711792, 0.5509452819824219, 1.1105329990386963, 0.23022715747356415, 1.454444169998169, -0.41612866520881653, 0.027204718440771103, 0.4019708037376404, -0.553452730178833, -0.4647463262081146, -0.5737449526786804, 0.7306939363479614, 0.12241820991039276, -0.9052895307540894, 0.05734938010573387, -0.07698169350624084, -0.24797241389751434, 0.2052181214094162, -1.4966472387313843, -0.2509906589984894, -0.3112039566040039, -0.46021655201911926, -1.2703981399536133, -0.04653208330273628, 1.3773479461669922, -0.6489121913909912, -0.2635614275932312, 0.4947458505630493, 0.33016639947891235, 0.4774734079837799, 0.5773873925209045, -0.6610193848609924, -0.31355661153793335, -0.34798964858055115, -0.3338679075241089, 0.3225296437740326, 1.2304103374481201, -0.1549767702817917, -0.9380670785903931, 0.7869155406951904, -0.3482440412044525, 0.02992534264922142, 1.8483604192733765, 0.09451021254062653, -0.7437226176261902, 0.31154775619506836, -0.6953971982002258, 1.91978120803833, 1.7747079133987427, 1.2616065740585327, -0.10965007543563843, -1.0339832305908203, 0.6949173808097839, -0.39635494351387024, -0.35405346751213074, 0.9189843535423279, 0.406032532453537, -0.16958226263523102, -1.3910043239593506, 0.6784161329269409, 1.283744215965271, -0.7668203115463257, -0.8121689558029175, 0.10820846259593964, -0.7965102195739746, 1.0218654870986938, 0.6210259199142456, 0.387149840593338, 0.23966482281684875, 1.6068212985992432, 0.6805794835090637, -0.3641754686832428, 0.6227388978004456, 0.4654385447502136, -0.1750268191099167, -2.122974395751953, -1.1462899446487427, 0.27049627900123596, -0.41087281703948975, -1.5819793939590454, 1.4138267040252686, -1.2124261856079102, -0.864326536655426, 0.5557519793510437, 0.1676987111568451, 1.5158520936965942, 0.3192976713180542, 1.65239417552948, 2.0839877128601074, 0.8807677626609802, 0.33464282751083374, 1.2750166654586792, -0.09535795450210571, -0.476913183927536, 1.8458786010742188, -0.529541552066803, 0.4775586724281311, 1.1109682321548462, -0.3603789210319519, -1.0756585597991943, -0.8313343524932861, -1.3078984022140503, -0.7027348279953003, 1.130100131034851, 0.05089420825242996, -1.1574209928512573, 0.22066040337085724, 1.634406328201294, 0.08139686286449432, -0.21746905148029327, 0.7147616744041443, 0.45133888721466064, -0.8560243248939514, -0.09899057447910309, -0.8868071436882019, 0.5632684826850891, -0.110658198595047, -0.1965145617723465, 0.36843299865722656, 0.48982831835746765, 1.2861287593841553, 0.03658314049243927, 0.13668273389339447, 1.1145180463790894, -1.4014734029769897, 1.5179216861724854, -0.6912038326263428, 0.24188345670700073, -2.4637773036956787, 1.3886948823928833, -0.8196012377738953, 1.9948039054870605, -2.508969306945801, 0.42555591464042664, -0.5915532112121582, -0.40330928564071655, 0.36712878942489624, -0.4153715670108795, 0.13972264528274536, -0.15770140290260315, -1.0843795537948608, -0.011375688016414642, -0.7058835625648499, 0.606974184513092, 1.1603045463562012, 1.452660083770752, -1.1781584024429321, -0.28739628195762634, -1.7537041902542114, -0.17333802580833435, -0.6363765597343445, 0.42925044894218445, -1.9823970794677734, -0.05920758098363876, -2.0568923950195312, -2.392660140991211, -1.354109525680542, -0.6944138407707214, 0.9729421138763428, 0.1393679976463318, -0.9009132981300354, 1.2096965312957764, -0.27325907349586487, -1.735630989074707, 1.0823101997375488, -2.10937762260437 ]
https://github.com/huggingface/datasets/issues/4343
Metrics documentation is not accessible in the datasets doc UI
Hey @fxmarty :) Yes we are working on showing the docs of all the metrics on the Hugging face website. If you want to follow the advancements you can check the [evaluate](https://github.com/huggingface/evaluate) repository cc @lvwerra @sashavor
**Is your feature request related to a problem? Please describe.** Search for a metric name like "seqeval" yields no results on https://huggingface.co/docs/datasets/master/en/index . One needs to go look in `datasets/metrics/README.md` to find the doc. Even in the `README.md`, it can be hard to understand what the metric expects as an input, for example for `squad` there is a [key `id`](https://github.com/huggingface/datasets/blob/1a4c185663a6958f48ec69624473fdc154a36a9d/metrics/squad/squad.py#L42) documented only in the function doc but not in the `README.md`, and one needs to go look into the code to understand what the metric expects. **Describe the solution you'd like** Have the documentation for metrics appear as well in the doc UI, e.g. this https://github.com/huggingface/datasets/blob/1a4c185663a6958f48ec69624473fdc154a36a9d/metrics/squad/squad.py#L21-L63 I know there are plans to migrate metrics to the evaluate library, but just pointing this out.
762
36
Metrics documentation is not accessible in the datasets doc UI **Is your feature request related to a problem? Please describe.** Search for a metric name like "seqeval" yields no results on https://huggingface.co/docs/datasets/master/en/index . One needs to go look in `datasets/metrics/README.md` to find the doc. Even in the `README.md`, it can be hard to understand what the metric expects as an input, for example for `squad` there is a [key `id`](https://github.com/huggingface/datasets/blob/1a4c185663a6958f48ec69624473fdc154a36a9d/metrics/squad/squad.py#L42) documented only in the function doc but not in the `README.md`, and one needs to go look into the code to understand what the metric expects. **Describe the solution you'd like** Have the documentation for metrics appear as well in the doc UI, e.g. this https://github.com/huggingface/datasets/blob/1a4c185663a6958f48ec69624473fdc154a36a9d/metrics/squad/squad.py#L21-L63 I know there are plans to migrate metrics to the evaluate library, but just pointing this out. Hey @fxmarty :) Yes we are working on showing the docs of all the metrics on the Hugging face website. If you want to follow the advancements you can check the [evaluate](https://github.com/huggingface/evaluate) repository cc @lvwerra @sashavor
[ -1.191935658454895, -0.9603074789047241, -0.8263523578643799, 1.4000076055526733, -0.13055753707885742, -1.2925204038619995, 0.10548634082078934, -1.0615497827529907, 1.709742546081543, -0.7059511542320251, 0.2026723176240921, -1.7085434198379517, 0.04706643521785736, -0.5678572654724121, -0.8454816341400146, -0.8404065370559692, -0.35830727219581604, -0.9132897853851318, 0.9536557197570801, 2.589284658432007, 1.2324529886245728, -1.357171654701233, 2.727947950363159, 0.671265184879303, -0.19159036874771118, -1.0113385915756226, 0.48035135865211487, -0.06764807552099228, -1.2605037689208984, -0.5179603099822998, -0.926780104637146, 0.04596410319209099, -0.5782008171081543, -0.5016217827796936, 0.14933666586875916, 0.36447256803512573, -0.2540860176086426, -0.23587347567081451, -0.5925570130348206, -0.745527446269989, 0.4475376009941101, -0.38828763365745544, 0.9836400747299194, -0.3469310402870178, 1.8444316387176514, -0.5071864128112793, 0.3550645709037781, 0.7237405180931091, 1.3857938051223755, 0.14985282719135284, -0.023016657680273056, 0.27476364374160767, 0.28776875138282776, -0.03988751024007797, 0.42674481868743896, 1.252860188484192, 0.6985518336296082, 0.4516034424304962, 0.6599246859550476, -2.2015416622161865, 1.3889623880386353, -1.0018829107284546, 0.2437257319688797, 1.4118475914001465, -0.9700902700424194, 0.331617534160614, -1.9307852983474731, -0.051615744829177856, 0.5655710697174072, -2.3481225967407227, 0.1412033587694168, -1.3307101726531982, -0.5275598168373108, 1.04456627368927, 0.18376120924949646, -1.3342103958129883, 0.2250925451517105, -0.4513150155544281, 1.0639057159423828, 0.4926818013191223, 1.204622507095337, -1.7637646198272705, -0.0438585989177227, -0.20537246763706207, 0.0822400450706482, -1.3849579095840454, -1.6209813356399536, 0.5322791934013367, 0.579926073551178, 0.7153832316398621, -0.06407023221254349, 0.9727714657783508, -1.0333082675933838, 0.8908063769340515, -0.8307861089706421, -1.6152485609054565, -1.3815970420837402, -2.2002103328704834, -2.239391326904297, 0.8619744777679443, -0.5598772168159485, -0.5165846943855286, 1.9585654735565186, -1.0328261852264404, -1.8227472305297852, 1.1227761507034302, 0.4057198762893677, 0.06562162935733795, 2.3853988647460938, 0.24201931059360504, -0.6856251955032349, 0.3180936276912689, -0.625508189201355, 0.9211180806159973, -0.3589690923690796, 1.4225490093231201, 0.5597297549247742, -1.0396350622177124, 1.6195966005325317, -0.5061237215995789, 0.5327587723731995, -0.7446143627166748, -0.5174067616462708, -0.8752144575119019, 0.4167255759239197, 1.8487987518310547, -0.43003880977630615, 1.6096364259719849, -0.4127536118030548, -1.6170923709869385, -1.587786316871643, 0.8411887884140015, 0.6029890179634094, -0.8835244178771973, 0.048946067690849304, -0.3697986900806427, 0.10419202595949173, 0.022730864584445953, 1.0338222980499268, 1.218707799911499, 0.5520696043968201, -0.2960050702095032, -0.9224686026573181, 0.2357669472694397, -0.0891202911734581, -0.5819312334060669, -1.8464938402175903, -0.33014804124832153, 0.3552997410297394, 0.5668711066246033, -1.3261799812316895, 1.6826387643814087, 0.8435499668121338, 1.905486822128296, 0.9693602323532104, -0.33739233016967773, 1.5499645471572876, 0.04192163050174713, 1.8477668762207031, -0.5832585692405701, 0.6801899075508118, -0.3131682574748993, -1.124268651008606, 0.8841524720191956, -0.3693774342536926, -2.044273853302002, -0.786669909954071, -0.8691674470901489, -0.25897055864334106, -0.7326654195785522, 0.869673490524292, -0.32017379999160767, -1.3283170461654663, 0.2647808790206909, -0.6132797002792358, 0.1297348439693451, -1.2879219055175781, 0.25666964054107666, 0.7948939800262451, -0.6987100839614868, -0.019335826858878136, -0.16335609555244446, -1.3619781732559204, -0.49459365010261536, 0.25864309072494507, 1.9508776664733887, -0.6531696319580078, 0.91299968957901, 1.0248167514801025, -0.7559018731117249, 0.029419753700494766, 0.3398391306400299, -0.2994251251220703, 0.8379496932029724, -1.1016297340393066, -0.300785630941391, 1.109519600868225, -0.11020244657993317, -0.6667449474334717, 1.4109641313552856, 0.7645043134689331, -1.0635778903961182, -0.2390603870153427, -0.20510952174663544, -0.7964493036270142, 0.01682022586464882, -1.6118992567062378, -0.2446761280298233, 0.20227351784706116, -1.4580014944076538, -0.47884172201156616, -0.2535904049873352, 1.3710105419158936, -0.3238902986049652, 1.4116520881652832, -0.30942124128341675, -0.15570907294750214, -0.3957166373729706, -0.5047012567520142, 0.1471875011920929, -0.19367998838424683, -0.698093056678772, 0.3385559618473053, -0.7933485507965088, 0.3313121497631073, 1.454455852508545, 0.49079304933547974, 0.04261668026447296, 0.44726085662841797, 1.059165358543396, 0.3290342390537262, -0.04357238486409187, -0.9038144946098328, -1.5418193340301514, 2.054720640182495, -1.4026144742965698, 1.9006785154342651, 0.7799674868583679, -0.02211754582822323, -1.727163314819336, -1.8733280897140503, 1.3393975496292114, 1.2096359729766846, 2.411341905593872, 0.6363564133644104, 0.41255056858062744, -0.7639217376708984, -0.686610996723175, 0.40435317158699036, -1.0843416452407837, -0.7533846497535706, 0.1159110888838768, 2.352987289428711, 1.7581679821014404, -0.5470386147499084, -0.25684401392936707, -0.9842252135276794, 1.2410809993743896, -0.19858913123607635, 0.16333085298538208, 2.0296294689178467, -0.28309696912765503, -1.0472098588943481, 1.216103196144104, -2.311429262161255, 0.15740691125392914, 1.9565762281417847, 0.2697215676307678, 0.07256637513637543, -1.482215166091919, -0.6140453815460205, -0.24663427472114563, -0.43963897228240967, -1.2733824253082275, 0.5403025150299072, -0.31259822845458984, -0.9372528195381165, -1.567801594734192, 0.1070469319820404, -1.1575597524642944, -1.6464771032333374, 0.3393852412700653, 1.9358948469161987, 2.0088648796081543, -0.7354367971420288, 1.5232428312301636, -0.2513160705566406, 0.10578340291976929, 1.1963038444519043, 1.2912275791168213, 3.1640548706054688, 1.8294880390167236, -1.1974235773086548, 0.668110728263855, -0.18928848206996918, -0.47815072536468506, 1.1706546545028687, -1.00421941280365, 1.209073781967163, -0.19029568135738373, -1.2731740474700928, -1.2316666841506958, 1.035382866859436, 0.5222824811935425, 0.037123605608940125, -0.5180188417434692, 1.2086102962493896, 0.04534536600112915, 1.343252420425415, 0.5180995464324951, -0.4368239641189575, 0.6274673938751221, -0.40283864736557007, -0.5392267107963562, 1.5941598415374756, 0.13832725584506989, -1.4314777851104736, -2.368123769760132, -0.21954457461833954, -0.8092713952064514, -0.04608001187443733, -0.5947461724281311, -1.0331799983978271, 1.6891987323760986, 0.43648093938827515, -1.34907865524292, -0.2705681622028351, -0.41979363560676575, -0.6036196947097778, 2.4939231872558594, -1.449496865272522, -0.16622471809387207, -0.9915478825569153, -0.48954281210899353, 1.6104624271392822, -1.096950888633728, -0.1396104097366333, -1.0173985958099365, -0.7161665558815002, -1.3311612606048584, -0.6409546732902527, -0.09965686500072479, -0.8434901833534241, 0.7352418899536133, 0.1277969479560852, -1.020809292793274, -0.27571430802345276, -0.9025059342384338, 0.8794324994087219, -0.10693974792957306, 0.19292189180850983, 1.9831587076187134, 0.485275536775589, -0.4002881348133087, 0.7232405543327332, 1.1692832708358765, 0.5790982842445374, -0.5748212933540344, 0.2012314647436142, -0.6501244902610779, 0.26962029933929443, -1.392831802368164, 0.25260916352272034, -2.880255699157715, 0.7284458875656128, -0.07952022552490234, -0.13728727400302887, 0.017150651663541794, -1.2855870723724365, 1.1670359373092651, 2.6263952255249023, -1.158944010734558, 0.45746132731437683, 0.37492141127586365, 1.1801725625991821, -1.6090595722198486, 0.2444492131471634, -0.3898833990097046, 2.0546936988830566, 0.14997628331184387, 1.248352289199829, -0.5309966206550598, -2.1467316150665283, 0.587063193321228, -1.203149676322937, -1.0934423208236694, 0.8043542504310608, -0.8371378183364868, 0.15418924391269684, -1.366771936416626, -0.18193872272968292, -0.8641235828399658, -1.2798117399215698, 0.8926598429679871, 0.05390007793903351, 0.4345046877861023, -0.615486741065979, 0.35504573583602905, -2.1051506996154785, -1.245184302330017, -0.19827809929847717, -0.9638493061065674, 0.5272727012634277, -0.2570900321006775, 0.5917155146598816, -0.02652992680668831, 0.08184098452329636, 0.3470166027545929, 1.326351523399353, 3.3995108604431152, 0.24163326621055603, 0.3589111864566803, -0.06167910620570183, -0.9703400731086731, 1.4223051071166992, 0.9736716747283936, -0.06703430414199829, -0.5618969202041626, -1.010892391204834, 1.3026974201202393, 1.9086828231811523, 1.093936800956726, 0.16449236869812012, -0.8629093766212463, -0.7888646125793457, 0.04640422761440277, 0.20519766211509705, 0.39747127890586853, 0.9317360520362854, -0.013772186823189259, 0.05522012338042259, 1.439170241355896, 1.2606319189071655, -0.4997491240501404, 0.5379292964935303, -0.8670775294303894, -0.46351397037506104, 0.38474041223526, 0.2793455719947815, 0.002013741061091423, 0.4747809171676636, -0.9870303869247437, -0.21027998626232147, -0.37364041805267334, -0.949337899684906, -0.7814354300498962, -0.4587719142436981, -0.34588053822517395, 1.6817574501037598, 0.06249086186289787, -0.4062550663948059, 0.03587104380130768, -0.8749858140945435, -0.12404447048902512, -1.0622034072875977, 0.2702600061893463, -0.09321661293506622, -0.08089899271726608, -0.11401238292455673, 1.7499548196792603, -0.9562807679176331, -2.0337095260620117, 0.18022724986076355, 0.26959604024887085, -0.4672863185405731, 0.15706658363342285, 1.694297432899475, 0.46855899691581726, 1.4776760339736938, 1.2980743646621704, 0.9487403631210327, -0.6330196261405945, -1.2485374212265015, 0.6563417315483093, 0.879867434501648, -1.3850406408309937, 0.9267883896827698, -0.1506963074207306, -0.4561479687690735, 0.7531778216362, 1.3536549806594849, 0.3712518513202667, -1.9742716550827026, 0.9018537402153015, -0.8406982421875, 0.690726637840271, 0.6011313796043396, 0.7851736545562744, 0.22321046888828278, 0.8158429861068726, -1.3260468244552612, -1.1986565589904785, -0.8124257922172546, -0.5340553522109985, 1.936016321182251, -0.11216863989830017, 0.5654023289680481, -0.14676599204540253, -1.3154405355453491, -0.10285630822181702, 0.7010443210601807, 0.45393991470336914, -0.32613274455070496, 0.8438324332237244, -0.6380413174629211, -1.0404682159423828, -1.4219807386398315, -0.45203155279159546, -0.9338809251785278, -0.8802413940429688, 0.953384280204773, 0.8838760852813721, 0.37172606587409973, 1.9091479778289795, 0.5525363087654114, 0.28034475445747375, -2.617940902709961, 0.9266398549079895, 0.3506964147090912, -0.09095810353755951, 1.036686897277832, 0.24308477342128754, 1.0848772525787354, -0.015345186926424503, 0.4391031265258789, -2.2204766273498535, 2.16748046875, -0.26217836141586304, 0.7254053950309753, 0.037935443222522736, -0.2961200177669525, 1.1205368041992188, 0.43633538484573364, 0.6744241714477539, -1.21604323387146, 0.7438749670982361, -0.6250811219215393, 1.153767466545105, 0.9825311899185181, -0.8620620369911194, 0.010653541423380375, 1.346328854560852, 0.44016534090042114, -0.45044776797294617, -0.920671284198761, -0.8707624077796936, 0.9592235684394836, 1.7590115070343018, -0.03782081976532936, 0.0820562019944191, 0.7958394289016724, 0.6901224255561829, -1.3023006916046143, 0.13345947861671448, -0.8295743465423584, -0.7753589153289795, 1.6218432188034058, 2.0146520137786865, -0.01955956220626831, -0.2994653284549713, -0.7078608870506287, -1.1887158155441284, 0.7048195004463196, 0.024121809750795364, 0.23478731513023376, 0.7019105553627014, -0.6881830096244812, 1.1505688428878784, 0.7945290207862854, 0.9560369253158569, -0.011490697041153908, 0.42728564143180847, 0.43381989002227783, -0.3519466519355774, -1.0831756591796875, -0.3022606670856476, -1.13507080078125, -2.5124258995056152, 0.5470342040061951, -0.17303109169006348, -1.3949450254440308, 0.014982339926064014, -0.9789815545082092, 0.8967111110687256, -0.5892295837402344, -1.1796281337738037, -1.5030944347381592, 0.2891237735748291, -0.21312078833580017, 0.8789218068122864, -1.641520619392395, -0.14027242362499237, 1.256024956703186, 0.9424529075622559, -0.565441370010376, 0.9691439867019653, 0.18723274767398834, 1.0091453790664673, 0.8661966919898987, -0.4087532162666321, 0.44834986329078674, 0.0540781207382679, -1.398740291595459, 0.4051777124404907, 1.1356967687606812, 0.20058968663215637, 1.351468801498413, -0.4971300959587097, 0.11243382841348648, 0.42103931307792664, -0.5734356045722961, -0.48161494731903076, -0.5312687158584595, 0.7754179835319519, 0.04606030881404877, -0.9139089584350586, 0.09699342399835587, -0.1528928130865097, -0.19292135536670685, 0.20637798309326172, -1.4797914028167725, -0.27420875430107117, -0.3105156719684601, -0.5173837542533875, -1.227675199508667, -0.005819275509566069, 1.3499919176101685, -0.8324555158615112, -0.2518530488014221, 0.49860692024230957, 0.45387187600135803, 0.47594964504241943, 0.6189075708389282, -0.6794464588165283, -0.43186789751052856, -0.3427248001098633, -0.35219743847846985, 0.28653663396835327, 1.2319923639297485, -0.11771439015865326, -0.9722903966903687, 0.7017839550971985, -0.42549943923950195, 0.018284916877746582, 1.9839107990264893, 0.049319323152303696, -0.8204538226127625, 0.32316872477531433, -0.6519681215286255, 1.8495409488677979, 1.7301684617996216, 1.3390990495681763, -0.12058986723423004, -0.9639825224876404, 0.6088917851448059, -0.24646678566932678, -0.35285964608192444, 1.0863852500915527, 0.4622601866722107, -0.15021279454231262, -1.4279900789260864, 0.45447608828544617, 1.391186237335205, -0.8787914514541626, -0.7428260445594788, 0.05638885870575905, -0.8398926258087158, 1.0812125205993652, 0.6850904226303101, 0.36139339208602905, 0.18862612545490265, 1.5902042388916016, 0.6812030076980591, -0.5213938355445862, 0.47349849343299866, 0.49513155221939087, -0.2509004771709442, -2.1492979526519775, -1.0142337083816528, 0.2945929169654846, -0.2910996973514557, -1.4787291288375854, 1.3432825803756714, -1.068455696105957, -0.8901737928390503, 0.4263831079006195, 0.1052374392747879, 1.4560030698776245, 0.197416752576828, 1.6674211025238037, 2.159771680831909, 0.8632494211196899, 0.22112028300762177, 1.312940239906311, -0.04096485301852226, -0.4259621500968933, 1.7809754610061646, -0.4133429527282715, 0.4796610176563263, 1.0050448179244995, -0.4652199149131775, -1.050386905670166, -0.7781757116317749, -1.1201540231704712, -0.6459367275238037, 1.1897536516189575, 0.16038860380649567, -1.132351279258728, 0.21305571496486664, 1.6176033020019531, 0.09983884543180466, -0.3346864581108093, 0.6799623370170593, 0.5689694285392761, -0.6927843689918518, -0.07247224450111389, -0.8247151970863342, 0.5136916041374207, -0.10355021059513092, -0.2866149842739105, 0.3285970091819763, 0.4564202129840851, 1.23021399974823, -0.00719468155875802, 0.08727451413869858, 1.1758111715316772, -1.3466031551361084, 1.5442432165145874, -0.5844412446022034, 0.2730619013309479, -2.453036308288574, 1.4916540384292603, -0.7669056057929993, 1.898392677307129, -2.5564701557159424, 0.3436324894428253, -0.5763378739356995, -0.43791115283966064, 0.25860387086868286, -0.3967890739440918, 0.16779825091362, -0.15627223253250122, -1.0209438800811768, -0.12374602258205414, -0.7674816846847534, 0.6490176320075989, 1.148452877998352, 1.3732081651687622, -1.174414873123169, -0.24057187139987946, -1.816911220550537, -0.13673155009746552, -0.7615234851837158, 0.34978488087654114, -1.9876958131790161, -0.15886496007442474, -1.9965503215789795, -2.3385090827941895, -1.4826178550720215, -0.7298761010169983, 1.0493546724319458, 0.19920752942562103, -0.9144217371940613, 1.103676438331604, -0.31943416595458984, -1.792446255683899, 1.0193274021148682, -2.179025173187256 ]
https://github.com/huggingface/datasets/issues/4327
`wikipedia` pre-processed datasets
Hi @vpj, thanks for reporting. I'm sorry, but I can't reproduce your bug: I load "20220301.simple"in 9 seconds: ```shell time python -c "from datasets import load_dataset; load_dataset('wikipedia', '20220301.simple')" Downloading and preparing dataset wikipedia/20220301.simple (download: 228.58 MiB, generated: 224.18 MiB, post-processed: Unknown size, total: 452.76 MiB) to .../.cache/huggingface/datasets/wikipedia/20220301.simple/2.0.0/aa542ed919df55cc5d3347f42dd4521d05ca68751f50dbc32bae2a7f1e167559... Downloading: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.66k/1.66k [00:00<00:00, 1.02MB/s] Downloading: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 235M/235M [00:02<00:00, 82.8MB/s] Dataset wikipedia downloaded and prepared to .../.cache/huggingface/datasets/wikipedia/20220301.simple/2.0.0/aa542ed919df55cc5d3347f42dd4521d05ca68751f50dbc32bae2a7f1e167559. Subsequent calls will reuse this data. 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1/1 [00:00<00:00, 290.75it/s] real 0m9.693s user 0m6.002s sys 0m3.260s ``` Could you please check your environment info, as requested when opening this issue? ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version: ``` Maybe you are using an old version of `datasets`...
## Describe the bug [Wikipedia](https://huggingface.co/datasets/wikipedia) dataset readme says that certain subsets are preprocessed. However it seems like they are not available. When I try to load them it takes a really long time, and it seems like it's processing them. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("wikipedia", "20220301.en") ``` ## Expected results To load the dataset ## Actual results Takes a very long time to load (after downloading) After `Downloading data files: 100%`. It takes hours and gets killed. Tried `wikipedia.simple` and it got processed after ~30mins.
763
133
`wikipedia` pre-processed datasets ## Describe the bug [Wikipedia](https://huggingface.co/datasets/wikipedia) dataset readme says that certain subsets are preprocessed. However it seems like they are not available. When I try to load them it takes a really long time, and it seems like it's processing them. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("wikipedia", "20220301.en") ``` ## Expected results To load the dataset ## Actual results Takes a very long time to load (after downloading) After `Downloading data files: 100%`. It takes hours and gets killed. Tried `wikipedia.simple` and it got processed after ~30mins. Hi @vpj, thanks for reporting. I'm sorry, but I can't reproduce your bug: I load "20220301.simple"in 9 seconds: ```shell time python -c "from datasets import load_dataset; load_dataset('wikipedia', '20220301.simple')" Downloading and preparing dataset wikipedia/20220301.simple (download: 228.58 MiB, generated: 224.18 MiB, post-processed: Unknown size, total: 452.76 MiB) to .../.cache/huggingface/datasets/wikipedia/20220301.simple/2.0.0/aa542ed919df55cc5d3347f42dd4521d05ca68751f50dbc32bae2a7f1e167559... Downloading: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.66k/1.66k [00:00<00:00, 1.02MB/s] Downloading: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 235M/235M [00:02<00:00, 82.8MB/s] Dataset wikipedia downloaded and prepared to .../.cache/huggingface/datasets/wikipedia/20220301.simple/2.0.0/aa542ed919df55cc5d3347f42dd4521d05ca68751f50dbc32bae2a7f1e167559. Subsequent calls will reuse this data. 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1/1 [00:00<00:00, 290.75it/s] real 0m9.693s user 0m6.002s sys 0m3.260s ``` Could you please check your environment info, as requested when opening this issue? ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version: ``` Maybe you are using an old version of `datasets`...
[ -1.193454623222351, -0.8911657929420471, -0.7475330829620361, 1.3566275835037231, -0.18830126523971558, -1.2180649042129517, 0.16265854239463806, -1.07603919506073, 1.7089630365371704, -0.7156877517700195, 0.25621357560157776, -1.6376523971557617, -0.010584577918052673, -0.45285338163375854, -0.8053144216537476, -0.9134820103645325, -0.4346141517162323, -0.81712406873703, 0.9908598065376282, 2.5847785472869873, 1.160101056098938, -1.382563591003418, 2.695786237716675, 0.5871909856796265, -0.19815899431705475, -0.982825517654419, 0.5600870251655579, 0.09551705420017242, -1.3645715713500977, -0.33394113183021545, -0.9595824480056763, 0.014456833712756634, -0.59148770570755, -0.4981059432029724, 0.1566450446844101, 0.3972702622413635, -0.24979528784751892, -0.4875186085700989, -0.5281651616096497, -0.6924818158149719, 0.5059166550636292, -0.38231319189071655, 0.9619174599647522, -0.3377362787723541, 1.7924506664276123, -0.6134607791900635, 0.4523211419582367, 0.7019913792610168, 1.3128128051757812, 0.14350305497646332, 0.09075543284416199, 0.33208906650543213, 0.4014425277709961, 0.07021182775497437, 0.4402964115142822, 1.1847978830337524, 0.5814163088798523, 0.3782089650630951, 0.7550352215766907, -2.1613805294036865, 1.2994838953018188, -0.9648111462593079, 0.3476559817790985, 1.2713063955307007, -0.8694421648979187, 0.2775273025035858, -1.7886526584625244, -0.05512255057692528, 0.5879766345024109, -2.247680187225342, 0.2725355625152588, -1.3554202318191528, -0.5138100981712341, 0.9862464070320129, 0.2759895622730255, -1.1623873710632324, 0.1931273341178894, -0.4490084648132324, 1.0271674394607544, 0.47144338488578796, 1.1946624517440796, -1.6840152740478516, -0.04433148726820946, -0.23605935275554657, 0.13111957907676697, -1.2547500133514404, -1.5796619653701782, 0.5324750542640686, 0.6501774787902832, 0.6375300884246826, -0.14938053488731384, 0.9836751818656921, -0.9946867227554321, 0.7814684510231018, -0.9201829433441162, -1.7392600774765015, -1.3646725416183472, -2.283503293991089, -2.352735996246338, 0.7672880291938782, -0.4153269827365875, -0.4409468472003937, 1.9900763034820557, -0.9300867319107056, -1.8030292987823486, 1.1219079494476318, 0.3227018713951111, -0.0728740468621254, 2.321726083755493, 0.2042888104915619, -0.7139109373092651, 0.5147873759269714, -0.7749977707862854, 0.8724857568740845, -0.28078705072402954, 1.400697946548462, 0.48391392827033997, -0.9180817604064941, 1.5155811309814453, -0.4270004630088806, 0.5530261397361755, -0.663772702217102, -0.5089243650436401, -0.8139652013778687, 0.2571403384208679, 1.9092442989349365, -0.3644704222679138, 1.6120623350143433, -0.3414594531059265, -1.6833603382110596, -1.5745017528533936, 0.875724732875824, 0.5711923837661743, -0.7590999007225037, 0.03564317524433136, -0.38676929473876953, 0.10263176262378693, -0.02776211127638817, 1.0705461502075195, 1.2625067234039307, 0.8131483197212219, -0.28980752825737, -0.9119844436645508, 0.17178410291671753, -0.13004174828529358, -0.7523737549781799, -1.8277347087860107, -0.3469303548336029, 0.08901283890008926, 0.6701834201812744, -1.3581843376159668, 1.690272569656372, 0.8376491665840149, 2.018789529800415, 1.0279226303100586, -0.3809192478656769, 1.548276662826538, 0.07820918411016464, 1.8859292268753052, -0.47021540999412537, 0.6576043367385864, -0.3638216555118561, -1.082135796546936, 0.8245589733123779, -0.36222630739212036, -2.014913558959961, -0.8421951532363892, -0.8392098546028137, -0.17408345639705658, -0.7516738176345825, 0.8395362496376038, -0.27429333329200745, -1.5323539972305298, 0.22773320972919464, -0.7155865430831909, 0.04867873713374138, -1.2366081476211548, 0.24713964760303497, 0.7409977912902832, -0.6450541615486145, 0.12989355623722076, -0.1958000808954239, -1.3161933422088623, -0.4072166085243225, 0.2990454435348511, 1.944441318511963, -0.7605692744255066, 0.9574449062347412, 1.051432490348816, -0.7334231734275818, 0.1131497398018837, 0.275844007730484, -0.3368205726146698, 0.7982044219970703, -1.1549004316329956, -0.33895906805992126, 1.1314581632614136, -0.11518465727567673, -0.5680209994316101, 1.4290733337402344, 0.7619728446006775, -1.0489948987960815, -0.16610613465309143, -0.1184619590640068, -0.7724335789680481, -0.022071627900004387, -1.5892198085784912, -0.10366561263799667, 0.30213287472724915, -1.4872705936431885, -0.520991861820221, -0.2743222117424011, 1.2346055507659912, -0.16348569095134735, 1.4402592182159424, -0.3069538176059723, -0.197408065199852, -0.36216628551483154, -0.4493459165096283, 0.13769683241844177, -0.27161139249801636, -0.5869072675704956, 0.20492364466190338, -0.8424862027168274, 0.3626013696193695, 1.510069727897644, 0.318694531917572, 0.015571997500956059, 0.49722400307655334, 1.0834439992904663, 0.4301246404647827, 0.007681981660425663, -0.8462251424789429, -1.5973949432373047, 2.0518760681152344, -1.4536207914352417, 1.8924092054367065, 0.7294040322303772, -0.034729767590761185, -1.8318556547164917, -1.8980764150619507, 1.405848741531372, 1.1204584836959839, 2.44614839553833, 0.5930429100990295, 0.40956199169158936, -0.7635880708694458, -0.6722075939178467, 0.3068389296531677, -0.9687596559524536, -0.7492024898529053, 0.15898507833480835, 2.407423973083496, 1.6807814836502075, -0.5311779379844666, -0.2277776002883911, -0.9571005702018738, 1.4182342290878296, -0.11380699276924133, 0.1850036382675171, 1.966703176498413, -0.2077977955341339, -1.0662171840667725, 1.3087189197540283, -2.2452569007873535, 0.19981300830841064, 2.020306348800659, 0.2465008944272995, 0.0675908550620079, -1.484372854232788, -0.6666722893714905, -0.3235436975955963, -0.45853811502456665, -1.1866263151168823, 0.5888113379478455, -0.2699185907840729, -0.8893873691558838, -1.5401103496551514, 0.12214384227991104, -1.221702218055725, -1.6893900632858276, 0.24993731081485748, 1.9131056070327759, 1.977367639541626, -0.772783100605011, 1.4381574392318726, -0.30847927927970886, 0.11720874160528183, 1.2467044591903687, 1.1887158155441284, 3.130889415740967, 1.9399313926696777, -1.2118523120880127, 0.7706014513969421, -0.16837014257907867, -0.5021887421607971, 1.1621415615081787, -1.2261004447937012, 1.2247912883758545, -0.23909996449947357, -1.1635417938232422, -1.1776442527770996, 1.0154168605804443, 0.4803685247898102, 0.07995858788490295, -0.4792156517505646, 1.2964396476745605, 0.007243203930556774, 1.316846251487732, 0.5270272493362427, -0.33233916759490967, 0.6200588941574097, -0.42814528942108154, -0.5648080110549927, 1.58692467212677, 0.23057247698307037, -1.4544751644134521, -2.340223550796509, -0.24162070453166962, -0.9087573885917664, -0.039634279906749725, -0.49646836519241333, -1.0386927127838135, 1.6064107418060303, 0.4573408365249634, -1.2789658308029175, -0.2804790437221527, -0.2673055827617645, -0.5747149586677551, 2.6542506217956543, -1.3444465398788452, -0.14360015094280243, -0.9326801300048828, -0.5407724976539612, 1.6139130592346191, -1.1441465616226196, -0.2033572494983673, -1.0335185527801514, -0.5449681282043457, -1.3405882120132446, -0.6224109530448914, 0.005061314441263676, -0.8891996741294861, 0.7671491503715515, 0.19939284026622772, -1.1184102296829224, -0.24424727261066437, -0.9338722229003906, 0.9511884450912476, 0.0034152474254369736, 0.2318449765443802, 1.8922280073165894, 0.41266554594039917, -0.2822253406047821, 0.6353805661201477, 1.1637665033340454, 0.6449246406555176, -0.6795520782470703, 0.0981159433722496, -0.6966315507888794, 0.2599141299724579, -1.4457260370254517, 0.21897928416728973, -2.7959253787994385, 0.6780894994735718, -0.030716024339199066, -0.09656811505556107, -0.0027248957194387913, -1.2893115282058716, 1.121710181236267, 2.622072458267212, -1.175612449645996, 0.5287185311317444, 0.4116866886615753, 1.1702886819839478, -1.4678623676300049, 0.25706467032432556, -0.3716263175010681, 2.083127498626709, 0.18452845513820648, 1.306045413017273, -0.5231687426567078, -2.2659714221954346, 0.6914973855018616, -1.3215844631195068, -1.1916719675064087, 0.7425743937492371, -0.8792417645454407, 0.12488018721342087, -1.431985855102539, -0.2507054805755615, -0.8866024017333984, -1.2681372165679932, 0.7127431631088257, 0.09948214888572693, 0.50466388463974, -0.5540645718574524, 0.4747551381587982, -2.239490032196045, -1.4308913946151733, -0.2323375642299652, -1.0474965572357178, 0.519427478313446, -0.3138984441757202, 0.7013557553291321, -0.17662294209003448, 0.02275606244802475, 0.35518261790275574, 1.3531228303909302, 3.413347005844116, 0.19579185545444489, 0.26289936900138855, -0.11054086685180664, -1.0513697862625122, 1.4257317781448364, 0.966279149055481, -0.17152586579322815, -0.5596529245376587, -1.086583137512207, 1.2015457153320312, 2.0347061157226562, 1.1894001960754395, -0.005675929598510265, -0.7819140553474426, -0.8269363641738892, 0.07574617117643356, 0.14455752074718475, 0.4957880675792694, 0.8925343155860901, 0.07104616612195969, 0.1248430535197258, 1.4656635522842407, 1.179919719696045, -0.33809369802474976, 0.4560033679008484, -0.8663857579231262, -0.5061142444610596, 0.5601266622543335, 0.270348459482193, 0.03799670189619064, 0.49613192677497864, -1.0999573469161987, -0.24597257375717163, -0.42558538913726807, -0.9933995008468628, -0.6981092691421509, -0.4053184986114502, -0.3312975764274597, 1.5704680681228638, 0.13483016192913055, -0.44761916995048523, -0.03060716763138771, -0.6988702416419983, -0.04367772489786148, -1.0381979942321777, 0.2834702432155609, -0.18885880708694458, -0.10953938215970993, -0.07989105582237244, 1.8075125217437744, -0.9756518006324768, -2.057655096054077, 0.18550419807434082, 0.2412085384130478, -0.41858986020088196, 0.21562474966049194, 1.5891934633255005, 0.5876694917678833, 1.4053252935409546, 1.293391466140747, 0.9395344257354736, -0.6169965863227844, -1.2634406089782715, 0.6523237228393555, 0.9411197304725647, -1.2999329566955566, 0.7705061435699463, -0.016909698024392128, -0.5125551223754883, 0.6966196894645691, 1.3330501317977905, 0.3860458731651306, -2.0429608821868896, 0.7563422918319702, -0.771213948726654, 0.689933180809021, 0.650791585445404, 0.7216007709503174, 0.2010578066110611, 0.7770031094551086, -1.300977110862732, -1.0619421005249023, -0.7496757507324219, -0.6270171999931335, 1.9931771755218506, -0.19267451763153076, 0.5383058786392212, -0.16089703142642975, -1.2195175886154175, -0.16814035177230835, 0.6880292296409607, 0.44127294421195984, -0.5074787139892578, 0.7308297753334045, -0.5603504776954651, -1.1190130710601807, -1.3164414167404175, -0.5109826326370239, -1.0406229496002197, -0.8839713931083679, 0.9953684210777283, 0.7454496026039124, 0.4123474657535553, 1.8971589803695679, 0.6209239363670349, 0.25543567538261414, -2.7707953453063965, 0.8924961090087891, 0.3032000660896301, 0.016845110803842545, 0.9093797206878662, 0.33192166686058044, 1.0599191188812256, -0.0781925693154335, 0.5825365781784058, -2.2872774600982666, 2.2055070400238037, -0.21475259959697723, 0.6783215403556824, 0.016801618039608, -0.15569628775119781, 1.0464792251586914, 0.5850620269775391, 0.5561012625694275, -1.1380430459976196, 0.602144181728363, -0.653375506401062, 1.1742048263549805, 0.8861965537071228, -0.854539155960083, 0.01111276913434267, 1.3398487567901611, 0.432791143655777, -0.4115731120109558, -0.9675418138504028, -0.8435341715812683, 1.0056908130645752, 1.738190770149231, -0.17067164182662964, 0.052370429039001465, 0.8746966123580933, 0.5935759544372559, -1.4313008785247803, 0.03619614243507385, -0.773088276386261, -0.778412401676178, 1.6850531101226807, 2.1001269817352295, -0.10368223488330841, -0.17573489248752594, -0.7819523215293884, -1.2298579216003418, 0.7494425773620605, -0.037561409175395966, 0.1501636952161789, 0.6165214776992798, -0.642156720161438, 1.1230584383010864, 0.7641396522521973, 0.9949175715446472, 0.06403520703315735, 0.4190913140773773, 0.3061825633049011, -0.33439239859580994, -1.2196073532104492, -0.36532866954803467, -1.065434217453003, -2.52134108543396, 0.4895992577075958, -0.2530316412448883, -1.4768155813217163, 0.04729447886347771, -0.9855726361274719, 0.8955997228622437, -0.6366477608680725, -1.0751038789749146, -1.4721928834915161, 0.33324360847473145, -0.12289051711559296, 0.95078444480896, -1.664501428604126, -0.041115857660770416, 1.2423715591430664, 0.949036717414856, -0.6286342144012451, 1.1143134832382202, 0.28268709778785706, 0.9897952675819397, 0.8431310057640076, -0.3709719479084015, 0.5343381762504578, 0.13920071721076965, -1.27619469165802, 0.4210551679134369, 1.1590993404388428, 0.2337428331375122, 1.40884530544281, -0.6000420451164246, 0.02381402626633644, 0.4243142306804657, -0.5037837028503418, -0.47938400506973267, -0.5088404417037964, 0.6935147643089294, 0.11673592776060104, -1.019495964050293, -0.02831839770078659, -0.0510471947491169, -0.23190605640411377, 0.2814725339412689, -1.5290478467941284, -0.2330072522163391, -0.32863491773605347, -0.5038862228393555, -1.1987371444702148, -0.05984998121857643, 1.3085355758666992, -0.8207240700721741, -0.19802606105804443, 0.4282664358615875, 0.2754031717777252, 0.5226454734802246, 0.6085330247879028, -0.6603299975395203, -0.3759939670562744, -0.31281349062919617, -0.3616715967655182, 0.29111114144325256, 1.3777860403060913, -0.12090206146240234, -1.083374261856079, 0.7219361662864685, -0.42371001839637756, 0.12498744577169418, 1.9332611560821533, 0.07244762033224106, -0.7108617424964905, 0.30270490050315857, -0.6711889505386353, 1.8791805505752563, 1.7558774948120117, 1.334409475326538, -0.11642037332057953, -0.9255608916282654, 0.5254696607589722, -0.28495004773139954, -0.37678730487823486, 0.917016863822937, 0.4177878797054291, -0.12730345129966736, -1.3451765775680542, 0.536171555519104, 1.3555656671524048, -0.9676113724708557, -0.7747755646705627, 0.11842531710863113, -0.9083245992660522, 1.1297527551651, 0.720654308795929, 0.4441071152687073, 0.18009355664253235, 1.5623730421066284, 0.7923092246055603, -0.48022976517677307, 0.6800718903541565, 0.42615070939064026, -0.12986576557159424, -2.107164144515991, -1.0186576843261719, 0.3614529073238373, -0.412394255399704, -1.6783860921859741, 1.379493236541748, -1.1248571872711182, -0.8773019313812256, 0.5589977502822876, 0.059551142156124115, 1.429303526878357, 0.3482745289802551, 1.6494362354278564, 2.1033835411071777, 0.8680912256240845, 0.2610330879688263, 1.2470773458480835, -0.10297339409589767, -0.4743533134460449, 1.8170615434646606, -0.46739864349365234, 0.4990287721157074, 1.0538477897644043, -0.3446483314037323, -0.9748155474662781, -0.8052110075950623, -1.28109872341156, -0.6936534643173218, 1.0621668100357056, 0.07367059588432312, -1.2572555541992188, 0.19366855919361115, 1.63490891456604, 0.11109611392021179, -0.32938194274902344, 0.7027449607849121, 0.43929946422576904, -0.8244566917419434, -0.09782450646162033, -0.8748108148574829, 0.4768593907356262, -0.13650113344192505, -0.29518312215805054, 0.24095548689365387, 0.45499876141548157, 1.269887089729309, -0.015564264729619026, 0.05634064972400665, 1.2976019382476807, -1.358481764793396, 1.510100245475769, -0.6134637594223022, 0.26257288455963135, -2.400745153427124, 1.335913062095642, -0.786769449710846, 1.805908203125, -2.5538830757141113, 0.4102420508861542, -0.5519230961799622, -0.42052701115608215, 0.23836620151996613, -0.38769033551216125, 0.13262318074703217, -0.1000579372048378, -1.0478096008300781, -0.1147187203168869, -0.6954870820045471, 0.5874121189117432, 1.0956908464431763, 1.394372820854187, -1.0770196914672852, -0.33410197496414185, -1.7253096103668213, -0.1398354023694992, -0.6615810990333557, 0.40447819232940674, -1.9776573181152344, -0.16736023128032684, -1.9102061986923218, -2.3542613983154297, -1.4030518531799316, -0.8579357862472534, 1.088604211807251, 0.04591130465269089, -0.9453520178794861, 1.116852879524231, -0.31016096472740173, -1.8103759288787842, 1.0776563882827759, -2.2247400283813477 ]
https://github.com/huggingface/datasets/issues/4327
`wikipedia` pre-processed datasets
Downloading and processing `wikipedia simple` dataset completed in under 11sec on M1 Mac. Could you please check `dataset` version as mentioned by @albertvillanova? Also check system specs, if system is under load processing could take some time I guess.
## Describe the bug [Wikipedia](https://huggingface.co/datasets/wikipedia) dataset readme says that certain subsets are preprocessed. However it seems like they are not available. When I try to load them it takes a really long time, and it seems like it's processing them. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("wikipedia", "20220301.en") ``` ## Expected results To load the dataset ## Actual results Takes a very long time to load (after downloading) After `Downloading data files: 100%`. It takes hours and gets killed. Tried `wikipedia.simple` and it got processed after ~30mins.
763
39
`wikipedia` pre-processed datasets ## Describe the bug [Wikipedia](https://huggingface.co/datasets/wikipedia) dataset readme says that certain subsets are preprocessed. However it seems like they are not available. When I try to load them it takes a really long time, and it seems like it's processing them. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("wikipedia", "20220301.en") ``` ## Expected results To load the dataset ## Actual results Takes a very long time to load (after downloading) After `Downloading data files: 100%`. It takes hours and gets killed. Tried `wikipedia.simple` and it got processed after ~30mins. Downloading and processing `wikipedia simple` dataset completed in under 11sec on M1 Mac. Could you please check `dataset` version as mentioned by @albertvillanova? Also check system specs, if system is under load processing could take some time I guess.
[ -1.1412906646728516, -0.905063807964325, -0.8748407959938049, 1.497641921043396, -0.22992093861103058, -1.2411091327667236, 0.15469032526016235, -1.108244776725769, 1.8207993507385254, -0.853339672088623, 0.3014028072357178, -1.695799708366394, 0.0011201519519090652, -0.5792660117149353, -0.7360361218452454, -0.9456709027290344, -0.38830745220184326, -0.7837969064712524, 1.003739356994629, 2.467071533203125, 1.1166325807571411, -1.338375449180603, 2.5858705043792725, 0.598726212978363, -0.19739657640457153, -0.9569494724273682, 0.4846341907978058, 0.0538099966943264, -1.2867895364761353, -0.40270063281059265, -0.9932630658149719, -0.024182232096791267, -0.558697521686554, -0.6009024381637573, 0.1368592083454132, 0.3798922598361969, -0.33861467242240906, -0.49397140741348267, -0.5140807628631592, -0.7870816588401794, 0.4182989001274109, -0.3025258481502533, 1.0811257362365723, -0.46243545413017273, 1.8545117378234863, -0.5944485664367676, 0.40426716208457947, 0.689702570438385, 1.4012664556503296, 0.16371214389801025, 0.05282699689269066, 0.2588512599468231, 0.35242557525634766, 0.12382479012012482, 0.4156203269958496, 1.1320422887802124, 0.5575106739997864, 0.5616742372512817, 0.7893239259719849, -2.1625027656555176, 1.329498291015625, -1.0837234258651733, 0.32118943333625793, 1.2449933290481567, -0.9027068614959717, 0.2743068337440491, -1.7149109840393066, -0.02638966776430607, 0.5562204122543335, -2.243891716003418, 0.19831489026546478, -1.3441990613937378, -0.48844027519226074, 0.9842498302459717, 0.3891168534755707, -1.1719822883605957, 0.07062722742557526, -0.37741976976394653, 0.9673746824264526, 0.5686787366867065, 1.1494944095611572, -1.6986371278762817, 0.03153732046484947, -0.3379018008708954, 0.099079430103302, -1.3461894989013672, -1.4672017097473145, 0.5529001355171204, 0.7095961570739746, 0.6333976984024048, -0.14689433574676514, 1.0186175107955933, -0.911584198474884, 0.6894433498382568, -0.8841370940208435, -1.7231167554855347, -1.3375093936920166, -2.160183906555176, -2.411166191101074, 0.8280106782913208, -0.5219172239303589, -0.5080392360687256, 2.05745005607605, -0.930036187171936, -1.840480923652649, 1.114199161529541, 0.20709210634231567, -0.019891168922185898, 2.359647274017334, 0.19910335540771484, -0.6871545314788818, 0.519148051738739, -0.685002326965332, 0.9048366546630859, -0.36084631085395813, 1.3990315198898315, 0.4369186758995056, -1.0290203094482422, 1.5417828559875488, -0.4617595374584198, 0.5738919973373413, -0.591075599193573, -0.566755473613739, -0.8952548503875732, 0.2992638349533081, 1.9405741691589355, -0.29473528265953064, 1.6272457838058472, -0.31902584433555603, -1.6790114641189575, -1.6763546466827393, 0.9337713122367859, 0.5022677183151245, -0.6825727820396423, 0.08170957863330841, -0.3252377212047577, 0.08671775460243225, -0.034607987850904465, 1.1457359790802002, 1.190661907196045, 0.7453635334968567, -0.27978941798210144, -0.8825691342353821, 0.1993981897830963, -0.030795002356171608, -0.7563600540161133, -1.7399866580963135, -0.43249017000198364, 0.08308690786361694, 0.6296135783195496, -1.302996039390564, 1.7359931468963623, 0.8153592944145203, 1.9805080890655518, 1.0214413404464722, -0.21075695753097534, 1.5161142349243164, -0.020692702382802963, 1.9281041622161865, -0.460729718208313, 0.7102646827697754, -0.39726027846336365, -1.096611499786377, 0.7915055751800537, -0.45902734994888306, -1.9623585939407349, -0.8934805393218994, -0.9276084899902344, -0.11923252046108246, -0.7558566331863403, 0.956657350063324, -0.3491388261318207, -1.4225366115570068, 0.25484469532966614, -0.7095047235488892, 0.02761075645685196, -1.2632460594177246, 0.3481351435184479, 0.6916312575340271, -0.6760217547416687, 0.08337581157684326, -0.22398653626441956, -1.2686866521835327, -0.43634241819381714, 0.2641618251800537, 2.0159740447998047, -0.8323627710342407, 0.9716199636459351, 0.9409284591674805, -0.8345398902893066, -0.010241642594337463, 0.29609158635139465, -0.22676551342010498, 0.7839639782905579, -1.1368426084518433, -0.24892517924308777, 1.2595661878585815, -0.15371134877204895, -0.6205943822860718, 1.443310022354126, 0.6744179129600525, -1.0041821002960205, -0.0957735925912857, -0.17733311653137207, -0.7703642249107361, -0.03535305708646774, -1.5821890830993652, -0.04913331940770149, 0.30248770117759705, -1.4378172159194946, -0.48420777916908264, -0.17578594386577606, 1.1949098110198975, -0.1906680017709732, 1.3428099155426025, -0.32894366979599, -0.28474560379981995, -0.3602592647075653, -0.45429426431655884, 0.07000711560249329, -0.23470494151115417, -0.638792872428894, 0.1525244265794754, -0.7928906083106995, 0.345406711101532, 1.3958959579467773, 0.3050052225589752, 0.055780764669179916, 0.5216308832168579, 1.1069239377975464, 0.4184224307537079, -0.016716960817575455, -0.8697729110717773, -1.5306323766708374, 2.0040011405944824, -1.3422001600265503, 1.8418817520141602, 0.6320043802261353, -0.10378356277942657, -1.783591389656067, -1.9167537689208984, 1.4306026697158813, 1.2761801481246948, 2.361818552017212, 0.6731758117675781, 0.35203543305397034, -0.8231590390205383, -0.6218110918998718, 0.3577265441417694, -1.0014132261276245, -0.7472728490829468, 0.17394626140594482, 2.3905041217803955, 1.65523099899292, -0.5152841210365295, -0.22413328289985657, -1.0337731838226318, 1.3659590482711792, -0.14885655045509338, 0.2428254932165146, 1.968488335609436, -0.31811195611953735, -1.1445722579956055, 1.198103904724121, -2.196707010269165, 0.07481402158737183, 1.964789867401123, 0.2746075987815857, 0.15076901018619537, -1.4799566268920898, -0.686316728591919, -0.2255014330148697, -0.359753280878067, -1.2325791120529175, 0.6038970947265625, -0.316700279712677, -0.7414754629135132, -1.5440471172332764, 0.19383881986141205, -1.1311317682266235, -1.66275954246521, 0.20246469974517822, 1.9695193767547607, 1.9408308267593384, -0.7205131649971008, 1.4781088829040527, -0.2747730016708374, 0.18017102777957916, 1.2851186990737915, 1.137897253036499, 3.1109416484832764, 1.970345377922058, -1.2055045366287231, 0.7390861511230469, -0.049594081938266754, -0.5340909361839294, 1.2786259651184082, -1.2306382656097412, 1.2624151706695557, -0.24057506024837494, -1.1627203226089478, -1.283627986907959, 0.8726499080657959, 0.4069860279560089, 0.030984830111265182, -0.5110504627227783, 1.336164116859436, -0.0625259280204773, 1.2826977968215942, 0.5210703611373901, -0.43878698348999023, 0.641132116317749, -0.46304917335510254, -0.5313394069671631, 1.6137839555740356, 0.26631680130958557, -1.4914137125015259, -2.32934308052063, -0.21850308775901794, -0.8745803833007812, 0.007506173104047775, -0.46011537313461304, -0.9552779197692871, 1.6728029251098633, 0.3970835506916046, -1.3207536935806274, -0.2793269157409668, -0.3322385847568512, -0.5836926698684692, 2.7862496376037598, -1.399528980255127, -0.26100724935531616, -0.970328152179718, -0.6064019203186035, 1.6465011835098267, -1.183930516242981, -0.1307053565979004, -1.0281777381896973, -0.5400140285491943, -1.428173542022705, -0.5752124786376953, -0.01889130473136902, -0.8827062845230103, 0.7528586983680725, 0.24923105537891388, -1.1369562149047852, -0.245708629488945, -0.9584176540374756, 0.9182625412940979, -0.12034763395786285, 0.3585053086280823, 1.9311175346374512, 0.4940553307533264, -0.3508051931858063, 0.6766642928123474, 1.1955994367599487, 0.6391520500183105, -0.7334434986114502, 0.23581735789775848, -0.6908701062202454, 0.2760433256626129, -1.425792932510376, 0.24256901443004608, -2.8673315048217773, 0.6585217714309692, -0.09615172445774078, -0.1962476223707199, 0.03776194900274277, -1.3387694358825684, 1.0659210681915283, 2.6118030548095703, -1.2250370979309082, 0.4805035889148712, 0.28946635127067566, 1.239168405532837, -1.5507867336273193, 0.2993062138557434, -0.36786407232284546, 2.1176774501800537, 0.2664206624031067, 1.2725979089736938, -0.47104978561401367, -2.185277223587036, 0.6863254904747009, -1.320436954498291, -1.1942291259765625, 0.7841033339500427, -0.9030200839042664, 0.05711347237229347, -1.4355273246765137, -0.20007893443107605, -0.7088678479194641, -1.2793477773666382, 0.8431784510612488, 0.11138886213302612, 0.4927266836166382, -0.5100804567337036, 0.4502618610858917, -2.207235097885132, -1.4151297807693481, -0.24238871037960052, -1.0361571311950684, 0.4809563457965851, -0.3221975862979889, 0.7533513307571411, -0.2980441451072693, 0.06992222368717194, 0.38485392928123474, 1.3888190984725952, 3.4584710597991943, 0.2328646034002304, 0.3218841254711151, -0.11562609672546387, -1.0163090229034424, 1.4796749353408813, 1.0065113306045532, -0.20062582194805145, -0.4146580398082733, -1.0119340419769287, 1.214687705039978, 1.9755206108093262, 1.0725194215774536, 0.045493755489587784, -0.7686325907707214, -0.7468262910842896, 0.022454652935266495, 0.18726615607738495, 0.41402706503868103, 0.7663953304290771, 0.21308563649654388, 0.15242812037467957, 1.39275324344635, 1.1721068620681763, -0.3550831079483032, 0.46729379892349243, -0.7911426424980164, -0.48770904541015625, 0.6512114405632019, 0.3529207706451416, 0.03208920732140541, 0.38169151544570923, -1.0178282260894775, -0.27150505781173706, -0.4292071759700775, -0.9822997450828552, -0.690870463848114, -0.47717946767807007, -0.3548801839351654, 1.6020243167877197, 0.01960647478699684, -0.5375359654426575, -0.11301447451114655, -0.7819631695747375, -0.045923519879579544, -1.037908673286438, 0.27348360419273376, -0.14854522049427032, -0.16979187726974487, 0.006337173283100128, 1.8193968534469604, -1.01836097240448, -2.0249173641204834, 0.33295491337776184, 0.3100930452346802, -0.41002559661865234, 0.2321210354566574, 1.5372601747512817, 0.5964462757110596, 1.390752911567688, 1.4162604808807373, 1.0176719427108765, -0.6487739086151123, -1.3168693780899048, 0.6647801399230957, 0.8604174256324768, -1.3980299234390259, 0.8004019856452942, 0.06496722996234894, -0.5349282622337341, 0.5921401381492615, 1.2186315059661865, 0.4604251980781555, -1.842921495437622, 0.6633633375167847, -0.7412334084510803, 0.725381076335907, 0.7183622121810913, 0.7465102672576904, 0.22311434149742126, 0.797288715839386, -1.2045783996582031, -1.1977933645248413, -0.769533097743988, -0.6299817562103271, 1.985091209411621, -0.13529448211193085, 0.532139778137207, -0.20342481136322021, -1.2279915809631348, -0.13333164155483246, 0.6633532047271729, 0.39903736114501953, -0.49993404746055603, 0.7954267859458923, -0.627662181854248, -1.0438569784164429, -1.4605510234832764, -0.5320571660995483, -1.0840014219284058, -0.952796220779419, 1.1226462125778198, 0.755027174949646, 0.3004404604434967, 1.8116726875305176, 0.6431392431259155, 0.2700853943824768, -2.675846815109253, 0.8974949717521667, 0.23107600212097168, 0.008243244141340256, 0.7918022274971008, 0.4588637948036194, 0.9819660782814026, -0.1146041750907898, 0.576715886592865, -2.2643442153930664, 2.217862367630005, -0.2483062446117401, 0.53821861743927, -0.00447437260299921, -0.1493767648935318, 1.0886180400848389, 0.5545270442962646, 0.49428731203079224, -1.129592776298523, 0.6034135818481445, -0.6186014413833618, 1.1756843328475952, 0.8981727361679077, -0.9035320281982422, 0.02139453962445259, 1.36282479763031, 0.513556957244873, -0.48208940029144287, -0.8762164115905762, -0.8239732980728149, 1.001874327659607, 1.6603212356567383, -0.12027561664581299, -0.04720259830355644, 0.8088523149490356, 0.5709846615791321, -1.3564401865005493, 0.1302582025527954, -0.7344382405281067, -0.8004858493804932, 1.6005452871322632, 1.986587643623352, -0.10597971081733704, -0.17759722471237183, -0.7644996047019958, -1.101496696472168, 0.8200362324714661, 0.07951338589191437, 0.0024416539818048477, 0.668811023235321, -0.6501630544662476, 1.0945661067962646, 0.8956950902938843, 0.9699077606201172, 0.12179306149482727, 0.38848021626472473, 0.4126278758049011, -0.29141780734062195, -1.2209197282791138, -0.20692893862724304, -1.1086620092391968, -2.5675160884857178, 0.530022919178009, -0.36127007007598877, -1.4263588190078735, 0.004468517377972603, -1.0503923892974854, 0.9222137331962585, -0.5776153802871704, -1.0575860738754272, -1.5454593896865845, 0.20952503383159637, -0.11321748793125153, 0.9247341752052307, -1.597272515296936, -0.02787073701620102, 1.2607786655426025, 0.976783275604248, -0.8109492659568787, 1.1137501001358032, 0.20739465951919556, 1.0461313724517822, 0.8919511437416077, -0.42333558201789856, 0.5483632683753967, 0.09747929871082306, -1.3373347520828247, 0.46920469403266907, 1.0882716178894043, 0.23794274032115936, 1.4730827808380127, -0.6256383061408997, 0.01865534856915474, 0.3897184431552887, -0.4763837456703186, -0.4615512192249298, -0.6235742568969727, 0.738345205783844, 0.15011201798915863, -0.9238332509994507, 0.032048095017671585, 0.024550102651119232, -0.2361905872821808, 0.21812856197357178, -1.5529335737228394, -0.13584989309310913, -0.37231698632240295, -0.5570259690284729, -1.1678451299667358, -0.09507358074188232, 1.3746426105499268, -0.7699592113494873, -0.1433604508638382, 0.4707852005958557, 0.3166385889053345, 0.4205138385295868, 0.6229663491249084, -0.6353021860122681, -0.32558876276016235, -0.2962988615036011, -0.399120032787323, 0.32214322686195374, 1.4062039852142334, -0.13211050629615784, -1.1056797504425049, 0.7175980806350708, -0.2964203655719757, 0.0975009948015213, 1.91019868850708, 0.1096581220626831, -0.8489896059036255, 0.24174712598323822, -0.7357534766197205, 1.937329888343811, 1.7959309816360474, 1.3300747871398926, -0.03982069343328476, -0.9478808045387268, 0.5904428362846375, -0.24863727390766144, -0.42719918489456177, 0.9315742254257202, 0.41562044620513916, -0.15313048660755157, -1.3897074460983276, 0.6147894263267517, 1.2886964082717896, -0.8621208667755127, -0.8175317645072937, 0.05922826752066612, -0.8189609050750732, 0.9879496693611145, 0.7235080003738403, 0.4465620517730713, 0.2445848137140274, 1.5784271955490112, 0.7300189733505249, -0.42702385783195496, 0.6053029298782349, 0.35978561639785767, -0.08304238319396973, -2.0620574951171875, -1.1367369890213013, 0.43614381551742554, -0.5158541202545166, -1.6000480651855469, 1.4247313737869263, -1.0979549884796143, -0.7645910978317261, 0.6029760837554932, 0.06376934051513672, 1.5414122343063354, 0.28322696685791016, 1.554271936416626, 2.126635789871216, 0.8530185222625732, 0.24544773995876312, 1.2971173524856567, -0.13293609023094177, -0.4234725534915924, 1.7807327508926392, -0.42156803607940674, 0.43851593136787415, 1.014304280281067, -0.3235006332397461, -1.0670264959335327, -0.7799164056777954, -1.3445699214935303, -0.6545718312263489, 0.9751584529876709, 0.15106754004955292, -1.2486659288406372, 0.14535832405090332, 1.6212341785430908, 0.1281784623861313, -0.3148539960384369, 0.6260437965393066, 0.37117800116539, -0.8711825609207153, -0.052059076726436615, -0.918073832988739, 0.49053439497947693, -0.10701972246170044, -0.31362712383270264, 0.3325730264186859, 0.37407970428466797, 1.3006633520126343, 0.05690980330109596, 0.11599068343639374, 1.2868961095809937, -1.3597629070281982, 1.4682520627975464, -0.5946505069732666, 0.26415330171585083, -2.37382173538208, 1.4069410562515259, -0.8135855197906494, 1.8192676305770874, -2.6222188472747803, 0.41099101305007935, -0.5690457820892334, -0.480248361825943, 0.27402472496032715, -0.3612225353717804, 0.1949125975370407, -0.1610053926706314, -1.0953742265701294, -0.04882233962416649, -0.6610106229782104, 0.610776960849762, 1.0841745138168335, 1.3919559717178345, -1.1299859285354614, -0.39963340759277344, -1.8055720329284668, -0.06195036694407463, -0.5792714953422546, 0.3986859917640686, -2.0054845809936523, -0.18733881413936615, -1.8215372562408447, -2.3783700466156006, -1.399856448173523, -0.777041494846344, 1.1738263368606567, 0.0879620760679245, -0.9132159948348999, 1.1176520586013794, -0.23943690955638885, -1.8331348896026611, 1.0345115661621094, -2.2353053092956543 ]
https://github.com/huggingface/datasets/issues/4325
Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance
Not sure if it's related... I was going to raise an issue for https://huggingface.co/datasets/domenicrosati/TruthfulQA which also has the same issue... https://huggingface.co/datasets/domenicrosati/TruthfulQA/viewer/domenicrosati--TruthfulQA/train
### Link https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train ### Description The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error messages have all gone, but the datasets are still turning up blank in viewer. Maybe it needs a bit more time. * https://huggingface.co/datasets/strombergnlp/polstance/viewer/PolStance/train * https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train While offenseval_2020 is gated w. prompt, the other gated previews I have run fine in Viewer, e.g. https://huggingface.co/datasets/strombergnlp/shaj , so I'm a bit stumped! ### Owner Yes
764
21
Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance ### Link https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train ### Description The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error messages have all gone, but the datasets are still turning up blank in viewer. Maybe it needs a bit more time. * https://huggingface.co/datasets/strombergnlp/polstance/viewer/PolStance/train * https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train While offenseval_2020 is gated w. prompt, the other gated previews I have run fine in Viewer, e.g. https://huggingface.co/datasets/strombergnlp/shaj , so I'm a bit stumped! ### Owner Yes Not sure if it's related... I was going to raise an issue for https://huggingface.co/datasets/domenicrosati/TruthfulQA which also has the same issue... https://huggingface.co/datasets/domenicrosati/TruthfulQA/viewer/domenicrosati--TruthfulQA/train
[ -1.1779078245162964, -0.9166066646575928, -0.9029459357261658, 1.378021001815796, -0.10964472591876984, -1.3168209791183472, 0.05087197944521904, -0.9338369369506836, 1.5611786842346191, -0.6602224111557007, 0.25161123275756836, -1.6102300882339478, -0.12926965951919556, -0.5099684596061707, -0.7283740043640137, -0.9870007634162903, -0.2993662357330322, -0.9791164398193359, 0.9381110668182373, 2.5987637042999268, 1.1784231662750244, -1.3847805261611938, 2.688868999481201, 0.6135810613632202, -0.26870259642601013, -1.0807157754898071, 0.6005756258964539, -0.024381518363952637, -1.2511703968048096, -0.46551182866096497, -0.9534335136413574, -0.02470478042960167, -0.5337433218955994, -0.45492586493492126, 0.21699638664722443, 0.4685477018356323, -0.14971402287483215, -0.25958356261253357, -0.4949505031108856, -0.7813141345977783, 0.46764856576919556, -0.3826049268245697, 0.9163389801979065, -0.34065017104148865, 1.8451849222183228, -0.5895532965660095, 0.3100655674934387, 0.6998187303543091, 1.2834737300872803, 0.1973147839307785, 0.05827194079756737, 0.14774689078330994, 0.41193604469299316, 0.050119008868932724, 0.45922401547431946, 1.1270195245742798, 0.5174793004989624, 0.46438679099082947, 0.5857173800468445, -2.1369001865386963, 1.3019005060195923, -0.8642784953117371, 0.21823656558990479, 1.4737967252731323, -0.9472610950469971, 0.3760516047477722, -1.91796875, -0.03423822671175003, 0.6631796956062317, -2.2728238105773926, 0.15057887136936188, -1.2802534103393555, -0.5337812304496765, 0.9782389998435974, 0.2840175926685333, -1.2674493789672852, 0.2207350879907608, -0.5331324338912964, 1.0069905519485474, 0.5549085736274719, 1.2001646757125854, -1.648922085762024, -0.11816207319498062, -0.14305554330348969, 0.11676974594593048, -1.3078699111938477, -1.5724889039993286, 0.4720143675804138, 0.6642807126045227, 0.7058302760124207, -0.13851423561573029, 0.8513076305389404, -0.9680672287940979, 0.821395218372345, -0.8223077058792114, -1.7336516380310059, -1.4901930093765259, -2.3472301959991455, -2.427469491958618, 0.9056469798088074, -0.42406779527664185, -0.4003845155239105, 1.8877155780792236, -0.9247252345085144, -1.8133699893951416, 1.0373376607894897, 0.2775764465332031, 0.07989390194416046, 2.3318331241607666, 0.31559452414512634, -0.8110069036483765, 0.32160916924476624, -0.6725924611091614, 0.6948912739753723, -0.4139534533023834, 1.4018287658691406, 0.6779705286026001, -0.9545031785964966, 1.582648754119873, -0.5683009028434753, 0.4701235592365265, -0.7494897842407227, -0.4491592049598694, -0.9114910364151001, 0.3683522045612335, 1.8927308320999146, -0.426726371049881, 1.6257240772247314, -0.2710995078086853, -1.6416046619415283, -1.5872730016708374, 0.7598453760147095, 0.440952867269516, -0.9032328724861145, 0.05209040641784668, -0.4751710295677185, 0.1924663782119751, -0.017291225492954254, 1.070902705192566, 1.0705581903457642, 0.7142202854156494, -0.34674492478370667, -0.8725773096084595, 0.3030092120170593, -0.136468768119812, -0.6495842337608337, -1.8982019424438477, -0.4467078447341919, 0.32567137479782104, 0.6471591591835022, -1.2814979553222656, 1.7375444173812866, 0.8536557555198669, 1.9699777364730835, 1.0045268535614014, -0.3365704119205475, 1.4995380640029907, -0.019396746531128883, 1.9219022989273071, -0.5562041401863098, 0.6976033449172974, -0.31179603934288025, -1.1276895999908447, 0.7547203302383423, -0.3433592915534973, -1.9045649766921997, -0.8655767440795898, -0.9505965113639832, -0.17306753993034363, -0.6990630626678467, 0.8490586876869202, -0.25644734501838684, -1.4207876920700073, 0.20448921620845795, -0.6836401224136353, 0.05701065436005592, -1.2849270105361938, 0.069432333111763, 0.7801070213317871, -0.6317824125289917, -0.05483819544315338, -0.18101085722446442, -1.3451792001724243, -0.434752881526947, 0.21710842847824097, 2.0008904933929443, -0.6961449980735779, 0.9688090682029724, 0.8543882966041565, -0.7447471022605896, 0.25396716594696045, 0.36614900827407837, -0.3085160255432129, 0.7619253396987915, -1.112097978591919, -0.28601953387260437, 1.15751314163208, -0.16496817767620087, -0.7040581703186035, 1.4034003019332886, 0.9265159964561462, -1.0330091714859009, -0.1843295693397522, -0.24265991151332855, -0.7219181060791016, 0.008912055753171444, -1.559431791305542, -0.20230638980865479, 0.1738280951976776, -1.3567413091659546, -0.46733537316322327, -0.26280346512794495, 1.3380391597747803, -0.2508736848831177, 1.4161193370819092, -0.29673299193382263, -0.2617228925228119, -0.4686063230037689, -0.45528706908226013, 0.23678143322467804, -0.2817135155200958, -0.6960206627845764, 0.2689650058746338, -0.9526802897453308, 0.22377708554267883, 1.4695219993591309, 0.40246981382369995, 0.1188354343175888, 0.6988311409950256, 1.0903555154800415, 0.32054081559181213, -0.03202133625745773, -0.9848459959030151, -1.6107287406921387, 2.1366093158721924, -1.3872430324554443, 1.8908944129943848, 0.7596108913421631, -0.044000476598739624, -1.8558448553085327, -1.8371267318725586, 1.2525144815444946, 1.1352037191390991, 2.4879114627838135, 0.5319381952285767, 0.4228242039680481, -0.7766108512878418, -0.7406682372093201, 0.31090787053108215, -1.0468988418579102, -0.7548660039901733, 0.09692247211933136, 2.321124315261841, 1.8658630847930908, -0.5691303014755249, -0.2809704542160034, -0.9357429146766663, 1.2413077354431152, -0.24401527643203735, 0.23210012912750244, 2.124626398086548, -0.2965604066848755, -0.9241163730621338, 1.2527642250061035, -2.3470921516418457, 0.30788323283195496, 2.012377977371216, 0.2716524004936218, 0.1180558055639267, -1.5918383598327637, -0.6323294043540955, -0.2670258581638336, -0.5242296457290649, -1.2217696905136108, 0.5603854060173035, -0.3129878342151642, -1.029719591140747, -1.541357398033142, 0.08377529680728912, -1.1697921752929688, -1.7784234285354614, 0.28780829906463623, 1.8248436450958252, 2.014492988586426, -0.7872129082679749, 1.3667726516723633, -0.12988169491291046, 0.04941054433584213, 1.3472628593444824, 1.278480887413025, 3.1056621074676514, 1.8725194931030273, -1.1674190759658813, 0.8133090138435364, -0.21446478366851807, -0.4090176522731781, 1.0181044340133667, -1.075604796409607, 1.061659812927246, -0.3027321994304657, -1.3175615072250366, -1.1498414278030396, 1.101919174194336, 0.5905815362930298, -0.007081901654601097, -0.5236660838127136, 1.3100731372833252, -0.018094735220074654, 1.358388900756836, 0.6073397994041443, -0.3842776119709015, 0.5223180055618286, -0.3790406584739685, -0.5856415033340454, 1.552562952041626, 0.2314634919166565, -1.515939474105835, -2.26479172706604, -0.2720225155353546, -0.9762224555015564, -0.32340455055236816, -0.6332252025604248, -1.009220838546753, 1.57888925075531, 0.4589914381504059, -1.232022762298584, -0.3282835781574249, -0.33223894238471985, -0.6262050867080688, 2.6745688915252686, -1.34462571144104, -0.12153766304254532, -1.0169057846069336, -0.3512454628944397, 1.621882677078247, -1.2209922075271606, -0.12144890427589417, -1.0789060592651367, -0.7571467757225037, -1.3679323196411133, -0.47952893376350403, 0.021428421139717102, -0.8392637372016907, 0.7248826622962952, 0.08800920844078064, -1.0082646608352661, -0.2247113734483719, -0.9394232630729675, 0.8851245641708374, 0.09092514216899872, 0.22163116931915283, 1.8994662761688232, 0.4219246506690979, -0.406341016292572, 0.5939693450927734, 1.1324431896209717, 0.6155992150306702, -0.7121428847312927, 0.07686791568994522, -0.6502631306648254, 0.24545782804489136, -1.4904636144638062, 0.20173925161361694, -2.9160842895507812, 0.8116046786308289, -0.13332514464855194, -0.08099983632564545, -0.06815505027770996, -1.2340809106826782, 1.1540617942810059, 2.512176036834717, -1.118881344795227, 0.4149632453918457, 0.39876043796539307, 1.1667331457138062, -1.5593063831329346, 0.38642486929893494, -0.43654191493988037, 2.1451799869537354, 0.16850145161151886, 1.2521247863769531, -0.42114153504371643, -1.9785733222961426, 0.5530896782875061, -1.237181305885315, -0.8402149677276611, 0.8036938905715942, -0.8409041166305542, 0.2602067291736603, -1.505130410194397, -0.11155758798122406, -0.7950701713562012, -1.3093680143356323, 0.9159557819366455, -0.005983277224004269, 0.4276637136936188, -0.47699517011642456, 0.44607803225517273, -2.0418875217437744, -1.4376962184906006, -0.1410888135433197, -0.9404357075691223, 0.45778536796569824, -0.3252406716346741, 0.687248170375824, -0.04423579201102257, 0.10736379027366638, 0.3197011947631836, 1.3738964796066284, 3.413757562637329, 0.098373644053936, 0.37754353880882263, -0.03292742744088173, -1.0499355792999268, 1.3551141023635864, 1.049461841583252, -0.1237412616610527, -0.5784037709236145, -0.9478380680084229, 1.3494065999984741, 2.0425655841827393, 1.2052974700927734, 0.16976609826087952, -0.8556079268455505, -0.7345267534255981, 0.12560246884822845, 0.15454775094985962, 0.5386757850646973, 0.8103092908859253, -0.12509498000144958, 0.12244409322738647, 1.5259641408920288, 1.235425353050232, -0.304543137550354, 0.49553555250167847, -1.0193313360214233, -0.39546725153923035, 0.40702229738235474, 0.3140160143375397, 0.13328686356544495, 0.5306292772293091, -1.153638243675232, -0.187233567237854, -0.24039705097675323, -0.9460197687149048, -0.7251406311988831, -0.576296865940094, -0.3715665638446808, 1.6623061895370483, 0.14311784505844116, -0.4160512685775757, 0.113869808614254, -0.8040674328804016, -0.1958635300397873, -1.0671416521072388, 0.19599856436252594, -0.09110727161169052, -0.03173723816871643, -0.10247009247541428, 1.714185357093811, -0.9438112378120422, -2.230060338973999, 0.18614789843559265, 0.31440725922584534, -0.5146763324737549, 0.14848117530345917, 1.7247925996780396, 0.5050081014633179, 1.38027024269104, 1.214835524559021, 0.9958192110061646, -0.5964381098747253, -1.269946813583374, 0.6464685201644897, 0.9915956258773804, -1.361201286315918, 0.9585195779800415, -0.1707313507795334, -0.4946325719356537, 0.6953731179237366, 1.2108334302902222, 0.3230856657028198, -1.931888461112976, 0.8086406588554382, -0.7958115339279175, 0.7461557388305664, 0.6007065176963806, 0.8932979106903076, 0.3027457892894745, 0.7691129446029663, -1.4028472900390625, -1.1551014184951782, -0.7509229183197021, -0.5574769377708435, 1.9373433589935303, 0.034170087426900864, 0.45081984996795654, -0.13423453271389008, -1.3051751852035522, -0.11921080201864243, 0.7549105882644653, 0.3354688584804535, -0.3964192569255829, 0.8703948855400085, -0.690589189529419, -0.9727869033813477, -1.3985515832901, -0.4858759939670563, -0.9408584833145142, -0.8582310080528259, 1.0748668909072876, 0.8113164305686951, 0.36992985010147095, 1.921628713607788, 0.522148847579956, 0.29778143763542175, -2.7653520107269287, 0.9435349106788635, 0.16264231503009796, 0.09672113507986069, 0.9381081461906433, 0.18219982087612152, 1.207709789276123, -0.02568749710917473, 0.5885274410247803, -2.3000855445861816, 2.089282989501953, -0.24194875359535217, 0.5915577411651611, -0.007660152856260538, -0.2079411745071411, 1.1122132539749146, 0.5114848017692566, 0.7016128301620483, -1.1821801662445068, 0.6791436076164246, -0.6507534384727478, 1.020054817199707, 1.0182321071624756, -0.8919385075569153, 0.05853870138525963, 1.3358452320098877, 0.4994475245475769, -0.38381102681159973, -0.9668963551521301, -0.8160301446914673, 0.9879888296127319, 1.6791874170303345, -0.008261055685579777, -0.06058862805366516, 0.9482828974723816, 0.5083375573158264, -1.289355754852295, 0.1130347028374672, -0.78061443567276, -0.5591346621513367, 1.7037490606307983, 2.0257914066314697, -0.0687519758939743, -0.21363304555416107, -0.798673152923584, -1.2272005081176758, 0.6243636012077332, -0.02049751952290535, 0.08999166637659073, 0.823580801486969, -0.6838230490684509, 1.1921584606170654, 0.5455842018127441, 0.9916834831237793, -0.02203546091914177, 0.36239179968833923, 0.288921594619751, -0.3123432993888855, -1.2400175333023071, -0.458993524312973, -1.0875035524368286, -2.588848352432251, 0.4871484935283661, -0.2563490867614746, -1.4076838493347168, 0.08417719602584839, -1.0978487730026245, 0.9074198603630066, -0.6646049618721008, -0.9932532906532288, -1.3404171466827393, 0.387410432100296, -0.27280372381210327, 0.8115004897117615, -1.6573368310928345, -0.0856965109705925, 1.3048791885375977, 0.8794943690299988, -0.4815997779369354, 1.01495361328125, 0.27289438247680664, 1.0118345022201538, 0.8102532625198364, -0.34666895866394043, 0.4540160298347473, 0.19059868156909943, -1.3917845487594604, 0.4830766022205353, 1.1055529117584229, 0.29146742820739746, 1.3385308980941772, -0.5174158215522766, 0.15876404941082, 0.4453843832015991, -0.551341712474823, -0.5048049092292786, -0.4241964817047119, 0.7718409299850464, 0.16722354292869568, -1.0880898237228394, 0.0055537475273013115, -0.12489816546440125, -0.13775654137134552, 0.27581921219825745, -1.4497387409210205, -0.32598936557769775, -0.23143793642520905, -0.4947517514228821, -1.3148382902145386, 0.09950827807188034, 1.2454532384872437, -0.8765664100646973, -0.23930765688419342, 0.5716214776039124, 0.4480111002922058, 0.600892186164856, 0.5978334546089172, -0.6901327967643738, -0.2908214032649994, -0.33841472864151, -0.332675963640213, 0.17953644692897797, 1.2593841552734375, -0.1315983533859253, -1.0901423692703247, 0.819124698638916, -0.4188177287578583, 0.12709525227546692, 1.9919226169586182, 0.07047154754400253, -0.7942081093788147, 0.3220096528530121, -0.6136007308959961, 1.7484761476516724, 1.6199698448181152, 1.274009346961975, -0.01824749819934368, -0.7880699038505554, 0.5051881074905396, -0.21844136714935303, -0.3300139009952545, 0.9397416710853577, 0.4319242238998413, -0.18980273604393005, -1.3683600425720215, 0.4221014678478241, 1.304552674293518, -0.9508997797966003, -0.8281906247138977, 0.03951192647218704, -0.9844246506690979, 1.1083728075027466, 0.701863706111908, 0.45863813161849976, 0.19311971962451935, 1.4999374151229858, 0.7054093480110168, -0.5031481385231018, 0.4214375913143158, 0.43470022082328796, -0.19634084403514862, -2.060908079147339, -0.8311071991920471, 0.25236329436302185, -0.41110333800315857, -1.529260516166687, 1.3195396661758423, -1.151243805885315, -0.8454351425170898, 0.4905581474304199, 0.23814426362514496, 1.4512379169464111, 0.32196030020713806, 1.799910545349121, 2.0950472354888916, 0.8853065371513367, 0.17332135140895844, 1.2730549573898315, -0.02693062648177147, -0.4014473557472229, 1.8309431076049805, -0.35266849398612976, 0.6060509085655212, 0.9601653814315796, -0.45201247930526733, -0.9980289936065674, -0.8067680597305298, -1.104082465171814, -0.46932652592658997, 1.1699336767196655, 0.2094527781009674, -1.1000924110412598, 0.16990140080451965, 1.6329503059387207, 0.01707836240530014, -0.24845129251480103, 0.7241842746734619, 0.5124799013137817, -0.6640960574150085, 0.0069472165778279305, -0.8623285889625549, 0.516741931438446, -0.03560209646821022, -0.276429146528244, 0.31187960505485535, 0.5001250505447388, 1.3371800184249878, -0.062046512961387634, 0.17804290354251862, 1.2829962968826294, -1.265885829925537, 1.5818415880203247, -0.5736976265907288, 0.23729243874549866, -2.4328041076660156, 1.3784608840942383, -0.9039428234100342, 1.8254599571228027, -2.492445468902588, 0.46316370368003845, -0.5697527527809143, -0.422755628824234, 0.33307987451553345, -0.45693889260292053, 0.12363256514072418, -0.14266665279865265, -1.0138685703277588, -0.07647882401943207, -0.8130671977996826, 0.5018057227134705, 1.2598845958709717, 1.434761881828308, -1.0934722423553467, -0.3247613310813904, -1.968775749206543, -0.11429563909769058, -0.8142606616020203, 0.4236518144607544, -1.977584958076477, -0.04664013534784317, -1.911054253578186, -2.388763666152954, -1.5593141317367554, -0.8980873823165894, 0.9894309043884277, 0.2828781008720398, -1.0166586637496948, 1.068221092224121, -0.2986990213394165, -1.8069627285003662, 1.0406945943832397, -2.2170820236206055 ]
https://github.com/huggingface/datasets/issues/4325
Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance
Yes, it's related. The backend behind the dataset viewer is currently under too much load, and these datasets are still in the jobs queue. We're actively working on this issue, and we expect to fix the issue permanently soon. Thanks for your patience πŸ™ Β 
### Link https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train ### Description The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error messages have all gone, but the datasets are still turning up blank in viewer. Maybe it needs a bit more time. * https://huggingface.co/datasets/strombergnlp/polstance/viewer/PolStance/train * https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train While offenseval_2020 is gated w. prompt, the other gated previews I have run fine in Viewer, e.g. https://huggingface.co/datasets/strombergnlp/shaj , so I'm a bit stumped! ### Owner Yes
764
44
Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance ### Link https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train ### Description The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error messages have all gone, but the datasets are still turning up blank in viewer. Maybe it needs a bit more time. * https://huggingface.co/datasets/strombergnlp/polstance/viewer/PolStance/train * https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train While offenseval_2020 is gated w. prompt, the other gated previews I have run fine in Viewer, e.g. https://huggingface.co/datasets/strombergnlp/shaj , so I'm a bit stumped! ### Owner Yes Yes, it's related. The backend behind the dataset viewer is currently under too much load, and these datasets are still in the jobs queue. We're actively working on this issue, and we expect to fix the issue permanently soon. Thanks for your patience πŸ™ Β 
[ -1.1776541471481323, -0.9216643571853638, -0.9339413642883301, 1.3574628829956055, -0.1649002581834793, -1.3166329860687256, 0.062212783843278885, -1.014046549797058, 1.5722445249557495, -0.7342081665992737, 0.26388582587242126, -1.6367970705032349, -0.07131738215684891, -0.5360293388366699, -0.7795531153678894, -0.9981558918952942, -0.3343770205974579, -0.9752241373062134, 0.9459951519966125, 2.5813987255096436, 1.1963932514190674, -1.4022705554962158, 2.708775520324707, 0.6573752164840698, -0.2045479416847229, -1.0762913227081299, 0.619645893573761, -0.019701294600963593, -1.2650399208068848, -0.48397335410118103, -0.9987355470657349, -0.012920044362545013, -0.5287766456604004, -0.406503826379776, 0.16163387894630432, 0.41081809997558594, -0.15308666229248047, -0.2683545649051666, -0.46991047263145447, -0.8055116534233093, 0.44714269042015076, -0.41760683059692383, 0.9540241360664368, -0.3791288733482361, 1.8434892892837524, -0.5586258172988892, 0.31772157549858093, 0.7099363803863525, 1.285837173461914, 0.20452649891376495, 0.03507428243756294, 0.13969017565250397, 0.39495107531547546, 0.039364043623209, 0.4448699355125427, 1.0991716384887695, 0.5351049304008484, 0.46954378485679626, 0.5786303281784058, -2.087284564971924, 1.3228760957717896, -0.9524630308151245, 0.22810016572475433, 1.494247317314148, -0.9896911978721619, 0.37863826751708984, -1.8907403945922852, -0.04312947764992714, 0.682157576084137, -2.274744987487793, 0.17983843386173248, -1.2435790300369263, -0.550993025302887, 0.9678313732147217, 0.2768552303314209, -1.2687304019927979, 0.2392822802066803, -0.5353749394416809, 1.0653550624847412, 0.535671055316925, 1.1672381162643433, -1.6807682514190674, -0.13805629312992096, -0.160507932305336, 0.07395748794078827, -1.3610954284667969, -1.6013736724853516, 0.49293455481529236, 0.6390246152877808, 0.6967763304710388, -0.14465327560901642, 0.8867195248603821, -1.0238566398620605, 0.7868911623954773, -0.8414390087127686, -1.6894890069961548, -1.4814841747283936, -2.3620870113372803, -2.3659558296203613, 0.9018616080284119, -0.42132440209388733, -0.44844383001327515, 1.9201008081436157, -0.9643411636352539, -1.8122717142105103, 1.132125735282898, 0.2958320677280426, 0.06352062523365021, 2.3542046546936035, 0.2775397300720215, -0.7717770934104919, 0.29401499032974243, -0.720500111579895, 0.736853837966919, -0.4624180197715759, 1.4009441137313843, 0.6460057497024536, -0.9608882069587708, 1.5561869144439697, -0.5436908602714539, 0.4959138333797455, -0.7251436114311218, -0.48821189999580383, -0.9371585249900818, 0.37936854362487793, 1.8993043899536133, -0.4155140221118927, 1.6384024620056152, -0.27421510219573975, -1.620926022529602, -1.614043116569519, 0.8265298008918762, 0.4434526860713959, -0.926568865776062, 0.04029164835810661, -0.46275076270103455, 0.14421260356903076, -0.06254004687070847, 1.041967511177063, 1.0459238290786743, 0.6983402371406555, -0.3292950987815857, -0.8785458207130432, 0.2974160611629486, -0.14502154290676117, -0.6886127591133118, -1.8669737577438354, -0.44929423928260803, 0.20188011229038239, 0.658258318901062, -1.2830084562301636, 1.678460955619812, 0.8546967506408691, 1.9323561191558838, 0.9952275156974792, -0.3638983964920044, 1.495011329650879, 0.019245993345975876, 1.8678961992263794, -0.6330006718635559, 0.7267833948135376, -0.31604331731796265, -1.1335337162017822, 0.802426278591156, -0.34282082319259644, -1.9019808769226074, -0.8548751473426819, -0.9220276474952698, -0.21558189392089844, -0.7211204171180725, 0.8502134680747986, -0.29224446415901184, -1.449924111366272, 0.24350130558013916, -0.6888018250465393, 0.07321097701787949, -1.2542914152145386, 0.16567784547805786, 0.7501257658004761, -0.5867515802383423, -0.0781385749578476, -0.17542476952075958, -1.350425362586975, -0.3951171934604645, 0.19000428915023804, 1.952937364578247, -0.7022802233695984, 0.9550858736038208, 0.8378075957298279, -0.7535101771354675, 0.13968320190906525, 0.36621710658073425, -0.2627372145652771, 0.8033877015113831, -1.1075260639190674, -0.3651740849018097, 1.183824896812439, -0.16269351541996002, -0.6844578981399536, 1.4169597625732422, 0.8737899661064148, -1.0324476957321167, -0.1784673035144806, -0.19355472922325134, -0.7509747743606567, 0.02597547322511673, -1.5777456760406494, -0.21794089674949646, 0.21197223663330078, -1.3431813716888428, -0.5143699645996094, -0.2571638822555542, 1.3370729684829712, -0.2665215730667114, 1.4365766048431396, -0.3280326724052429, -0.27373674511909485, -0.4222376346588135, -0.4258178472518921, 0.25926274061203003, -0.25594285130500793, -0.6513980627059937, 0.25890982151031494, -0.9426270127296448, 0.25571247935295105, 1.468979001045227, 0.393423855304718, 0.10440296679735184, 0.67286217212677, 1.0861866474151611, 0.31236928701400757, -0.03690828010439873, -1.0085091590881348, -1.6024701595306396, 2.1249866485595703, -1.4229501485824585, 1.9154049158096313, 0.7407673001289368, -0.010299092158675194, -1.8444342613220215, -1.8653755187988281, 1.2364598512649536, 1.1977266073226929, 2.403446674346924, 0.49546900391578674, 0.36587393283843994, -0.7870427370071411, -0.7808510065078735, 0.32912203669548035, -1.082639455795288, -0.7509725093841553, 0.0946306511759758, 2.271960735321045, 1.8883687257766724, -0.5426454544067383, -0.2935869097709656, -0.9394198656082153, 1.281691551208496, -0.2301839292049408, 0.2496185600757599, 2.1222591400146484, -0.306953489780426, -0.9966757297515869, 1.186646580696106, -2.337764024734497, 0.26614874601364136, 1.980654239654541, 0.28353407979011536, 0.12262290716171265, -1.5933438539505005, -0.62501060962677, -0.2594883441925049, -0.4844650626182556, -1.228957176208496, 0.5900417566299438, -0.35489505529403687, -0.9814893007278442, -1.549046516418457, 0.08977536857128143, -1.1968932151794434, -1.7390121221542358, 0.27406203746795654, 1.8234362602233887, 2.034935712814331, -0.7766135931015015, 1.4022971391677856, -0.1282157301902771, 0.054908785969018936, 1.319913387298584, 1.2284064292907715, 3.070519208908081, 1.8725312948226929, -1.2011330127716064, 0.755020022392273, -0.20566804707050323, -0.41564521193504333, 1.0698295831680298, -1.0807325839996338, 1.1276755332946777, -0.26109880208969116, -1.259542465209961, -1.1621817350387573, 1.0662657022476196, 0.5251553058624268, -0.006963232532143593, -0.48495572805404663, 1.3113375902175903, -0.056197356432676315, 1.360582709312439, 0.6286962628364563, -0.39057958126068115, 0.5336576700210571, -0.42544835805892944, -0.5707769393920898, 1.6005585193634033, 0.22995808720588684, -1.525604486465454, -2.274104595184326, -0.30567485094070435, -0.8975632190704346, -0.1893988400697708, -0.5994850397109985, -0.9987415075302124, 1.6239888668060303, 0.4247874915599823, -1.3018361330032349, -0.31564128398895264, -0.338112473487854, -0.6068093180656433, 2.6203625202178955, -1.3404415845870972, -0.15848486125469208, -1.0152925252914429, -0.36179319024086, 1.5932910442352295, -1.2392581701278687, -0.12265666574239731, -1.0882740020751953, -0.7338199019432068, -1.3845725059509277, -0.47625407576560974, 0.03039637953042984, -0.8668866157531738, 0.7536990642547607, 0.09970813244581223, -0.9989808201789856, -0.21372289955615997, -0.9146853089332581, 0.8334463238716125, 0.0962972342967987, 0.2709142863750458, 1.9204753637313843, 0.4089744985103607, -0.35892999172210693, 0.6158026456832886, 1.1268092393875122, 0.6177567839622498, -0.6900994777679443, 0.08208327740430832, -0.6541145443916321, 0.2690136134624481, -1.423786997795105, 0.23343122005462646, -2.920884132385254, 0.7875524163246155, -0.13870076835155487, -0.033181026577949524, -0.04336722195148468, -1.267699956893921, 1.1429123878479004, 2.4933557510375977, -1.1356607675552368, 0.4368933141231537, 0.36356306076049805, 1.1909596920013428, -1.6027346849441528, 0.4082595407962799, -0.39216217398643494, 2.1856255531311035, 0.19272802770137787, 1.2382445335388184, -0.43704503774642944, -2.0358922481536865, 0.5547035336494446, -1.2458828687667847, -0.9020124673843384, 0.8054859638214111, -0.8495507836341858, 0.21062242984771729, -1.5353848934173584, -0.13976839184761047, -0.8354544043540955, -1.2833518981933594, 0.94637531042099, -0.011193071492016315, 0.45957648754119873, -0.5019984245300293, 0.4415697753429413, -2.0419418811798096, -1.3604167699813843, -0.15136349201202393, -0.9255634546279907, 0.4439997673034668, -0.33204948902130127, 0.6863526701927185, -0.03598034754395485, 0.11633700132369995, 0.321486234664917, 1.339800477027893, 3.4609827995300293, 0.06922286003828049, 0.3961085081100464, -0.008584787137806416, -1.006237506866455, 1.3135528564453125, 1.0273841619491577, -0.07814148813486099, -0.5923422574996948, -0.9581195116043091, 1.3806260824203491, 2.0098118782043457, 1.1495788097381592, 0.18040651082992554, -0.8347476124763489, -0.6763248443603516, 0.059217389672994614, 0.14833948016166687, 0.5328622460365295, 0.8243308067321777, -0.1425243467092514, 0.15210872888565063, 1.5285327434539795, 1.2395660877227783, -0.31279605627059937, 0.4157325029373169, -0.9799225330352783, -0.4117352068424225, 0.4250984191894531, 0.30127549171447754, 0.10421334952116013, 0.5030351877212524, -1.0521923303604126, -0.22333838045597076, -0.3252948820590973, -0.9437788724899292, -0.6430138945579529, -0.543206512928009, -0.3775346279144287, 1.6705660820007324, 0.1543804109096527, -0.4285617470741272, 0.12149956822395325, -0.8019770979881287, -0.16168349981307983, -1.0938199758529663, 0.17742514610290527, -0.1470901072025299, -0.1004338264465332, -0.10500335693359375, 1.7135987281799316, -0.909956157207489, -2.1704399585723877, 0.1675066202878952, 0.3170897364616394, -0.44549810886383057, 0.1351885348558426, 1.7411519289016724, 0.48386150598526, 1.3871382474899292, 1.2067183256149292, 0.928253173828125, -0.6510502696037292, -1.3064051866531372, 0.6948236227035522, 1.0270239114761353, -1.375209093093872, 0.9360283613204956, -0.06481655687093735, -0.5407346487045288, 0.710741400718689, 1.2005226612091064, 0.3147788345813751, -1.9078096151351929, 0.8045046329498291, -0.8183292746543884, 0.75662761926651, 0.6136319637298584, 0.8704053163528442, 0.33338597416877747, 0.7794436812400818, -1.3609532117843628, -1.1758403778076172, -0.7557518482208252, -0.5439193248748779, 1.9937326908111572, 0.02015009894967079, 0.46705564856529236, -0.12481702864170074, -1.265106439590454, -0.12563791871070862, 0.6766067743301392, 0.3367367386817932, -0.3777467906475067, 0.8051820993423462, -0.754808247089386, -1.0069657564163208, -1.4458259344100952, -0.47135859727859497, -0.9819018840789795, -0.8868075013160706, 1.131260633468628, 0.8686938881874084, 0.29794058203697205, 1.9242794513702393, 0.5889598727226257, 0.240086168050766, -2.7044432163238525, 0.9159084558486938, 0.16177690029144287, 0.039972882717847824, 0.9837294220924377, 0.153875932097435, 1.181442379951477, 0.023300651460886, 0.5519951581954956, -2.3474159240722656, 2.1094601154327393, -0.2655651569366455, 0.6110102534294128, -0.03534959629178047, -0.24227970838546753, 1.1776540279388428, 0.5395209193229675, 0.6655032634735107, -1.1537185907363892, 0.6578428745269775, -0.5728161931037903, 1.0513819456100464, 1.0867903232574463, -0.8699065446853638, 0.03059055656194687, 1.3246175050735474, 0.46535778045654297, -0.4252740144729614, -0.9321396946907043, -0.7936420440673828, 0.9531989693641663, 1.7101216316223145, 0.00812272448092699, -0.0348532609641552, 0.9161513447761536, 0.5502195954322815, -1.2420748472213745, 0.11952626705169678, -0.7867116928100586, -0.6275986433029175, 1.6217114925384521, 2.0158746242523193, -0.06320144981145859, -0.1709892600774765, -0.7836098074913025, -1.2184747457504272, 0.6537676453590393, -0.039738722145557404, 0.09059344232082367, 0.7672709822654724, -0.6852648854255676, 1.1308763027191162, 0.6398758292198181, 0.9801444411277771, 0.02566571906208992, 0.35073530673980713, 0.33948636054992676, -0.29855772852897644, -1.1892945766448975, -0.3979571759700775, -1.0881776809692383, -2.609267473220825, 0.5242868661880493, -0.26761895418167114, -1.4385795593261719, 0.06811913847923279, -1.070183515548706, 0.9637349247932434, -0.6584911942481995, -0.9660307765007019, -1.3771982192993164, 0.4019184410572052, -0.2426895797252655, 0.8427688479423523, -1.7019799947738647, -0.08379657566547394, 1.3248066902160645, 0.8822025060653687, -0.4439999461174011, 1.0097829103469849, 0.27716344594955444, 1.0425336360931396, 0.790398120880127, -0.3624180257320404, 0.44504716992378235, 0.17708206176757812, -1.4186444282531738, 0.5062845349311829, 1.086129903793335, 0.261855810880661, 1.3790525197982788, -0.4767976403236389, 0.15886345505714417, 0.43490198254585266, -0.5648534297943115, -0.4962218105792999, -0.361698180437088, 0.7993507385253906, 0.18530027568340302, -0.9994391798973083, 0.012151227332651615, -0.1419660449028015, -0.17734578251838684, 0.23457612097263336, -1.435306191444397, -0.33695465326309204, -0.26366662979125977, -0.47571760416030884, -1.2926409244537354, 0.03965185210108757, 1.3160266876220703, -0.8195776343345642, -0.23710691928863525, 0.5941852331161499, 0.49934902787208557, 0.5850034952163696, 0.6450791954994202, -0.6836357712745667, -0.2976842522621155, -0.31121665239334106, -0.3223702311515808, 0.1677713841199875, 1.2647916078567505, -0.1577223390340805, -1.0472866296768188, 0.7969619631767273, -0.3715319335460663, 0.10416452586650848, 1.9157782793045044, 0.10384060442447662, -0.8160331845283508, 0.35450518131256104, -0.5830064415931702, 1.865097999572754, 1.6522815227508545, 1.2777329683303833, -0.012717841193079948, -0.7972865700721741, 0.5378769040107727, -0.18719753623008728, -0.32464560866355896, 0.9439606070518494, 0.4209291636943817, -0.1364029198884964, -1.3849724531173706, 0.5143575072288513, 1.2941522598266602, -0.9903833866119385, -0.8351752758026123, 0.017048805952072144, -0.9252527356147766, 1.0857828855514526, 0.6799336075782776, 0.4644676744937897, 0.2432585060596466, 1.5481640100479126, 0.751029908657074, -0.534503698348999, 0.44264861941337585, 0.4436476230621338, -0.19968324899673462, -2.091169595718384, -0.8569507002830505, 0.2586361765861511, -0.4088555872440338, -1.501314640045166, 1.3561325073242188, -1.1052979230880737, -0.8207522034645081, 0.4649198651313782, 0.21720345318317413, 1.435089349746704, 0.34753334522247314, 1.7526602745056152, 2.077871322631836, 0.8238760232925415, 0.18521936237812042, 1.3615015745162964, -0.03942658007144928, -0.4008401930332184, 1.8517533540725708, -0.348157674074173, 0.5471192598342896, 1.0322284698486328, -0.44401001930236816, -0.9983891248703003, -0.7427563667297363, -1.085680365562439, -0.4780346155166626, 1.1428889036178589, 0.18201954662799835, -1.0794516801834106, 0.14295831322669983, 1.6247884035110474, -0.0011599035933613777, -0.27591612935066223, 0.6986932754516602, 0.5422617793083191, -0.655149519443512, 0.030936401337385178, -0.9033198952674866, 0.5115304589271545, -0.06044258177280426, -0.27764472365379333, 0.3700283467769623, 0.4723290205001831, 1.3414376974105835, -0.04883672297000885, 0.1566714346408844, 1.2080425024032593, -1.3259599208831787, 1.5493327379226685, -0.5559988617897034, 0.1859935224056244, -2.441523790359497, 1.3483145236968994, -0.8709770441055298, 1.8688526153564453, -2.530766010284424, 0.4510016441345215, -0.6189607977867126, -0.3974606692790985, 0.32826337218284607, -0.4570328891277313, 0.1544056087732315, -0.13039636611938477, -1.0294848680496216, -0.050833653658628464, -0.7771705985069275, 0.5559749007225037, 1.2492624521255493, 1.4064420461654663, -1.0846638679504395, -0.3163940906524658, -1.9465243816375732, -0.08152762055397034, -0.8391630053520203, 0.3368358016014099, -2.0359625816345215, -0.04120931029319763, -1.8830785751342773, -2.377077102661133, -1.520438551902771, -0.9125236868858337, 1.0526355504989624, 0.310477077960968, -0.9888195395469666, 1.111446738243103, -0.2906526029109955, -1.7952080965042114, 1.0334376096725464, -2.2027273178100586 ]
https://github.com/huggingface/datasets/issues/4325
Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance
Thanks @severo and no worries! - a suggestion for a UI usability thing maybe is to indicate that the dataset processing is in the job queue (rather than no data?)
### Link https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train ### Description The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error messages have all gone, but the datasets are still turning up blank in viewer. Maybe it needs a bit more time. * https://huggingface.co/datasets/strombergnlp/polstance/viewer/PolStance/train * https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train While offenseval_2020 is gated w. prompt, the other gated previews I have run fine in Viewer, e.g. https://huggingface.co/datasets/strombergnlp/shaj , so I'm a bit stumped! ### Owner Yes
764
30
Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance ### Link https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train ### Description The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error messages have all gone, but the datasets are still turning up blank in viewer. Maybe it needs a bit more time. * https://huggingface.co/datasets/strombergnlp/polstance/viewer/PolStance/train * https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train While offenseval_2020 is gated w. prompt, the other gated previews I have run fine in Viewer, e.g. https://huggingface.co/datasets/strombergnlp/shaj , so I'm a bit stumped! ### Owner Yes Thanks @severo and no worries! - a suggestion for a UI usability thing maybe is to indicate that the dataset processing is in the job queue (rather than no data?)
[ -1.2030916213989258, -0.8910055756568909, -0.9412983655929565, 1.3920750617980957, -0.12956993281841278, -1.3571844100952148, 0.029309121891856194, -1.012561559677124, 1.5499680042266846, -0.7206444144248962, 0.26518020033836365, -1.6068708896636963, -0.09679283946752548, -0.5656339526176453, -0.7952482104301453, -0.9876447916030884, -0.34441789984703064, -0.9843441843986511, 0.9413192272186279, 2.6053640842437744, 1.215323567390442, -1.374143123626709, 2.751099109649658, 0.6932803988456726, -0.2606929540634155, -1.0676169395446777, 0.5931786894798279, -0.05882888287305832, -1.2471131086349487, -0.47243866324424744, -0.9976683855056763, -0.04721607267856598, -0.5260028839111328, -0.44774290919303894, 0.17707738280296326, 0.41133105754852295, -0.14212897419929504, -0.2574880123138428, -0.4801012873649597, -0.7897944450378418, 0.4582917392253876, -0.36620450019836426, 0.9564990401268005, -0.38563472032546997, 1.8622537851333618, -0.6028797626495361, 0.2730728089809418, 0.6916994452476501, 1.3334050178527832, 0.17779988050460815, 0.02874656952917576, 0.1985776275396347, 0.38413193821907043, 0.015420028939843178, 0.4432487189769745, 1.1608613729476929, 0.5223883390426636, 0.4754914939403534, 0.6199173331260681, -2.069256544113159, 1.3287181854248047, -0.9035093784332275, 0.2417917251586914, 1.4630728960037231, -1.0120429992675781, 0.42169952392578125, -1.9107755422592163, -0.05531094968318939, 0.6522699594497681, -2.2716221809387207, 0.17705895006656647, -1.2588082551956177, -0.5952717661857605, 0.9628308415412903, 0.28194066882133484, -1.2706230878829956, 0.24226468801498413, -0.5618858933448792, 1.0298802852630615, 0.5208526849746704, 1.1875903606414795, -1.700340986251831, -0.1227436363697052, -0.16736406087875366, 0.08377650380134583, -1.3571743965148926, -1.571021318435669, 0.53216952085495, 0.6385849714279175, 0.71279376745224, -0.12766939401626587, 0.8931719064712524, -0.962419867515564, 0.7972955107688904, -0.8086614012718201, -1.669095516204834, -1.519985318183899, -2.3764472007751465, -2.3469178676605225, 0.8951391577720642, -0.44316309690475464, -0.45056024193763733, 1.906925916671753, -0.9504185914993286, -1.812446117401123, 1.1100904941558838, 0.24872726202011108, 0.07458192110061646, 2.329129695892334, 0.30210891366004944, -0.8069953322410583, 0.2991260290145874, -0.679705798625946, 0.745984673500061, -0.46567583084106445, 1.3837345838546753, 0.6289507150650024, -0.9757569432258606, 1.521009922027588, -0.5716344714164734, 0.5081965923309326, -0.6965755224227905, -0.49471384286880493, -0.918738603591919, 0.381731241941452, 1.908715844154358, -0.4162481427192688, 1.651240348815918, -0.2505131661891937, -1.6145519018173218, -1.5995844602584839, 0.7779768705368042, 0.4135384261608124, -0.937350332736969, 0.0977199599146843, -0.47619539499282837, 0.10435310751199722, -0.015468645840883255, 1.0643302202224731, 1.0580466985702515, 0.6769649386405945, -0.30570361018180847, -0.873103141784668, 0.2865043878555298, -0.12446044385433197, -0.6973129510879517, -1.8664970397949219, -0.48344892263412476, 0.2605057954788208, 0.6164101362228394, -1.2601792812347412, 1.6984614133834839, 0.872174084186554, 1.923538327217102, 1.0311022996902466, -0.3019018769264221, 1.462161898612976, 0.002624799497425556, 1.8723292350769043, -0.5966892838478088, 0.7118338942527771, -0.35812458395957947, -1.173784852027893, 0.7761405110359192, -0.35942065715789795, -1.9310463666915894, -0.8596699833869934, -0.9091586470603943, -0.18676619231700897, -0.7271177768707275, 0.8220840096473694, -0.2831757664680481, -1.3883885145187378, 0.25137174129486084, -0.718066930770874, 0.12159637361764908, -1.2750509977340698, 0.12224181741476059, 0.756481409072876, -0.5945562720298767, -0.09241186082363129, -0.19087134301662445, -1.3464795351028442, -0.40170884132385254, 0.2089497447013855, 1.9900530576705933, -0.7052388191223145, 0.9695876240730286, 0.8327500820159912, -0.7038241028785706, 0.1768912523984909, 0.353340208530426, -0.30197128653526306, 0.8136716485023499, -1.114427089691162, -0.2985449433326721, 1.186238408088684, -0.13187363743782043, -0.6655099391937256, 1.4015700817108154, 0.9084442853927612, -1.0353361368179321, -0.22662672400474548, -0.21112161874771118, -0.793777346611023, -0.011138307861983776, -1.581664800643921, -0.20190384984016418, 0.1798829883337021, -1.3090922832489014, -0.5099013447761536, -0.2378397136926651, 1.340578556060791, -0.2582028806209564, 1.4333759546279907, -0.3198980689048767, -0.25060904026031494, -0.46378496289253235, -0.4670850932598114, 0.2688520550727844, -0.26986193656921387, -0.63535076379776, 0.25131431221961975, -0.9170135855674744, 0.25846800208091736, 1.4700543880462646, 0.3770415782928467, 0.1469069868326187, 0.6801995038986206, 1.0984289646148682, 0.25927063822746277, -0.031252749264240265, -0.983309805393219, -1.6474510431289673, 2.1250836849212646, -1.383095622062683, 1.8980430364608765, 0.762627899646759, -0.003257705830037594, -1.8576120138168335, -1.884252905845642, 1.2443746328353882, 1.2120791673660278, 2.3842008113861084, 0.5106455087661743, 0.35966238379478455, -0.7917743921279907, -0.7622455954551697, 0.34861788153648376, -1.0863120555877686, -0.7441188097000122, 0.07957872748374939, 2.2827506065368652, 1.9119505882263184, -0.5574334859848022, -0.2998865842819214, -0.9270325303077698, 1.2567249536514282, -0.28667697310447693, 0.20181845128536224, 2.1180996894836426, -0.2985773980617523, -0.9851104021072388, 1.2160156965255737, -2.354768753051758, 0.25334790349006653, 2.0022432804107666, 0.3002578318119049, 0.16443561017513275, -1.5944105386734009, -0.6337929964065552, -0.24613171815872192, -0.49538707733154297, -1.237440586090088, 0.5757542848587036, -0.38460564613342285, -0.945469856262207, -1.5404257774353027, 0.08922233432531357, -1.2026029825210571, -1.7257932424545288, 0.2688790261745453, 1.7818533182144165, 2.0491275787353516, -0.7527461051940918, 1.3915075063705444, -0.15771552920341492, 0.043969087302684784, 1.3200862407684326, 1.296248435974121, 3.118588924407959, 1.8781707286834717, -1.1644591093063354, 0.7942102551460266, -0.2001224309206009, -0.4140249788761139, 1.071656584739685, -1.0623326301574707, 1.1205766201019287, -0.31242313981056213, -1.2808183431625366, -1.1441057920455933, 1.0421218872070312, 0.5441756248474121, -0.002044930588454008, -0.5063107013702393, 1.3027302026748657, -0.06540054082870483, 1.344497799873352, 0.6292780637741089, -0.37528446316719055, 0.5234817266464233, -0.40438389778137207, -0.5780050158500671, 1.5577677488327026, 0.26044872403144836, -1.4991652965545654, -2.2946653366088867, -0.29466384649276733, -0.9116262793540955, -0.26494041085243225, -0.6229189038276672, -1.0241090059280396, 1.5904263257980347, 0.3924773037433624, -1.2932567596435547, -0.3117378056049347, -0.3411649465560913, -0.5849368572235107, 2.6494343280792236, -1.4073442220687866, -0.1533697247505188, -1.0172033309936523, -0.3501693904399872, 1.613882303237915, -1.2306363582611084, -0.13055990636348724, -1.0874465703964233, -0.7148885130882263, -1.359074592590332, -0.5087090730667114, 0.034572772681713104, -0.866191565990448, 0.7509468793869019, 0.1047632247209549, -1.0216753482818604, -0.17105674743652344, -0.9162633419036865, 0.8656414747238159, 0.0843638926744461, 0.22600701451301575, 1.9291645288467407, 0.3921847641468048, -0.3787117600440979, 0.6336369514465332, 1.1625748872756958, 0.6191255450248718, -0.7259725332260132, 0.08954620361328125, -0.6240804195404053, 0.22444546222686768, -1.4590507745742798, 0.21357083320617676, -2.8989429473876953, 0.778018593788147, -0.1033794954419136, -0.051517218351364136, -0.03222132474184036, -1.2622637748718262, 1.0944544076919556, 2.512667179107666, -1.1534385681152344, 0.42039310932159424, 0.31423231959342957, 1.1729788780212402, -1.6289379596710205, 0.34580379724502563, -0.40159428119659424, 2.169715642929077, 0.1572709083557129, 1.2756848335266113, -0.39228272438049316, -2.0267906188964844, 0.5256661772727966, -1.2586432695388794, -0.8711336851119995, 0.7967397570610046, -0.8223476409912109, 0.23557573556900024, -1.5420639514923096, -0.11932317912578583, -0.8484423160552979, -1.2421300411224365, 0.9441389441490173, -0.01821107789874077, 0.46720919013023376, -0.5069566965103149, 0.4039788246154785, -2.028669834136963, -1.3673715591430664, -0.10555839538574219, -0.915501058101654, 0.4618886411190033, -0.3144392669200897, 0.6540953516960144, -0.06400525569915771, 0.12662866711616516, 0.3270939588546753, 1.3431105613708496, 3.439725160598755, 0.023627134039998055, 0.3602771461009979, -0.027375977486371994, -0.9845564961433411, 1.2885935306549072, 1.0187987089157104, -0.09427299350500107, -0.6029275059700012, -0.9208900928497314, 1.3936331272125244, 1.9881858825683594, 1.1206090450286865, 0.16114620864391327, -0.8771482110023499, -0.6959261298179626, 0.059767648577690125, 0.14859189093112946, 0.5393400192260742, 0.7948792576789856, -0.13607946038246155, 0.12287919968366623, 1.5161482095718384, 1.1753714084625244, -0.30086517333984375, 0.4097878634929657, -0.9975017309188843, -0.41141942143440247, 0.4064575731754303, 0.31540465354919434, 0.11738432198762894, 0.5077357888221741, -1.0430799722671509, -0.22812741994857788, -0.332253634929657, -0.9333276152610779, -0.6722465753555298, -0.5622851848602295, -0.3777149021625519, 1.691982388496399, 0.14809532463550568, -0.4275113642215729, 0.08883104473352432, -0.7640674114227295, -0.20168252289295197, -1.041904330253601, 0.17782804369926453, -0.11532950401306152, -0.059939272701740265, -0.10611988604068756, 1.6614415645599365, -0.9073131680488586, -2.1624021530151367, 0.17841848731040955, 0.3063738942146301, -0.47588253021240234, 0.11256933957338333, 1.7605934143066406, 0.49074235558509827, 1.378069519996643, 1.229737401008606, 0.9217948317527771, -0.6339287161827087, -1.2984172105789185, 0.6827564835548401, 0.9978532791137695, -1.4179437160491943, 0.9753629565238953, -0.13421028852462769, -0.5603871941566467, 0.7210708260536194, 1.2035369873046875, 0.3674469292163849, -1.9101797342300415, 0.7953051328659058, -0.8487850427627563, 0.7557620406150818, 0.6164470911026001, 0.8601341247558594, 0.3496457040309906, 0.7978855967521667, -1.3574424982070923, -1.1722545623779297, -0.7731412053108215, -0.5551876425743103, 1.992530345916748, 0.02036452293395996, 0.44065800309181213, -0.15744203329086304, -1.291076898574829, -0.11816608905792236, 0.7297967076301575, 0.31047001481056213, -0.37478530406951904, 0.8229727149009705, -0.7684586644172668, -0.9757698178291321, -1.4317342042922974, -0.46304842829704285, -0.9558191299438477, -0.8810135722160339, 1.1107125282287598, 0.8698272705078125, 0.3150905668735504, 1.9266916513442993, 0.587489664554596, 0.25913310050964355, -2.683133363723755, 0.9208427667617798, 0.1339685171842575, 0.07823280245065689, 0.9816515445709229, 0.11563790589570999, 1.1827679872512817, 0.019796283915638924, 0.5652859807014465, -2.329624891281128, 2.097696542739868, -0.237383633852005, 0.6186752915382385, -0.03440551832318306, -0.23856554925441742, 1.1172343492507935, 0.5074416995048523, 0.6881963014602661, -1.2021592855453491, 0.6379828453063965, -0.5769788026809692, 1.0418243408203125, 1.04308021068573, -0.9056316018104553, 0.06070946156978607, 1.3419957160949707, 0.4540655016899109, -0.46342232823371887, -0.9312904477119446, -0.8118823170661926, 0.9882876873016357, 1.6853413581848145, 0.04480469226837158, -0.027005143463611603, 0.9403338432312012, 0.5339840650558472, -1.2553201913833618, 0.13255518674850464, -0.7515875697135925, -0.5948684811592102, 1.6392533779144287, 1.9875471591949463, -0.07651888579130173, -0.14566360414028168, -0.7803980708122253, -1.247752070426941, 0.6780369877815247, -0.023447155952453613, 0.0624314546585083, 0.7633046507835388, -0.6782388091087341, 1.1633716821670532, 0.6240428686141968, 0.9855971932411194, 0.023009179159998894, 0.36321204900741577, 0.351622074842453, -0.3039717674255371, -1.2115124464035034, -0.426871657371521, -1.0625377893447876, -2.5864038467407227, 0.5262951850891113, -0.24384233355522156, -1.4465892314910889, 0.08516161143779755, -1.0900825262069702, 0.9667374491691589, -0.6500283479690552, -0.9443663954734802, -1.3956934213638306, 0.4178885519504547, -0.24290038645267487, 0.8264475464820862, -1.6975730657577515, -0.07189106941223145, 1.3009482622146606, 0.8987237811088562, -0.49723488092422485, 0.9835997223854065, 0.28680357336997986, 1.0513774156570435, 0.8162960410118103, -0.37474653124809265, 0.44633254408836365, 0.1933380663394928, -1.3926231861114502, 0.5370011925697327, 1.1089993715286255, 0.2842240035533905, 1.3349379301071167, -0.45597976446151733, 0.1362520009279251, 0.46003514528274536, -0.5686665773391724, -0.48820728063583374, -0.403043270111084, 0.7812005281448364, 0.20302057266235352, -1.0191627740859985, -0.00867546908557415, -0.15135043859481812, -0.18968255817890167, 0.2624436318874359, -1.4299962520599365, -0.3384695053100586, -0.26159244775772095, -0.47837021946907043, -1.2762384414672852, 0.03739573806524277, 1.3202199935913086, -0.8164786696434021, -0.21827667951583862, 0.6263096928596497, 0.4914705455303192, 0.5877986550331116, 0.6096779108047485, -0.7238166928291321, -0.26427170634269714, -0.3076312839984894, -0.331058144569397, 0.14448027312755585, 1.2595828771591187, -0.12166520953178406, -1.0273677110671997, 0.8163408637046814, -0.4102209508419037, 0.10865028947591782, 1.9369120597839355, 0.12597742676734924, -0.8125474452972412, 0.35845649242401123, -0.597574770450592, 1.8678829669952393, 1.6256998777389526, 1.2658807039260864, -0.0011730361729860306, -0.8018972873687744, 0.5476270914077759, -0.18404243886470795, -0.2864230275154114, 0.933899462223053, 0.4478873610496521, -0.18404683470726013, -1.4014314413070679, 0.5151336193084717, 1.2987920045852661, -0.955574631690979, -0.8105573058128357, -0.006685683969408274, -0.9500154852867126, 1.0514655113220215, 0.6982248425483704, 0.4668424129486084, 0.24978861212730408, 1.5589184761047363, 0.7390931248664856, -0.5331165790557861, 0.44508078694343567, 0.4715133011341095, -0.1548445224761963, -2.0573110580444336, -0.8236157894134521, 0.27429309487342834, -0.35922321677207947, -1.516679286956787, 1.2902500629425049, -1.0991853475570679, -0.8181111216545105, 0.4544953405857086, 0.2124541848897934, 1.454624891281128, 0.3199606239795685, 1.7428114414215088, 2.088125467300415, 0.8478811383247375, 0.18474961817264557, 1.3449126482009888, -0.011142587289214134, -0.36977970600128174, 1.8216356039047241, -0.34219202399253845, 0.5715400576591492, 0.977820873260498, -0.42731571197509766, -1.02504301071167, -0.7475418448448181, -1.1047444343566895, -0.4976329803466797, 1.1365896463394165, 0.19727198779582977, -1.0866444110870361, 0.13600502908229828, 1.6922601461410522, 0.005169841460883617, -0.2664305567741394, 0.6670593023300171, 0.5629143118858337, -0.6667905449867249, 0.03769233822822571, -0.9409180879592896, 0.5273409485816956, -0.01333432924002409, -0.28205931186676025, 0.37248098850250244, 0.47591984272003174, 1.3445736169815063, -0.009371228516101837, 0.14360442757606506, 1.2085886001586914, -1.352768898010254, 1.5451747179031372, -0.5626562237739563, 0.18474070727825165, -2.4465348720550537, 1.3793816566467285, -0.8456212878227234, 1.8764493465423584, -2.5413284301757812, 0.45002442598342896, -0.622370183467865, -0.41936826705932617, 0.32721075415611267, -0.44442737102508545, 0.15245884656906128, -0.1486501842737198, -1.0082659721374512, -0.022670630365610123, -0.7820972800254822, 0.5976142287254333, 1.2639204263687134, 1.4164364337921143, -1.080838680267334, -0.2830143868923187, -1.9395520687103271, -0.08166811615228653, -0.8496153950691223, 0.3367321491241455, -2.011519193649292, -0.014241376891732216, -1.8632701635360718, -2.4307703971862793, -1.5233237743377686, -0.9160623550415039, 1.040322184562683, 0.3297313451766968, -1.022275686264038, 1.1265780925750732, -0.30778536200523376, -1.7988461256027222, 1.0755048990249634, -2.1824605464935303 ]
https://github.com/huggingface/datasets/issues/4323
Audio can not find value["bytes"]
![image](https://user-images.githubusercontent.com/34292279/168063684-fff5c12a-8b1e-4c65-b18b-36100ab8a1af.png) that is reason my bytes`s empty but i have some confused why path prior is higher than bytes? if you can make bytes in _generate_examples , you don`t have to make bytes to path? because we have path and bytes already
## Describe the bug I wrote down _generate_examples like: ![image](https://user-images.githubusercontent.com/34292279/168027186-2fe8b255-2cd8-4b9b-ab1e-8d5a7182979b.png) but where is the bytes? ![image](https://user-images.githubusercontent.com/34292279/168027330-f2496dd0-1d99-464c-b15c-bc57eee0415a.png) ## Expected results value["bytes"] is not None, so i can make datasets with bytes, not path ## bytes looks like: blah blah~~ \xfe\x03\x00\xfb\x06\x1c\x0bo\x074\x03\xaf\x01\x13\x04\xbc\x06\x8c\x05y\x05,\t7\x08\xaf\x03\xc0\xfe\xe8\xfc\x94\xfe\xb7\xfd\xea\xfa\xd5\xf9$\xf9>\xf9\x1f\xf8\r\xf5F\xf49\xf4\xda\xf5-\xf8\n\xf8k\xf8\x07\xfb\x18\xfd\xd9\xfdv\xfd"\xfe\xcc\x01\x1c\x04\x08\x04@\x04{\x06^\tf\t\x1e\x07\x8b\x06\x02\x08\x13\t\x07\x08 \x06g\x06"\x06\xa0\x03\xc6\x002\xff \xff\x1d\xff\x19\xfd?\xfb\xdb\xfa\xfc\xfa$\xfb}\xf9\xe5\xf7\xf9\xf7\xce\xf8.\xf9b\xf9\xc5\xf9\xc0\xfb\xfa\xfcP\xfc\xba\xfbQ\xfc1\xfe\x9f\xff\x12\x00\xa2\x00\x18\x02Z\x03\x02\x04\xb1\x03\xc5\x03W\x04\x82\x04\x8f\x04U\x04\xb6\x04\x10\x05{\x04\x83\x02\x17\x01\x1d\x00\xa0\xff\xec\xfe\x03\xfe#\xfe\xc2\xfe2\xff\xe6\xfe\x9a\xfe~\x01\x91\x08\xb3\tU\x05\x10\x024\x02\xe4\x05\xa8\x07\xa7\x053\x07I\n\x91\x07v\x02\x95\xfd\xbb\xfd\x96\xff\x01\xfe\x1e\xfb\xbb\xf9S\xf8!\xf8\xf4\xf5\xd6\xf3\xf7\xf3l\xf4d\xf6l\xf7d\xf6b\xf7\xc1\xfa(\xfd\xcf\xfd*\xfdq\xfe\xe9\x01\xa8\x03t\x03\x17\x04B\x07\xce\t\t\t\xeb\x06\x0c\x07\x95\x08\x92\t\xbc\x07O\x06\xfb\x06\xd2\x06U\x04\x00\x02\x92\x00\xdc\x00\x84\x00 \xfeT\xfc\xf1\xfb\x82\xfc\x97\xfb}\xf9\x00\xf8_\xf8\x0b\xf9\xe5\xf8\xe2\xf7\xaa\xf8\xb2\xfa\x10\xfbl\xfa\xf5\xf9Y\xfb\xc0\xfd\xe8\xfe\xec\xfe1\x00\xad\x01\xec\x02E\x03\x13\x03\x9b\x03o\x04\xce\x04\xa8\x04\xb2\x04\x1b\x05\xc0\x05\xd2\x04\xe8\x02z\x01\xbe\x00\xae\x00\x07\x00$\xff|\xff\x8e\x00\x13\x00\x10\xff\x98\xff0\x05{\x0b\x05\t\xaa\x03\x82\x01n\x03 blah blah~~ that function not return None ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version:2.2.1 - Platform:ubuntu 18.04 - Python version:3.6.9 - PyArrow version:6.0.1
766
42
Audio can not find value["bytes"] ## Describe the bug I wrote down _generate_examples like: ![image](https://user-images.githubusercontent.com/34292279/168027186-2fe8b255-2cd8-4b9b-ab1e-8d5a7182979b.png) but where is the bytes? ![image](https://user-images.githubusercontent.com/34292279/168027330-f2496dd0-1d99-464c-b15c-bc57eee0415a.png) ## Expected results value["bytes"] is not None, so i can make datasets with bytes, not path ## bytes looks like: blah blah~~ \xfe\x03\x00\xfb\x06\x1c\x0bo\x074\x03\xaf\x01\x13\x04\xbc\x06\x8c\x05y\x05,\t7\x08\xaf\x03\xc0\xfe\xe8\xfc\x94\xfe\xb7\xfd\xea\xfa\xd5\xf9$\xf9>\xf9\x1f\xf8\r\xf5F\xf49\xf4\xda\xf5-\xf8\n\xf8k\xf8\x07\xfb\x18\xfd\xd9\xfdv\xfd"\xfe\xcc\x01\x1c\x04\x08\x04@\x04{\x06^\tf\t\x1e\x07\x8b\x06\x02\x08\x13\t\x07\x08 \x06g\x06"\x06\xa0\x03\xc6\x002\xff \xff\x1d\xff\x19\xfd?\xfb\xdb\xfa\xfc\xfa$\xfb}\xf9\xe5\xf7\xf9\xf7\xce\xf8.\xf9b\xf9\xc5\xf9\xc0\xfb\xfa\xfcP\xfc\xba\xfbQ\xfc1\xfe\x9f\xff\x12\x00\xa2\x00\x18\x02Z\x03\x02\x04\xb1\x03\xc5\x03W\x04\x82\x04\x8f\x04U\x04\xb6\x04\x10\x05{\x04\x83\x02\x17\x01\x1d\x00\xa0\xff\xec\xfe\x03\xfe#\xfe\xc2\xfe2\xff\xe6\xfe\x9a\xfe~\x01\x91\x08\xb3\tU\x05\x10\x024\x02\xe4\x05\xa8\x07\xa7\x053\x07I\n\x91\x07v\x02\x95\xfd\xbb\xfd\x96\xff\x01\xfe\x1e\xfb\xbb\xf9S\xf8!\xf8\xf4\xf5\xd6\xf3\xf7\xf3l\xf4d\xf6l\xf7d\xf6b\xf7\xc1\xfa(\xfd\xcf\xfd*\xfdq\xfe\xe9\x01\xa8\x03t\x03\x17\x04B\x07\xce\t\t\t\xeb\x06\x0c\x07\x95\x08\x92\t\xbc\x07O\x06\xfb\x06\xd2\x06U\x04\x00\x02\x92\x00\xdc\x00\x84\x00 \xfeT\xfc\xf1\xfb\x82\xfc\x97\xfb}\xf9\x00\xf8_\xf8\x0b\xf9\xe5\xf8\xe2\xf7\xaa\xf8\xb2\xfa\x10\xfbl\xfa\xf5\xf9Y\xfb\xc0\xfd\xe8\xfe\xec\xfe1\x00\xad\x01\xec\x02E\x03\x13\x03\x9b\x03o\x04\xce\x04\xa8\x04\xb2\x04\x1b\x05\xc0\x05\xd2\x04\xe8\x02z\x01\xbe\x00\xae\x00\x07\x00$\xff|\xff\x8e\x00\x13\x00\x10\xff\x98\xff0\x05{\x0b\x05\t\xaa\x03\x82\x01n\x03 blah blah~~ that function not return None ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version:2.2.1 - Platform:ubuntu 18.04 - Python version:3.6.9 - PyArrow version:6.0.1 ![image](https://user-images.githubusercontent.com/34292279/168063684-fff5c12a-8b1e-4c65-b18b-36100ab8a1af.png) that is reason my bytes`s empty but i have some confused why path prior is higher than bytes? if you can make bytes in _generate_examples , you don`t have to make bytes to path? because we have path and bytes already
[ -1.454211711883545, -0.9173529148101807, -0.8072428107261658, 1.1904082298278809, -0.06571447849273682, -0.9581543207168579, 0.2057676911354065, -0.8597610592842102, 1.9477181434631348, -0.7501056790351868, 0.15708839893341064, -1.8205370903015137, 0.10042087733745575, -0.8151751756668091, -0.7079520225524902, -0.9018890857696533, -0.204398512840271, -0.7166482210159302, 1.0508997440338135, 2.629455089569092, 1.2388880252838135, -1.581251859664917, 2.822287082672119, 0.8462175130844116, -0.39456433057785034, -0.7795448899269104, 0.31538641452789307, 0.029245436191558838, -1.157312035560608, -0.4035544693470001, -0.8650192618370056, 0.23765259981155396, -0.5370672345161438, -0.5623040199279785, -0.17387402057647705, 0.27389776706695557, -0.3334064185619354, -0.1442139893770218, -0.46417155861854553, -0.5230646729469299, 0.37036842107772827, -0.5501229763031006, 0.9187520146369934, -0.19417238235473633, 1.7210248708724976, -0.5653549432754517, 0.2268839180469513, 0.6494402289390564, 1.0640112161636353, 0.36669406294822693, 0.06623801589012146, 0.32164672017097473, 0.350702166557312, -0.08299767225980759, 0.3736196458339691, 1.315379023551941, 0.6502325534820557, 0.4695362448692322, 0.9059374928474426, -2.208895683288574, 1.3431928157806396, -0.9354906678199768, -0.10772661864757538, 1.3542091846466064, -1.180938959121704, 0.5055027604103088, -1.72307288646698, -0.23116545379161835, 0.47525906562805176, -2.1825904846191406, 0.04563926160335541, -1.0586137771606445, -0.6272839307785034, 1.0264159440994263, 0.2900767922401428, -1.2491378784179688, 0.1314769834280014, -0.49717527627944946, 0.9299315810203552, 0.19941692054271698, 1.1402887105941772, -1.6449991464614868, 0.08609173446893692, -0.2993626296520233, 0.27823406457901, -1.5405237674713135, -1.5722837448120117, 0.6426030993461609, 0.6785448789596558, 0.6990600824356079, 0.03641394525766373, 1.0456796884536743, -1.1625272035598755, 0.5617760419845581, -1.1156009435653687, -1.7485579252243042, -1.3864312171936035, -2.220388412475586, -2.338724136352539, 0.7854253053665161, -0.24928916990756989, -0.4957256317138672, 1.9279959201812744, -1.1963605880737305, -1.4932727813720703, 1.162123441696167, 0.2918766438961029, -0.12822678685188293, 2.5656557083129883, 0.33198997378349304, -1.0024142265319824, 0.49180394411087036, -0.7227389812469482, 0.7631127238273621, -0.07902773469686508, 1.1769465208053589, 0.36155587434768677, -1.0514904260635376, 1.6395677328109741, -0.33440443873405457, 0.5979969501495361, -0.5869320631027222, -0.4438348114490509, -0.6368632912635803, 0.340055912733078, 1.782133936882019, -0.41103896498680115, 1.7622987031936646, -0.29258066415786743, -1.3217600584030151, -1.5472190380096436, 0.7605127096176147, 0.27437153458595276, -0.6465815305709839, 0.21883104741573334, -0.430932879447937, 0.19808350503444672, -0.017762375995516777, 1.1324238777160645, 1.4285731315612793, 0.394048273563385, -0.0627804771065712, -0.9420982003211975, 0.3103836178779602, -0.013732217252254486, -0.5722427368164062, -1.6662644147872925, -0.24394072592258453, 0.12993988394737244, 0.8127251267433167, -1.379050374031067, 1.6650762557983398, 0.8703448176383972, 1.8145638704299927, 1.1657170057296753, -0.10067544877529144, 1.2459359169006348, 0.20587623119354248, 1.7667564153671265, -0.48372459411621094, 0.791037917137146, -0.35153281688690186, -1.059719443321228, 0.8066387176513672, -0.549690306186676, -2.0228350162506104, -0.5953981280326843, -0.5829278826713562, -0.17536938190460205, -1.0856534242630005, 0.9126643538475037, -0.20163384079933167, -1.4463063478469849, 0.42410773038864136, -0.4970996677875519, 0.18572887778282166, -1.3656342029571533, 0.20027057826519012, 0.8752651214599609, -0.5706265568733215, 0.17296813428401947, -0.18691235780715942, -1.3975900411605835, -0.33144259452819824, 0.06929966062307358, 1.8414241075515747, -0.7203734517097473, 0.8849821090698242, 1.1109753847122192, -0.4448949694633484, 0.34632110595703125, 0.521986722946167, -0.3178733289241791, 0.7838322520256042, -1.1540265083312988, -0.1330203413963318, 1.1263244152069092, -0.047941286116838455, -0.4944585859775543, 1.431883454322815, 0.8937515616416931, -1.0258885622024536, -0.21642054617404938, 0.09414483606815338, -0.5415854454040527, -0.054439444094896317, -1.5044814348220825, -0.12632998824119568, 0.38966941833496094, -1.4698467254638672, -0.3897530138492584, -0.17664000391960144, 1.4837403297424316, -0.30143919587135315, 1.3929487466812134, -0.47540831565856934, -0.07135487347841263, -0.42236238718032837, -0.5210439562797546, -0.084164559841156, -0.16857574880123138, -0.6499354243278503, 0.2502785623073578, -0.889270007610321, 0.3045913875102997, 1.4314743280410767, 0.4350767135620117, -0.1484595686197281, 0.45540258288383484, 1.1755032539367676, 0.28018417954444885, -0.24717341363430023, -0.6701314449310303, -1.5996017456054688, 2.063076972961426, -1.5382784605026245, 2.193859338760376, 0.8902406692504883, -0.11290213465690613, -1.6363903284072876, -1.7228108644485474, 1.6567391157150269, 1.1980918645858765, 2.4702277183532715, 0.5993311405181885, 0.38489606976509094, -0.8096153736114502, -0.5198183059692383, 0.5931400656700134, -1.1593561172485352, -0.6211183071136475, 0.2426450103521347, 2.469212055206299, 1.7215337753295898, -0.5123628973960876, -0.10775593668222427, -0.9725746512413025, 1.0056272745132446, -0.09763417392969131, 0.08547360450029373, 1.8342864513397217, -0.5346704125404358, -1.380115032196045, 1.248506784439087, -2.1768789291381836, -0.15059171617031097, 1.9930039644241333, 0.2550926208496094, -0.1876901388168335, -1.1424957513809204, -0.585236668586731, -0.5221886038780212, -0.2315298616886139, -1.3124003410339355, 0.3144618570804596, -0.09743794798851013, -1.0044270753860474, -1.464568853378296, 0.10138221830129623, -1.229243516921997, -1.5028969049453735, 0.5179795026779175, 1.3810831308364868, 2.0934250354766846, -1.0106642246246338, 1.5477349758148193, -0.33698588609695435, 0.12779611349105835, 0.8901166915893555, 1.0235984325408936, 3.211174964904785, 1.796416997909546, -1.2084226608276367, 0.5899708271026611, -0.22116588056087494, -0.428278386592865, 1.0898048877716064, -1.267332911491394, 1.4324976205825806, -0.26008641719818115, -1.1863462924957275, -1.266944169998169, 0.7882232666015625, 0.3178142011165619, -0.09399724006652832, -0.5854092240333557, 1.2113773822784424, 0.29232120513916016, 1.20073401927948, 0.06408412009477615, 0.025051254779100418, 0.7068774104118347, -0.7548086643218994, -0.515823245048523, 1.4226856231689453, 0.04425503686070442, -1.5965204238891602, -1.9747167825698853, -0.11083114147186279, -0.8539684414863586, 0.09205218404531479, -0.851525604724884, -1.0614665746688843, 1.7564243078231812, 0.29960897564888, -1.111250877380371, -0.19052737951278687, -0.523294985294342, -0.5486912727355957, 2.6902668476104736, -1.5686954259872437, -0.25051987171173096, -0.8194838166236877, -0.5310612916946411, 1.5058201551437378, -0.9135999083518982, 0.03539801016449928, -1.0098375082015991, -0.6968998312950134, -1.2490170001983643, -0.5761735439300537, -0.03276792913675308, -0.8254125714302063, 0.8342627882957458, 0.2735975384712219, -1.3280521631240845, -0.11521193385124207, -0.8604419827461243, 0.6674363613128662, -0.32719743251800537, 0.3343929946422577, 1.7409954071044922, 0.5590223670005798, -0.5854426026344299, 0.6933978199958801, 1.2156736850738525, 0.5965376496315002, -0.8696902394294739, 0.06429848074913025, -0.5723531246185303, 0.4507034718990326, -1.1629104614257812, 0.047825075685977936, -2.719226360321045, 0.6765257716178894, 0.045398302376270294, 0.1145118921995163, -0.03338514268398285, -1.1128586530685425, 1.0617619752883911, 2.7556560039520264, -1.1220184564590454, 0.16759605705738068, 0.5083611607551575, 1.4499093294143677, -1.392313003540039, 0.04964973032474518, -0.5742716789245605, 1.993566632270813, 0.34859922528266907, 1.0832749605178833, -0.7556929588317871, -2.166917324066162, 0.6814083456993103, -1.2315455675125122, -1.142759084701538, 1.0234709978103638, -1.0560280084609985, -0.024526162073016167, -1.3180986642837524, -0.12973514199256897, -1.1216636896133423, -1.0820996761322021, 0.6215282678604126, 0.15088240802288055, 0.743047833442688, -0.7944559454917908, 0.23570884764194489, -2.2619965076446533, -1.211715817451477, -0.402301162481308, -1.0569167137145996, 0.5210893154144287, -0.3744966685771942, 0.6819576025009155, -0.39817777276039124, -0.03354910761117935, 0.5470665097236633, 1.2459975481033325, 3.311580181121826, 0.11980678886175156, 0.45166951417922974, -0.36680081486701965, -0.8257280588150024, 1.4964359998703003, 1.0008280277252197, 0.038346584886312485, -0.5671923160552979, -1.1559438705444336, 1.3063751459121704, 1.9539119005203247, 1.002959966659546, -0.05177829787135124, -0.9027230739593506, -0.6165545582771301, 0.07930904626846313, 0.32542747259140015, 0.35955268144607544, 0.9572203755378723, -0.3008430302143097, 0.1409103274345398, 1.5133148431777954, 1.1022062301635742, -0.6606373190879822, 0.16809846460819244, -0.8619866967201233, -0.3845309019088745, 0.7123004794120789, 0.4445769190788269, 0.17563624680042267, 0.31012052297592163, -0.8895614743232727, -0.29470232129096985, -0.17375032603740692, -0.9788532257080078, -0.858224093914032, -0.40081384778022766, -0.20468153059482574, 1.692502498626709, 0.045090239495038986, -0.24670793116092682, 0.0204300619661808, -0.8806277513504028, -0.35532718896865845, -1.019663691520691, 0.5340068936347961, -0.2924462556838989, 0.07399146258831024, -0.3045177459716797, 1.6607797145843506, -0.9350019097328186, -2.1748056411743164, 0.28755074739456177, 0.06038237735629082, -0.3607838749885559, 0.13299353420734406, 1.665572166442871, 0.7955912947654724, 1.455936312675476, 1.1534823179244995, 1.0299365520477295, -0.9207963943481445, -1.1724210977554321, 0.5636577606201172, 1.0341347455978394, -1.282957911491394, 1.118844747543335, -0.1774040013551712, -0.6277607679367065, 0.5846524238586426, 1.3320136070251465, 0.3887145221233368, -1.7459042072296143, 0.4772164821624756, -1.0670745372772217, 0.8519208431243896, 0.5049422979354858, 0.7993695735931396, -0.0034069432877004147, 0.9865521192550659, -0.9637408256530762, -1.1212319135665894, -0.7284775972366333, -0.5284265875816345, 2.01310133934021, -0.03176340460777283, 0.5108610987663269, -0.16575725376605988, -1.2167651653289795, 0.2083747237920761, 0.7576632499694824, 0.3054135739803314, -0.3458881974220276, 0.8515151739120483, -0.6836666464805603, -0.9048144817352295, -1.2858961820602417, -0.5894304513931274, -0.9041343331336975, -1.076564908027649, 0.9935639500617981, 0.45439401268959045, 0.2948322892189026, 1.866610050201416, 0.722983181476593, 0.23940546810626984, -2.377293825149536, 1.0091525316238403, 0.18672311305999756, -0.12622755765914917, 1.1247690916061401, 0.3551117777824402, 0.9303573966026306, -0.02514178678393364, 0.42453745007514954, -2.5354835987091064, 2.2231242656707764, -0.35727301239967346, 0.7803962826728821, 0.005216347053647041, -0.2029413878917694, 0.7715734243392944, 0.6314111948013306, 0.13187849521636963, -0.9037979245185852, 0.7651705741882324, -0.48058605194091797, 1.1603949069976807, 1.160171389579773, -0.9047144651412964, 0.25046080350875854, 0.9161723852157593, 0.14542976021766663, -0.27026113867759705, -0.7385331988334656, -1.0427522659301758, 1.0125038623809814, 1.8463635444641113, -0.11960427463054657, 0.17440387606620789, 0.9030596017837524, 0.666679322719574, -1.1572967767715454, -0.10982020944356918, -0.8629684448242188, -0.8307722210884094, 1.747004508972168, 2.000485897064209, 0.054057274013757706, -0.223527729511261, -0.6749129891395569, -1.1753555536270142, 0.981269121170044, -0.17655253410339355, 0.16216795146465302, 0.9157534837722778, -0.7390795946121216, 1.2931180000305176, 0.833812415599823, 0.7899314761161804, 0.1767602562904358, 0.403515487909317, 0.628183126449585, -0.15419693291187286, -1.2634223699569702, -0.4588399827480316, -1.0889543294906616, -2.461339235305786, 0.21369129419326782, -0.42961522936820984, -1.4635456800460815, -0.04620252922177315, -1.015136480331421, 0.7651012539863586, -0.6527237296104431, -1.0642166137695312, -1.6892704963684082, -0.006576478481292725, -0.10893286764621735, 1.0576260089874268, -1.2434722185134888, -0.2754489481449127, 1.2714340686798096, 0.9462262392044067, -0.24637524783611298, 1.1239441633224487, 0.26145797967910767, 1.1381970643997192, 0.9073351621627808, -0.3463048040866852, 0.544062614440918, 0.16887055337429047, -1.2496862411499023, 0.2948894798755646, 1.446800708770752, 0.30197271704673767, 1.604892611503601, -0.35264644026756287, -0.2311318814754486, 0.39612632989883423, -0.43288907408714294, -0.27356067299842834, -0.680518627166748, 0.8052483797073364, -0.026617009192705154, -0.9214428663253784, -0.1469913274049759, -0.23113442957401276, -0.24787412583827972, 0.1893937736749649, -1.6273149251937866, -0.05871540680527687, -0.5372442603111267, -0.5209226012229919, -1.2720181941986084, -0.008854038082063198, 1.5190482139587402, -0.9062581062316895, -0.052549440413713455, 0.4987978935241699, 0.27624714374542236, 0.5377197861671448, 0.5406566858291626, -0.5728093981742859, -0.5534027814865112, -0.3996603488922119, -0.4807639420032501, 0.2800276577472687, 1.182867407798767, 0.1694977730512619, -1.2320448160171509, 0.7953053116798401, -0.512430727481842, 0.17684446275234222, 2.053215503692627, 0.03374612331390381, -0.7682552337646484, 0.2988106608390808, -0.5584020018577576, 1.9991015195846558, 1.6581271886825562, 1.3561497926712036, -0.16220399737358093, -0.8886910676956177, 0.797960102558136, -0.32297179102897644, -0.5454235076904297, 0.9945599436759949, 0.29943838715553284, -0.21793457865715027, -1.4796360731124878, 0.6745404005050659, 1.3760021924972534, -0.8229222893714905, -0.6887140274047852, 0.0580400712788105, -0.8852441310882568, 1.0495867729187012, 0.6855947971343994, 0.10329030454158783, 0.3933413624763489, 1.7176296710968018, 0.5426163077354431, -0.4555610418319702, 0.3063322901725769, 0.514661431312561, -0.0350106805562973, -2.202676773071289, -0.9470221400260925, 0.13460153341293335, -0.18466511368751526, -1.33095121383667, 1.3304049968719482, -1.3187649250030518, -1.0464974641799927, 0.3587685823440552, 0.03868253529071808, 1.175214409828186, 0.0795568972826004, 1.6218141317367554, 2.2595646381378174, 0.6679522395133972, 0.2846852242946625, 1.1883093118667603, -0.32174110412597656, -0.5294763445854187, 1.8044825792312622, -0.516288697719574, 0.4442746043205261, 1.1471211910247803, -0.08980606496334076, -0.9476169943809509, -0.8854333162307739, -1.331904411315918, -0.9271541833877563, 1.1886944770812988, -0.018195344135165215, -1.4767286777496338, 0.3120934069156647, 1.477171778678894, 0.29998356103897095, -0.46750229597091675, 0.5269461870193481, 0.5676221251487732, -0.7277422547340393, -0.1619095355272293, -0.9282616376876831, 0.7269532680511475, -0.36443856358528137, -0.2110055685043335, 0.1609257310628891, 0.7364176511764526, 1.2820687294006348, -0.19335247576236725, -0.041582491248846054, 1.355861783027649, -1.3554562330245972, 1.5754822492599487, -0.6213904619216919, 0.17853376269340515, -2.3189005851745605, 1.3667163848876953, -0.80683434009552, 1.6719869375228882, -2.762319803237915, 0.7433696389198303, -0.3224938213825226, -0.32689401507377625, 0.3751736879348755, -0.1768171787261963, 0.33186182379722595, -0.05698651075363159, -0.9669238328933716, -0.2928520739078522, -0.5648748278617859, 0.6555285453796387, 1.2690285444259644, 1.1406811475753784, -1.049646019935608, -0.3745584785938263, -1.5868948698043823, -0.28828611969947815, -0.7139710783958435, -0.042362067848443985, -2.0275049209594727, -0.24498295783996582, -2.2076826095581055, -2.4870071411132812, -1.5550085306167603, -0.872096061706543, 1.1336497068405151, 0.24366147816181183, -1.0615878105163574, 1.4033430814743042, -0.42165425419807434, -1.7789627313613892, 1.1918141841888428, -2.2305474281311035 ]
https://github.com/huggingface/datasets/issues/4323
Audio can not find value["bytes"]
> but i have some confused why path prior is higher than bytes? If the audio file is already available locally, we don't need to store the bytes again. If you don't specify a "path" to a local file, then the bytes are stored. You can set "path" to None for example. > if you can make bytes in _generate_examples , you don`t have to make bytes to path? > because we have path and bytes already It's useful to pass both "path" and "bytes" in `_generate_examples`: - when the dataset has been downloaded, then the "path" to the audio files are stored and we can ignore "bytes" in order to save disk space. - when the dataset is loaded in streaming mode, the audio files are not available on your disk and therefore we use the "bytes"
## Describe the bug I wrote down _generate_examples like: ![image](https://user-images.githubusercontent.com/34292279/168027186-2fe8b255-2cd8-4b9b-ab1e-8d5a7182979b.png) but where is the bytes? ![image](https://user-images.githubusercontent.com/34292279/168027330-f2496dd0-1d99-464c-b15c-bc57eee0415a.png) ## Expected results value["bytes"] is not None, so i can make datasets with bytes, not path ## bytes looks like: blah blah~~ \xfe\x03\x00\xfb\x06\x1c\x0bo\x074\x03\xaf\x01\x13\x04\xbc\x06\x8c\x05y\x05,\t7\x08\xaf\x03\xc0\xfe\xe8\xfc\x94\xfe\xb7\xfd\xea\xfa\xd5\xf9$\xf9>\xf9\x1f\xf8\r\xf5F\xf49\xf4\xda\xf5-\xf8\n\xf8k\xf8\x07\xfb\x18\xfd\xd9\xfdv\xfd"\xfe\xcc\x01\x1c\x04\x08\x04@\x04{\x06^\tf\t\x1e\x07\x8b\x06\x02\x08\x13\t\x07\x08 \x06g\x06"\x06\xa0\x03\xc6\x002\xff \xff\x1d\xff\x19\xfd?\xfb\xdb\xfa\xfc\xfa$\xfb}\xf9\xe5\xf7\xf9\xf7\xce\xf8.\xf9b\xf9\xc5\xf9\xc0\xfb\xfa\xfcP\xfc\xba\xfbQ\xfc1\xfe\x9f\xff\x12\x00\xa2\x00\x18\x02Z\x03\x02\x04\xb1\x03\xc5\x03W\x04\x82\x04\x8f\x04U\x04\xb6\x04\x10\x05{\x04\x83\x02\x17\x01\x1d\x00\xa0\xff\xec\xfe\x03\xfe#\xfe\xc2\xfe2\xff\xe6\xfe\x9a\xfe~\x01\x91\x08\xb3\tU\x05\x10\x024\x02\xe4\x05\xa8\x07\xa7\x053\x07I\n\x91\x07v\x02\x95\xfd\xbb\xfd\x96\xff\x01\xfe\x1e\xfb\xbb\xf9S\xf8!\xf8\xf4\xf5\xd6\xf3\xf7\xf3l\xf4d\xf6l\xf7d\xf6b\xf7\xc1\xfa(\xfd\xcf\xfd*\xfdq\xfe\xe9\x01\xa8\x03t\x03\x17\x04B\x07\xce\t\t\t\xeb\x06\x0c\x07\x95\x08\x92\t\xbc\x07O\x06\xfb\x06\xd2\x06U\x04\x00\x02\x92\x00\xdc\x00\x84\x00 \xfeT\xfc\xf1\xfb\x82\xfc\x97\xfb}\xf9\x00\xf8_\xf8\x0b\xf9\xe5\xf8\xe2\xf7\xaa\xf8\xb2\xfa\x10\xfbl\xfa\xf5\xf9Y\xfb\xc0\xfd\xe8\xfe\xec\xfe1\x00\xad\x01\xec\x02E\x03\x13\x03\x9b\x03o\x04\xce\x04\xa8\x04\xb2\x04\x1b\x05\xc0\x05\xd2\x04\xe8\x02z\x01\xbe\x00\xae\x00\x07\x00$\xff|\xff\x8e\x00\x13\x00\x10\xff\x98\xff0\x05{\x0b\x05\t\xaa\x03\x82\x01n\x03 blah blah~~ that function not return None ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version:2.2.1 - Platform:ubuntu 18.04 - Python version:3.6.9 - PyArrow version:6.0.1
766
138
Audio can not find value["bytes"] ## Describe the bug I wrote down _generate_examples like: ![image](https://user-images.githubusercontent.com/34292279/168027186-2fe8b255-2cd8-4b9b-ab1e-8d5a7182979b.png) but where is the bytes? ![image](https://user-images.githubusercontent.com/34292279/168027330-f2496dd0-1d99-464c-b15c-bc57eee0415a.png) ## Expected results value["bytes"] is not None, so i can make datasets with bytes, not path ## bytes looks like: blah blah~~ \xfe\x03\x00\xfb\x06\x1c\x0bo\x074\x03\xaf\x01\x13\x04\xbc\x06\x8c\x05y\x05,\t7\x08\xaf\x03\xc0\xfe\xe8\xfc\x94\xfe\xb7\xfd\xea\xfa\xd5\xf9$\xf9>\xf9\x1f\xf8\r\xf5F\xf49\xf4\xda\xf5-\xf8\n\xf8k\xf8\x07\xfb\x18\xfd\xd9\xfdv\xfd"\xfe\xcc\x01\x1c\x04\x08\x04@\x04{\x06^\tf\t\x1e\x07\x8b\x06\x02\x08\x13\t\x07\x08 \x06g\x06"\x06\xa0\x03\xc6\x002\xff \xff\x1d\xff\x19\xfd?\xfb\xdb\xfa\xfc\xfa$\xfb}\xf9\xe5\xf7\xf9\xf7\xce\xf8.\xf9b\xf9\xc5\xf9\xc0\xfb\xfa\xfcP\xfc\xba\xfbQ\xfc1\xfe\x9f\xff\x12\x00\xa2\x00\x18\x02Z\x03\x02\x04\xb1\x03\xc5\x03W\x04\x82\x04\x8f\x04U\x04\xb6\x04\x10\x05{\x04\x83\x02\x17\x01\x1d\x00\xa0\xff\xec\xfe\x03\xfe#\xfe\xc2\xfe2\xff\xe6\xfe\x9a\xfe~\x01\x91\x08\xb3\tU\x05\x10\x024\x02\xe4\x05\xa8\x07\xa7\x053\x07I\n\x91\x07v\x02\x95\xfd\xbb\xfd\x96\xff\x01\xfe\x1e\xfb\xbb\xf9S\xf8!\xf8\xf4\xf5\xd6\xf3\xf7\xf3l\xf4d\xf6l\xf7d\xf6b\xf7\xc1\xfa(\xfd\xcf\xfd*\xfdq\xfe\xe9\x01\xa8\x03t\x03\x17\x04B\x07\xce\t\t\t\xeb\x06\x0c\x07\x95\x08\x92\t\xbc\x07O\x06\xfb\x06\xd2\x06U\x04\x00\x02\x92\x00\xdc\x00\x84\x00 \xfeT\xfc\xf1\xfb\x82\xfc\x97\xfb}\xf9\x00\xf8_\xf8\x0b\xf9\xe5\xf8\xe2\xf7\xaa\xf8\xb2\xfa\x10\xfbl\xfa\xf5\xf9Y\xfb\xc0\xfd\xe8\xfe\xec\xfe1\x00\xad\x01\xec\x02E\x03\x13\x03\x9b\x03o\x04\xce\x04\xa8\x04\xb2\x04\x1b\x05\xc0\x05\xd2\x04\xe8\x02z\x01\xbe\x00\xae\x00\x07\x00$\xff|\xff\x8e\x00\x13\x00\x10\xff\x98\xff0\x05{\x0b\x05\t\xaa\x03\x82\x01n\x03 blah blah~~ that function not return None ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version:2.2.1 - Platform:ubuntu 18.04 - Python version:3.6.9 - PyArrow version:6.0.1 > but i have some confused why path prior is higher than bytes? If the audio file is already available locally, we don't need to store the bytes again. If you don't specify a "path" to a local file, then the bytes are stored. You can set "path" to None for example. > if you can make bytes in _generate_examples , you don`t have to make bytes to path? > because we have path and bytes already It's useful to pass both "path" and "bytes" in `_generate_examples`: - when the dataset has been downloaded, then the "path" to the audio files are stored and we can ignore "bytes" in order to save disk space. - when the dataset is loaded in streaming mode, the audio files are not available on your disk and therefore we use the "bytes"
[ -1.454211711883545, -0.9173529148101807, -0.8072428107261658, 1.1904082298278809, -0.06571447849273682, -0.9581543207168579, 0.2057676911354065, -0.8597610592842102, 1.9477181434631348, -0.7501056790351868, 0.15708839893341064, -1.8205370903015137, 0.10042087733745575, -0.8151751756668091, -0.7079520225524902, -0.9018890857696533, -0.204398512840271, -0.7166482210159302, 1.0508997440338135, 2.629455089569092, 1.2388880252838135, -1.581251859664917, 2.822287082672119, 0.8462175130844116, -0.39456433057785034, -0.7795448899269104, 0.31538641452789307, 0.029245436191558838, -1.157312035560608, -0.4035544693470001, -0.8650192618370056, 0.23765259981155396, -0.5370672345161438, -0.5623040199279785, -0.17387402057647705, 0.27389776706695557, -0.3334064185619354, -0.1442139893770218, -0.46417155861854553, -0.5230646729469299, 0.37036842107772827, -0.5501229763031006, 0.9187520146369934, -0.19417238235473633, 1.7210248708724976, -0.5653549432754517, 0.2268839180469513, 0.6494402289390564, 1.0640112161636353, 0.36669406294822693, 0.06623801589012146, 0.32164672017097473, 0.350702166557312, -0.08299767225980759, 0.3736196458339691, 1.315379023551941, 0.6502325534820557, 0.4695362448692322, 0.9059374928474426, -2.208895683288574, 1.3431928157806396, -0.9354906678199768, -0.10772661864757538, 1.3542091846466064, -1.180938959121704, 0.5055027604103088, -1.72307288646698, -0.23116545379161835, 0.47525906562805176, -2.1825904846191406, 0.04563926160335541, -1.0586137771606445, -0.6272839307785034, 1.0264159440994263, 0.2900767922401428, -1.2491378784179688, 0.1314769834280014, -0.49717527627944946, 0.9299315810203552, 0.19941692054271698, 1.1402887105941772, -1.6449991464614868, 0.08609173446893692, -0.2993626296520233, 0.27823406457901, -1.5405237674713135, -1.5722837448120117, 0.6426030993461609, 0.6785448789596558, 0.6990600824356079, 0.03641394525766373, 1.0456796884536743, -1.1625272035598755, 0.5617760419845581, -1.1156009435653687, -1.7485579252243042, -1.3864312171936035, -2.220388412475586, -2.338724136352539, 0.7854253053665161, -0.24928916990756989, -0.4957256317138672, 1.9279959201812744, -1.1963605880737305, -1.4932727813720703, 1.162123441696167, 0.2918766438961029, -0.12822678685188293, 2.5656557083129883, 0.33198997378349304, -1.0024142265319824, 0.49180394411087036, -0.7227389812469482, 0.7631127238273621, -0.07902773469686508, 1.1769465208053589, 0.36155587434768677, -1.0514904260635376, 1.6395677328109741, -0.33440443873405457, 0.5979969501495361, -0.5869320631027222, -0.4438348114490509, -0.6368632912635803, 0.340055912733078, 1.782133936882019, -0.41103896498680115, 1.7622987031936646, -0.29258066415786743, -1.3217600584030151, -1.5472190380096436, 0.7605127096176147, 0.27437153458595276, -0.6465815305709839, 0.21883104741573334, -0.430932879447937, 0.19808350503444672, -0.017762375995516777, 1.1324238777160645, 1.4285731315612793, 0.394048273563385, -0.0627804771065712, -0.9420982003211975, 0.3103836178779602, -0.013732217252254486, -0.5722427368164062, -1.6662644147872925, -0.24394072592258453, 0.12993988394737244, 0.8127251267433167, -1.379050374031067, 1.6650762557983398, 0.8703448176383972, 1.8145638704299927, 1.1657170057296753, -0.10067544877529144, 1.2459359169006348, 0.20587623119354248, 1.7667564153671265, -0.48372459411621094, 0.791037917137146, -0.35153281688690186, -1.059719443321228, 0.8066387176513672, -0.549690306186676, -2.0228350162506104, -0.5953981280326843, -0.5829278826713562, -0.17536938190460205, -1.0856534242630005, 0.9126643538475037, -0.20163384079933167, -1.4463063478469849, 0.42410773038864136, -0.4970996677875519, 0.18572887778282166, -1.3656342029571533, 0.20027057826519012, 0.8752651214599609, -0.5706265568733215, 0.17296813428401947, -0.18691235780715942, -1.3975900411605835, -0.33144259452819824, 0.06929966062307358, 1.8414241075515747, -0.7203734517097473, 0.8849821090698242, 1.1109753847122192, -0.4448949694633484, 0.34632110595703125, 0.521986722946167, -0.3178733289241791, 0.7838322520256042, -1.1540265083312988, -0.1330203413963318, 1.1263244152069092, -0.047941286116838455, -0.4944585859775543, 1.431883454322815, 0.8937515616416931, -1.0258885622024536, -0.21642054617404938, 0.09414483606815338, -0.5415854454040527, -0.054439444094896317, -1.5044814348220825, -0.12632998824119568, 0.38966941833496094, -1.4698467254638672, -0.3897530138492584, -0.17664000391960144, 1.4837403297424316, -0.30143919587135315, 1.3929487466812134, -0.47540831565856934, -0.07135487347841263, -0.42236238718032837, -0.5210439562797546, -0.084164559841156, -0.16857574880123138, -0.6499354243278503, 0.2502785623073578, -0.889270007610321, 0.3045913875102997, 1.4314743280410767, 0.4350767135620117, -0.1484595686197281, 0.45540258288383484, 1.1755032539367676, 0.28018417954444885, -0.24717341363430023, -0.6701314449310303, -1.5996017456054688, 2.063076972961426, -1.5382784605026245, 2.193859338760376, 0.8902406692504883, -0.11290213465690613, -1.6363903284072876, -1.7228108644485474, 1.6567391157150269, 1.1980918645858765, 2.4702277183532715, 0.5993311405181885, 0.38489606976509094, -0.8096153736114502, -0.5198183059692383, 0.5931400656700134, -1.1593561172485352, -0.6211183071136475, 0.2426450103521347, 2.469212055206299, 1.7215337753295898, -0.5123628973960876, -0.10775593668222427, -0.9725746512413025, 1.0056272745132446, -0.09763417392969131, 0.08547360450029373, 1.8342864513397217, -0.5346704125404358, -1.380115032196045, 1.248506784439087, -2.1768789291381836, -0.15059171617031097, 1.9930039644241333, 0.2550926208496094, -0.1876901388168335, -1.1424957513809204, -0.585236668586731, -0.5221886038780212, -0.2315298616886139, -1.3124003410339355, 0.3144618570804596, -0.09743794798851013, -1.0044270753860474, -1.464568853378296, 0.10138221830129623, -1.229243516921997, -1.5028969049453735, 0.5179795026779175, 1.3810831308364868, 2.0934250354766846, -1.0106642246246338, 1.5477349758148193, -0.33698588609695435, 0.12779611349105835, 0.8901166915893555, 1.0235984325408936, 3.211174964904785, 1.796416997909546, -1.2084226608276367, 0.5899708271026611, -0.22116588056087494, -0.428278386592865, 1.0898048877716064, -1.267332911491394, 1.4324976205825806, -0.26008641719818115, -1.1863462924957275, -1.266944169998169, 0.7882232666015625, 0.3178142011165619, -0.09399724006652832, -0.5854092240333557, 1.2113773822784424, 0.29232120513916016, 1.20073401927948, 0.06408412009477615, 0.025051254779100418, 0.7068774104118347, -0.7548086643218994, -0.515823245048523, 1.4226856231689453, 0.04425503686070442, -1.5965204238891602, -1.9747167825698853, -0.11083114147186279, -0.8539684414863586, 0.09205218404531479, -0.851525604724884, -1.0614665746688843, 1.7564243078231812, 0.29960897564888, -1.111250877380371, -0.19052737951278687, -0.523294985294342, -0.5486912727355957, 2.6902668476104736, -1.5686954259872437, -0.25051987171173096, -0.8194838166236877, -0.5310612916946411, 1.5058201551437378, -0.9135999083518982, 0.03539801016449928, -1.0098375082015991, -0.6968998312950134, -1.2490170001983643, -0.5761735439300537, -0.03276792913675308, -0.8254125714302063, 0.8342627882957458, 0.2735975384712219, -1.3280521631240845, -0.11521193385124207, -0.8604419827461243, 0.6674363613128662, -0.32719743251800537, 0.3343929946422577, 1.7409954071044922, 0.5590223670005798, -0.5854426026344299, 0.6933978199958801, 1.2156736850738525, 0.5965376496315002, -0.8696902394294739, 0.06429848074913025, -0.5723531246185303, 0.4507034718990326, -1.1629104614257812, 0.047825075685977936, -2.719226360321045, 0.6765257716178894, 0.045398302376270294, 0.1145118921995163, -0.03338514268398285, -1.1128586530685425, 1.0617619752883911, 2.7556560039520264, -1.1220184564590454, 0.16759605705738068, 0.5083611607551575, 1.4499093294143677, -1.392313003540039, 0.04964973032474518, -0.5742716789245605, 1.993566632270813, 0.34859922528266907, 1.0832749605178833, -0.7556929588317871, -2.166917324066162, 0.6814083456993103, -1.2315455675125122, -1.142759084701538, 1.0234709978103638, -1.0560280084609985, -0.024526162073016167, -1.3180986642837524, -0.12973514199256897, -1.1216636896133423, -1.0820996761322021, 0.6215282678604126, 0.15088240802288055, 0.743047833442688, -0.7944559454917908, 0.23570884764194489, -2.2619965076446533, -1.211715817451477, -0.402301162481308, -1.0569167137145996, 0.5210893154144287, -0.3744966685771942, 0.6819576025009155, -0.39817777276039124, -0.03354910761117935, 0.5470665097236633, 1.2459975481033325, 3.311580181121826, 0.11980678886175156, 0.45166951417922974, -0.36680081486701965, -0.8257280588150024, 1.4964359998703003, 1.0008280277252197, 0.038346584886312485, -0.5671923160552979, -1.1559438705444336, 1.3063751459121704, 1.9539119005203247, 1.002959966659546, -0.05177829787135124, -0.9027230739593506, -0.6165545582771301, 0.07930904626846313, 0.32542747259140015, 0.35955268144607544, 0.9572203755378723, -0.3008430302143097, 0.1409103274345398, 1.5133148431777954, 1.1022062301635742, -0.6606373190879822, 0.16809846460819244, -0.8619866967201233, -0.3845309019088745, 0.7123004794120789, 0.4445769190788269, 0.17563624680042267, 0.31012052297592163, -0.8895614743232727, -0.29470232129096985, -0.17375032603740692, -0.9788532257080078, -0.858224093914032, -0.40081384778022766, -0.20468153059482574, 1.692502498626709, 0.045090239495038986, -0.24670793116092682, 0.0204300619661808, -0.8806277513504028, -0.35532718896865845, -1.019663691520691, 0.5340068936347961, -0.2924462556838989, 0.07399146258831024, -0.3045177459716797, 1.6607797145843506, -0.9350019097328186, -2.1748056411743164, 0.28755074739456177, 0.06038237735629082, -0.3607838749885559, 0.13299353420734406, 1.665572166442871, 0.7955912947654724, 1.455936312675476, 1.1534823179244995, 1.0299365520477295, -0.9207963943481445, -1.1724210977554321, 0.5636577606201172, 1.0341347455978394, -1.282957911491394, 1.118844747543335, -0.1774040013551712, -0.6277607679367065, 0.5846524238586426, 1.3320136070251465, 0.3887145221233368, -1.7459042072296143, 0.4772164821624756, -1.0670745372772217, 0.8519208431243896, 0.5049422979354858, 0.7993695735931396, -0.0034069432877004147, 0.9865521192550659, -0.9637408256530762, -1.1212319135665894, -0.7284775972366333, -0.5284265875816345, 2.01310133934021, -0.03176340460777283, 0.5108610987663269, -0.16575725376605988, -1.2167651653289795, 0.2083747237920761, 0.7576632499694824, 0.3054135739803314, -0.3458881974220276, 0.8515151739120483, -0.6836666464805603, -0.9048144817352295, -1.2858961820602417, -0.5894304513931274, -0.9041343331336975, -1.076564908027649, 0.9935639500617981, 0.45439401268959045, 0.2948322892189026, 1.866610050201416, 0.722983181476593, 0.23940546810626984, -2.377293825149536, 1.0091525316238403, 0.18672311305999756, -0.12622755765914917, 1.1247690916061401, 0.3551117777824402, 0.9303573966026306, -0.02514178678393364, 0.42453745007514954, -2.5354835987091064, 2.2231242656707764, -0.35727301239967346, 0.7803962826728821, 0.005216347053647041, -0.2029413878917694, 0.7715734243392944, 0.6314111948013306, 0.13187849521636963, -0.9037979245185852, 0.7651705741882324, -0.48058605194091797, 1.1603949069976807, 1.160171389579773, -0.9047144651412964, 0.25046080350875854, 0.9161723852157593, 0.14542976021766663, -0.27026113867759705, -0.7385331988334656, -1.0427522659301758, 1.0125038623809814, 1.8463635444641113, -0.11960427463054657, 0.17440387606620789, 0.9030596017837524, 0.666679322719574, -1.1572967767715454, -0.10982020944356918, -0.8629684448242188, -0.8307722210884094, 1.747004508972168, 2.000485897064209, 0.054057274013757706, -0.223527729511261, -0.6749129891395569, -1.1753555536270142, 0.981269121170044, -0.17655253410339355, 0.16216795146465302, 0.9157534837722778, -0.7390795946121216, 1.2931180000305176, 0.833812415599823, 0.7899314761161804, 0.1767602562904358, 0.403515487909317, 0.628183126449585, -0.15419693291187286, -1.2634223699569702, -0.4588399827480316, -1.0889543294906616, -2.461339235305786, 0.21369129419326782, -0.42961522936820984, -1.4635456800460815, -0.04620252922177315, -1.015136480331421, 0.7651012539863586, -0.6527237296104431, -1.0642166137695312, -1.6892704963684082, -0.006576478481292725, -0.10893286764621735, 1.0576260089874268, -1.2434722185134888, -0.2754489481449127, 1.2714340686798096, 0.9462262392044067, -0.24637524783611298, 1.1239441633224487, 0.26145797967910767, 1.1381970643997192, 0.9073351621627808, -0.3463048040866852, 0.544062614440918, 0.16887055337429047, -1.2496862411499023, 0.2948894798755646, 1.446800708770752, 0.30197271704673767, 1.604892611503601, -0.35264644026756287, -0.2311318814754486, 0.39612632989883423, -0.43288907408714294, -0.27356067299842834, -0.680518627166748, 0.8052483797073364, -0.026617009192705154, -0.9214428663253784, -0.1469913274049759, -0.23113442957401276, -0.24787412583827972, 0.1893937736749649, -1.6273149251937866, -0.05871540680527687, -0.5372442603111267, -0.5209226012229919, -1.2720181941986084, -0.008854038082063198, 1.5190482139587402, -0.9062581062316895, -0.052549440413713455, 0.4987978935241699, 0.27624714374542236, 0.5377197861671448, 0.5406566858291626, -0.5728093981742859, -0.5534027814865112, -0.3996603488922119, -0.4807639420032501, 0.2800276577472687, 1.182867407798767, 0.1694977730512619, -1.2320448160171509, 0.7953053116798401, -0.512430727481842, 0.17684446275234222, 2.053215503692627, 0.03374612331390381, -0.7682552337646484, 0.2988106608390808, -0.5584020018577576, 1.9991015195846558, 1.6581271886825562, 1.3561497926712036, -0.16220399737358093, -0.8886910676956177, 0.797960102558136, -0.32297179102897644, -0.5454235076904297, 0.9945599436759949, 0.29943838715553284, -0.21793457865715027, -1.4796360731124878, 0.6745404005050659, 1.3760021924972534, -0.8229222893714905, -0.6887140274047852, 0.0580400712788105, -0.8852441310882568, 1.0495867729187012, 0.6855947971343994, 0.10329030454158783, 0.3933413624763489, 1.7176296710968018, 0.5426163077354431, -0.4555610418319702, 0.3063322901725769, 0.514661431312561, -0.0350106805562973, -2.202676773071289, -0.9470221400260925, 0.13460153341293335, -0.18466511368751526, -1.33095121383667, 1.3304049968719482, -1.3187649250030518, -1.0464974641799927, 0.3587685823440552, 0.03868253529071808, 1.175214409828186, 0.0795568972826004, 1.6218141317367554, 2.2595646381378174, 0.6679522395133972, 0.2846852242946625, 1.1883093118667603, -0.32174110412597656, -0.5294763445854187, 1.8044825792312622, -0.516288697719574, 0.4442746043205261, 1.1471211910247803, -0.08980606496334076, -0.9476169943809509, -0.8854333162307739, -1.331904411315918, -0.9271541833877563, 1.1886944770812988, -0.018195344135165215, -1.4767286777496338, 0.3120934069156647, 1.477171778678894, 0.29998356103897095, -0.46750229597091675, 0.5269461870193481, 0.5676221251487732, -0.7277422547340393, -0.1619095355272293, -0.9282616376876831, 0.7269532680511475, -0.36443856358528137, -0.2110055685043335, 0.1609257310628891, 0.7364176511764526, 1.2820687294006348, -0.19335247576236725, -0.041582491248846054, 1.355861783027649, -1.3554562330245972, 1.5754822492599487, -0.6213904619216919, 0.17853376269340515, -2.3189005851745605, 1.3667163848876953, -0.80683434009552, 1.6719869375228882, -2.762319803237915, 0.7433696389198303, -0.3224938213825226, -0.32689401507377625, 0.3751736879348755, -0.1768171787261963, 0.33186182379722595, -0.05698651075363159, -0.9669238328933716, -0.2928520739078522, -0.5648748278617859, 0.6555285453796387, 1.2690285444259644, 1.1406811475753784, -1.049646019935608, -0.3745584785938263, -1.5868948698043823, -0.28828611969947815, -0.7139710783958435, -0.042362067848443985, -2.0275049209594727, -0.24498295783996582, -2.2076826095581055, -2.4870071411132812, -1.5550085306167603, -0.872096061706543, 1.1336497068405151, 0.24366147816181183, -1.0615878105163574, 1.4033430814743042, -0.42165425419807434, -1.7789627313613892, 1.1918141841888428, -2.2305474281311035 ]
https://github.com/huggingface/datasets/issues/4323
Audio can not find value["bytes"]
@lhoestq First of all, thx for reply but, if i put in "bytes" and "path" ex) {"bytes":"blah blah~", "path":"blah blah~"} that source working that my bytes to empty first, and then, re-calculate my bytes! ![image](https://user-images.githubusercontent.com/34292279/168534687-1fb60d8c-d369-47d2-a4bb-db68f95194b4.png) if you have some pcm file, pcm is can read bytes. so, i put in bytes and paths. but bytes is been None why encode_example func make None and then, on decode_example func, we no have bytes. so, calculate bytes to path. pcm is not support librosa or soundfile, error occured! the most important thing is not announced anywhere this situation can be reproduced is that truly right process flow?
## Describe the bug I wrote down _generate_examples like: ![image](https://user-images.githubusercontent.com/34292279/168027186-2fe8b255-2cd8-4b9b-ab1e-8d5a7182979b.png) but where is the bytes? ![image](https://user-images.githubusercontent.com/34292279/168027330-f2496dd0-1d99-464c-b15c-bc57eee0415a.png) ## Expected results value["bytes"] is not None, so i can make datasets with bytes, not path ## bytes looks like: blah blah~~ \xfe\x03\x00\xfb\x06\x1c\x0bo\x074\x03\xaf\x01\x13\x04\xbc\x06\x8c\x05y\x05,\t7\x08\xaf\x03\xc0\xfe\xe8\xfc\x94\xfe\xb7\xfd\xea\xfa\xd5\xf9$\xf9>\xf9\x1f\xf8\r\xf5F\xf49\xf4\xda\xf5-\xf8\n\xf8k\xf8\x07\xfb\x18\xfd\xd9\xfdv\xfd"\xfe\xcc\x01\x1c\x04\x08\x04@\x04{\x06^\tf\t\x1e\x07\x8b\x06\x02\x08\x13\t\x07\x08 \x06g\x06"\x06\xa0\x03\xc6\x002\xff \xff\x1d\xff\x19\xfd?\xfb\xdb\xfa\xfc\xfa$\xfb}\xf9\xe5\xf7\xf9\xf7\xce\xf8.\xf9b\xf9\xc5\xf9\xc0\xfb\xfa\xfcP\xfc\xba\xfbQ\xfc1\xfe\x9f\xff\x12\x00\xa2\x00\x18\x02Z\x03\x02\x04\xb1\x03\xc5\x03W\x04\x82\x04\x8f\x04U\x04\xb6\x04\x10\x05{\x04\x83\x02\x17\x01\x1d\x00\xa0\xff\xec\xfe\x03\xfe#\xfe\xc2\xfe2\xff\xe6\xfe\x9a\xfe~\x01\x91\x08\xb3\tU\x05\x10\x024\x02\xe4\x05\xa8\x07\xa7\x053\x07I\n\x91\x07v\x02\x95\xfd\xbb\xfd\x96\xff\x01\xfe\x1e\xfb\xbb\xf9S\xf8!\xf8\xf4\xf5\xd6\xf3\xf7\xf3l\xf4d\xf6l\xf7d\xf6b\xf7\xc1\xfa(\xfd\xcf\xfd*\xfdq\xfe\xe9\x01\xa8\x03t\x03\x17\x04B\x07\xce\t\t\t\xeb\x06\x0c\x07\x95\x08\x92\t\xbc\x07O\x06\xfb\x06\xd2\x06U\x04\x00\x02\x92\x00\xdc\x00\x84\x00 \xfeT\xfc\xf1\xfb\x82\xfc\x97\xfb}\xf9\x00\xf8_\xf8\x0b\xf9\xe5\xf8\xe2\xf7\xaa\xf8\xb2\xfa\x10\xfbl\xfa\xf5\xf9Y\xfb\xc0\xfd\xe8\xfe\xec\xfe1\x00\xad\x01\xec\x02E\x03\x13\x03\x9b\x03o\x04\xce\x04\xa8\x04\xb2\x04\x1b\x05\xc0\x05\xd2\x04\xe8\x02z\x01\xbe\x00\xae\x00\x07\x00$\xff|\xff\x8e\x00\x13\x00\x10\xff\x98\xff0\x05{\x0b\x05\t\xaa\x03\x82\x01n\x03 blah blah~~ that function not return None ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version:2.2.1 - Platform:ubuntu 18.04 - Python version:3.6.9 - PyArrow version:6.0.1
766
105
Audio can not find value["bytes"] ## Describe the bug I wrote down _generate_examples like: ![image](https://user-images.githubusercontent.com/34292279/168027186-2fe8b255-2cd8-4b9b-ab1e-8d5a7182979b.png) but where is the bytes? ![image](https://user-images.githubusercontent.com/34292279/168027330-f2496dd0-1d99-464c-b15c-bc57eee0415a.png) ## Expected results value["bytes"] is not None, so i can make datasets with bytes, not path ## bytes looks like: blah blah~~ \xfe\x03\x00\xfb\x06\x1c\x0bo\x074\x03\xaf\x01\x13\x04\xbc\x06\x8c\x05y\x05,\t7\x08\xaf\x03\xc0\xfe\xe8\xfc\x94\xfe\xb7\xfd\xea\xfa\xd5\xf9$\xf9>\xf9\x1f\xf8\r\xf5F\xf49\xf4\xda\xf5-\xf8\n\xf8k\xf8\x07\xfb\x18\xfd\xd9\xfdv\xfd"\xfe\xcc\x01\x1c\x04\x08\x04@\x04{\x06^\tf\t\x1e\x07\x8b\x06\x02\x08\x13\t\x07\x08 \x06g\x06"\x06\xa0\x03\xc6\x002\xff \xff\x1d\xff\x19\xfd?\xfb\xdb\xfa\xfc\xfa$\xfb}\xf9\xe5\xf7\xf9\xf7\xce\xf8.\xf9b\xf9\xc5\xf9\xc0\xfb\xfa\xfcP\xfc\xba\xfbQ\xfc1\xfe\x9f\xff\x12\x00\xa2\x00\x18\x02Z\x03\x02\x04\xb1\x03\xc5\x03W\x04\x82\x04\x8f\x04U\x04\xb6\x04\x10\x05{\x04\x83\x02\x17\x01\x1d\x00\xa0\xff\xec\xfe\x03\xfe#\xfe\xc2\xfe2\xff\xe6\xfe\x9a\xfe~\x01\x91\x08\xb3\tU\x05\x10\x024\x02\xe4\x05\xa8\x07\xa7\x053\x07I\n\x91\x07v\x02\x95\xfd\xbb\xfd\x96\xff\x01\xfe\x1e\xfb\xbb\xf9S\xf8!\xf8\xf4\xf5\xd6\xf3\xf7\xf3l\xf4d\xf6l\xf7d\xf6b\xf7\xc1\xfa(\xfd\xcf\xfd*\xfdq\xfe\xe9\x01\xa8\x03t\x03\x17\x04B\x07\xce\t\t\t\xeb\x06\x0c\x07\x95\x08\x92\t\xbc\x07O\x06\xfb\x06\xd2\x06U\x04\x00\x02\x92\x00\xdc\x00\x84\x00 \xfeT\xfc\xf1\xfb\x82\xfc\x97\xfb}\xf9\x00\xf8_\xf8\x0b\xf9\xe5\xf8\xe2\xf7\xaa\xf8\xb2\xfa\x10\xfbl\xfa\xf5\xf9Y\xfb\xc0\xfd\xe8\xfe\xec\xfe1\x00\xad\x01\xec\x02E\x03\x13\x03\x9b\x03o\x04\xce\x04\xa8\x04\xb2\x04\x1b\x05\xc0\x05\xd2\x04\xe8\x02z\x01\xbe\x00\xae\x00\x07\x00$\xff|\xff\x8e\x00\x13\x00\x10\xff\x98\xff0\x05{\x0b\x05\t\xaa\x03\x82\x01n\x03 blah blah~~ that function not return None ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version:2.2.1 - Platform:ubuntu 18.04 - Python version:3.6.9 - PyArrow version:6.0.1 @lhoestq First of all, thx for reply but, if i put in "bytes" and "path" ex) {"bytes":"blah blah~", "path":"blah blah~"} that source working that my bytes to empty first, and then, re-calculate my bytes! ![image](https://user-images.githubusercontent.com/34292279/168534687-1fb60d8c-d369-47d2-a4bb-db68f95194b4.png) if you have some pcm file, pcm is can read bytes. so, i put in bytes and paths. but bytes is been None why encode_example func make None and then, on decode_example func, we no have bytes. so, calculate bytes to path. pcm is not support librosa or soundfile, error occured! the most important thing is not announced anywhere this situation can be reproduced is that truly right process flow?
[ -1.454211711883545, -0.9173529148101807, -0.8072428107261658, 1.1904082298278809, -0.06571447849273682, -0.9581543207168579, 0.2057676911354065, -0.8597610592842102, 1.9477181434631348, -0.7501056790351868, 0.15708839893341064, -1.8205370903015137, 0.10042087733745575, -0.8151751756668091, -0.7079520225524902, -0.9018890857696533, -0.204398512840271, -0.7166482210159302, 1.0508997440338135, 2.629455089569092, 1.2388880252838135, -1.581251859664917, 2.822287082672119, 0.8462175130844116, -0.39456433057785034, -0.7795448899269104, 0.31538641452789307, 0.029245436191558838, -1.157312035560608, -0.4035544693470001, -0.8650192618370056, 0.23765259981155396, -0.5370672345161438, -0.5623040199279785, -0.17387402057647705, 0.27389776706695557, -0.3334064185619354, -0.1442139893770218, -0.46417155861854553, -0.5230646729469299, 0.37036842107772827, -0.5501229763031006, 0.9187520146369934, -0.19417238235473633, 1.7210248708724976, -0.5653549432754517, 0.2268839180469513, 0.6494402289390564, 1.0640112161636353, 0.36669406294822693, 0.06623801589012146, 0.32164672017097473, 0.350702166557312, -0.08299767225980759, 0.3736196458339691, 1.315379023551941, 0.6502325534820557, 0.4695362448692322, 0.9059374928474426, -2.208895683288574, 1.3431928157806396, -0.9354906678199768, -0.10772661864757538, 1.3542091846466064, -1.180938959121704, 0.5055027604103088, -1.72307288646698, -0.23116545379161835, 0.47525906562805176, -2.1825904846191406, 0.04563926160335541, -1.0586137771606445, -0.6272839307785034, 1.0264159440994263, 0.2900767922401428, -1.2491378784179688, 0.1314769834280014, -0.49717527627944946, 0.9299315810203552, 0.19941692054271698, 1.1402887105941772, -1.6449991464614868, 0.08609173446893692, -0.2993626296520233, 0.27823406457901, -1.5405237674713135, -1.5722837448120117, 0.6426030993461609, 0.6785448789596558, 0.6990600824356079, 0.03641394525766373, 1.0456796884536743, -1.1625272035598755, 0.5617760419845581, -1.1156009435653687, -1.7485579252243042, -1.3864312171936035, -2.220388412475586, -2.338724136352539, 0.7854253053665161, -0.24928916990756989, -0.4957256317138672, 1.9279959201812744, -1.1963605880737305, -1.4932727813720703, 1.162123441696167, 0.2918766438961029, -0.12822678685188293, 2.5656557083129883, 0.33198997378349304, -1.0024142265319824, 0.49180394411087036, -0.7227389812469482, 0.7631127238273621, -0.07902773469686508, 1.1769465208053589, 0.36155587434768677, -1.0514904260635376, 1.6395677328109741, -0.33440443873405457, 0.5979969501495361, -0.5869320631027222, -0.4438348114490509, -0.6368632912635803, 0.340055912733078, 1.782133936882019, -0.41103896498680115, 1.7622987031936646, -0.29258066415786743, -1.3217600584030151, -1.5472190380096436, 0.7605127096176147, 0.27437153458595276, -0.6465815305709839, 0.21883104741573334, -0.430932879447937, 0.19808350503444672, -0.017762375995516777, 1.1324238777160645, 1.4285731315612793, 0.394048273563385, -0.0627804771065712, -0.9420982003211975, 0.3103836178779602, -0.013732217252254486, -0.5722427368164062, -1.6662644147872925, -0.24394072592258453, 0.12993988394737244, 0.8127251267433167, -1.379050374031067, 1.6650762557983398, 0.8703448176383972, 1.8145638704299927, 1.1657170057296753, -0.10067544877529144, 1.2459359169006348, 0.20587623119354248, 1.7667564153671265, -0.48372459411621094, 0.791037917137146, -0.35153281688690186, -1.059719443321228, 0.8066387176513672, -0.549690306186676, -2.0228350162506104, -0.5953981280326843, -0.5829278826713562, -0.17536938190460205, -1.0856534242630005, 0.9126643538475037, -0.20163384079933167, -1.4463063478469849, 0.42410773038864136, -0.4970996677875519, 0.18572887778282166, -1.3656342029571533, 0.20027057826519012, 0.8752651214599609, -0.5706265568733215, 0.17296813428401947, -0.18691235780715942, -1.3975900411605835, -0.33144259452819824, 0.06929966062307358, 1.8414241075515747, -0.7203734517097473, 0.8849821090698242, 1.1109753847122192, -0.4448949694633484, 0.34632110595703125, 0.521986722946167, -0.3178733289241791, 0.7838322520256042, -1.1540265083312988, -0.1330203413963318, 1.1263244152069092, -0.047941286116838455, -0.4944585859775543, 1.431883454322815, 0.8937515616416931, -1.0258885622024536, -0.21642054617404938, 0.09414483606815338, -0.5415854454040527, -0.054439444094896317, -1.5044814348220825, -0.12632998824119568, 0.38966941833496094, -1.4698467254638672, -0.3897530138492584, -0.17664000391960144, 1.4837403297424316, -0.30143919587135315, 1.3929487466812134, -0.47540831565856934, -0.07135487347841263, -0.42236238718032837, -0.5210439562797546, -0.084164559841156, -0.16857574880123138, -0.6499354243278503, 0.2502785623073578, -0.889270007610321, 0.3045913875102997, 1.4314743280410767, 0.4350767135620117, -0.1484595686197281, 0.45540258288383484, 1.1755032539367676, 0.28018417954444885, -0.24717341363430023, -0.6701314449310303, -1.5996017456054688, 2.063076972961426, -1.5382784605026245, 2.193859338760376, 0.8902406692504883, -0.11290213465690613, -1.6363903284072876, -1.7228108644485474, 1.6567391157150269, 1.1980918645858765, 2.4702277183532715, 0.5993311405181885, 0.38489606976509094, -0.8096153736114502, -0.5198183059692383, 0.5931400656700134, -1.1593561172485352, -0.6211183071136475, 0.2426450103521347, 2.469212055206299, 1.7215337753295898, -0.5123628973960876, -0.10775593668222427, -0.9725746512413025, 1.0056272745132446, -0.09763417392969131, 0.08547360450029373, 1.8342864513397217, -0.5346704125404358, -1.380115032196045, 1.248506784439087, -2.1768789291381836, -0.15059171617031097, 1.9930039644241333, 0.2550926208496094, -0.1876901388168335, -1.1424957513809204, -0.585236668586731, -0.5221886038780212, -0.2315298616886139, -1.3124003410339355, 0.3144618570804596, -0.09743794798851013, -1.0044270753860474, -1.464568853378296, 0.10138221830129623, -1.229243516921997, -1.5028969049453735, 0.5179795026779175, 1.3810831308364868, 2.0934250354766846, -1.0106642246246338, 1.5477349758148193, -0.33698588609695435, 0.12779611349105835, 0.8901166915893555, 1.0235984325408936, 3.211174964904785, 1.796416997909546, -1.2084226608276367, 0.5899708271026611, -0.22116588056087494, -0.428278386592865, 1.0898048877716064, -1.267332911491394, 1.4324976205825806, -0.26008641719818115, -1.1863462924957275, -1.266944169998169, 0.7882232666015625, 0.3178142011165619, -0.09399724006652832, -0.5854092240333557, 1.2113773822784424, 0.29232120513916016, 1.20073401927948, 0.06408412009477615, 0.025051254779100418, 0.7068774104118347, -0.7548086643218994, -0.515823245048523, 1.4226856231689453, 0.04425503686070442, -1.5965204238891602, -1.9747167825698853, -0.11083114147186279, -0.8539684414863586, 0.09205218404531479, -0.851525604724884, -1.0614665746688843, 1.7564243078231812, 0.29960897564888, -1.111250877380371, -0.19052737951278687, -0.523294985294342, -0.5486912727355957, 2.6902668476104736, -1.5686954259872437, -0.25051987171173096, -0.8194838166236877, -0.5310612916946411, 1.5058201551437378, -0.9135999083518982, 0.03539801016449928, -1.0098375082015991, -0.6968998312950134, -1.2490170001983643, -0.5761735439300537, -0.03276792913675308, -0.8254125714302063, 0.8342627882957458, 0.2735975384712219, -1.3280521631240845, -0.11521193385124207, -0.8604419827461243, 0.6674363613128662, -0.32719743251800537, 0.3343929946422577, 1.7409954071044922, 0.5590223670005798, -0.5854426026344299, 0.6933978199958801, 1.2156736850738525, 0.5965376496315002, -0.8696902394294739, 0.06429848074913025, -0.5723531246185303, 0.4507034718990326, -1.1629104614257812, 0.047825075685977936, -2.719226360321045, 0.6765257716178894, 0.045398302376270294, 0.1145118921995163, -0.03338514268398285, -1.1128586530685425, 1.0617619752883911, 2.7556560039520264, -1.1220184564590454, 0.16759605705738068, 0.5083611607551575, 1.4499093294143677, -1.392313003540039, 0.04964973032474518, -0.5742716789245605, 1.993566632270813, 0.34859922528266907, 1.0832749605178833, -0.7556929588317871, -2.166917324066162, 0.6814083456993103, -1.2315455675125122, -1.142759084701538, 1.0234709978103638, -1.0560280084609985, -0.024526162073016167, -1.3180986642837524, -0.12973514199256897, -1.1216636896133423, -1.0820996761322021, 0.6215282678604126, 0.15088240802288055, 0.743047833442688, -0.7944559454917908, 0.23570884764194489, -2.2619965076446533, -1.211715817451477, -0.402301162481308, -1.0569167137145996, 0.5210893154144287, -0.3744966685771942, 0.6819576025009155, -0.39817777276039124, -0.03354910761117935, 0.5470665097236633, 1.2459975481033325, 3.311580181121826, 0.11980678886175156, 0.45166951417922974, -0.36680081486701965, -0.8257280588150024, 1.4964359998703003, 1.0008280277252197, 0.038346584886312485, -0.5671923160552979, -1.1559438705444336, 1.3063751459121704, 1.9539119005203247, 1.002959966659546, -0.05177829787135124, -0.9027230739593506, -0.6165545582771301, 0.07930904626846313, 0.32542747259140015, 0.35955268144607544, 0.9572203755378723, -0.3008430302143097, 0.1409103274345398, 1.5133148431777954, 1.1022062301635742, -0.6606373190879822, 0.16809846460819244, -0.8619866967201233, -0.3845309019088745, 0.7123004794120789, 0.4445769190788269, 0.17563624680042267, 0.31012052297592163, -0.8895614743232727, -0.29470232129096985, -0.17375032603740692, -0.9788532257080078, -0.858224093914032, -0.40081384778022766, -0.20468153059482574, 1.692502498626709, 0.045090239495038986, -0.24670793116092682, 0.0204300619661808, -0.8806277513504028, -0.35532718896865845, -1.019663691520691, 0.5340068936347961, -0.2924462556838989, 0.07399146258831024, -0.3045177459716797, 1.6607797145843506, -0.9350019097328186, -2.1748056411743164, 0.28755074739456177, 0.06038237735629082, -0.3607838749885559, 0.13299353420734406, 1.665572166442871, 0.7955912947654724, 1.455936312675476, 1.1534823179244995, 1.0299365520477295, -0.9207963943481445, -1.1724210977554321, 0.5636577606201172, 1.0341347455978394, -1.282957911491394, 1.118844747543335, -0.1774040013551712, -0.6277607679367065, 0.5846524238586426, 1.3320136070251465, 0.3887145221233368, -1.7459042072296143, 0.4772164821624756, -1.0670745372772217, 0.8519208431243896, 0.5049422979354858, 0.7993695735931396, -0.0034069432877004147, 0.9865521192550659, -0.9637408256530762, -1.1212319135665894, -0.7284775972366333, -0.5284265875816345, 2.01310133934021, -0.03176340460777283, 0.5108610987663269, -0.16575725376605988, -1.2167651653289795, 0.2083747237920761, 0.7576632499694824, 0.3054135739803314, -0.3458881974220276, 0.8515151739120483, -0.6836666464805603, -0.9048144817352295, -1.2858961820602417, -0.5894304513931274, -0.9041343331336975, -1.076564908027649, 0.9935639500617981, 0.45439401268959045, 0.2948322892189026, 1.866610050201416, 0.722983181476593, 0.23940546810626984, -2.377293825149536, 1.0091525316238403, 0.18672311305999756, -0.12622755765914917, 1.1247690916061401, 0.3551117777824402, 0.9303573966026306, -0.02514178678393364, 0.42453745007514954, -2.5354835987091064, 2.2231242656707764, -0.35727301239967346, 0.7803962826728821, 0.005216347053647041, -0.2029413878917694, 0.7715734243392944, 0.6314111948013306, 0.13187849521636963, -0.9037979245185852, 0.7651705741882324, -0.48058605194091797, 1.1603949069976807, 1.160171389579773, -0.9047144651412964, 0.25046080350875854, 0.9161723852157593, 0.14542976021766663, -0.27026113867759705, -0.7385331988334656, -1.0427522659301758, 1.0125038623809814, 1.8463635444641113, -0.11960427463054657, 0.17440387606620789, 0.9030596017837524, 0.666679322719574, -1.1572967767715454, -0.10982020944356918, -0.8629684448242188, -0.8307722210884094, 1.747004508972168, 2.000485897064209, 0.054057274013757706, -0.223527729511261, -0.6749129891395569, -1.1753555536270142, 0.981269121170044, -0.17655253410339355, 0.16216795146465302, 0.9157534837722778, -0.7390795946121216, 1.2931180000305176, 0.833812415599823, 0.7899314761161804, 0.1767602562904358, 0.403515487909317, 0.628183126449585, -0.15419693291187286, -1.2634223699569702, -0.4588399827480316, -1.0889543294906616, -2.461339235305786, 0.21369129419326782, -0.42961522936820984, -1.4635456800460815, -0.04620252922177315, -1.015136480331421, 0.7651012539863586, -0.6527237296104431, -1.0642166137695312, -1.6892704963684082, -0.006576478481292725, -0.10893286764621735, 1.0576260089874268, -1.2434722185134888, -0.2754489481449127, 1.2714340686798096, 0.9462262392044067, -0.24637524783611298, 1.1239441633224487, 0.26145797967910767, 1.1381970643997192, 0.9073351621627808, -0.3463048040866852, 0.544062614440918, 0.16887055337429047, -1.2496862411499023, 0.2948894798755646, 1.446800708770752, 0.30197271704673767, 1.604892611503601, -0.35264644026756287, -0.2311318814754486, 0.39612632989883423, -0.43288907408714294, -0.27356067299842834, -0.680518627166748, 0.8052483797073364, -0.026617009192705154, -0.9214428663253784, -0.1469913274049759, -0.23113442957401276, -0.24787412583827972, 0.1893937736749649, -1.6273149251937866, -0.05871540680527687, -0.5372442603111267, -0.5209226012229919, -1.2720181941986084, -0.008854038082063198, 1.5190482139587402, -0.9062581062316895, -0.052549440413713455, 0.4987978935241699, 0.27624714374542236, 0.5377197861671448, 0.5406566858291626, -0.5728093981742859, -0.5534027814865112, -0.3996603488922119, -0.4807639420032501, 0.2800276577472687, 1.182867407798767, 0.1694977730512619, -1.2320448160171509, 0.7953053116798401, -0.512430727481842, 0.17684446275234222, 2.053215503692627, 0.03374612331390381, -0.7682552337646484, 0.2988106608390808, -0.5584020018577576, 1.9991015195846558, 1.6581271886825562, 1.3561497926712036, -0.16220399737358093, -0.8886910676956177, 0.797960102558136, -0.32297179102897644, -0.5454235076904297, 0.9945599436759949, 0.29943838715553284, -0.21793457865715027, -1.4796360731124878, 0.6745404005050659, 1.3760021924972534, -0.8229222893714905, -0.6887140274047852, 0.0580400712788105, -0.8852441310882568, 1.0495867729187012, 0.6855947971343994, 0.10329030454158783, 0.3933413624763489, 1.7176296710968018, 0.5426163077354431, -0.4555610418319702, 0.3063322901725769, 0.514661431312561, -0.0350106805562973, -2.202676773071289, -0.9470221400260925, 0.13460153341293335, -0.18466511368751526, -1.33095121383667, 1.3304049968719482, -1.3187649250030518, -1.0464974641799927, 0.3587685823440552, 0.03868253529071808, 1.175214409828186, 0.0795568972826004, 1.6218141317367554, 2.2595646381378174, 0.6679522395133972, 0.2846852242946625, 1.1883093118667603, -0.32174110412597656, -0.5294763445854187, 1.8044825792312622, -0.516288697719574, 0.4442746043205261, 1.1471211910247803, -0.08980606496334076, -0.9476169943809509, -0.8854333162307739, -1.331904411315918, -0.9271541833877563, 1.1886944770812988, -0.018195344135165215, -1.4767286777496338, 0.3120934069156647, 1.477171778678894, 0.29998356103897095, -0.46750229597091675, 0.5269461870193481, 0.5676221251487732, -0.7277422547340393, -0.1619095355272293, -0.9282616376876831, 0.7269532680511475, -0.36443856358528137, -0.2110055685043335, 0.1609257310628891, 0.7364176511764526, 1.2820687294006348, -0.19335247576236725, -0.041582491248846054, 1.355861783027649, -1.3554562330245972, 1.5754822492599487, -0.6213904619216919, 0.17853376269340515, -2.3189005851745605, 1.3667163848876953, -0.80683434009552, 1.6719869375228882, -2.762319803237915, 0.7433696389198303, -0.3224938213825226, -0.32689401507377625, 0.3751736879348755, -0.1768171787261963, 0.33186182379722595, -0.05698651075363159, -0.9669238328933716, -0.2928520739078522, -0.5648748278617859, 0.6555285453796387, 1.2690285444259644, 1.1406811475753784, -1.049646019935608, -0.3745584785938263, -1.5868948698043823, -0.28828611969947815, -0.7139710783958435, -0.042362067848443985, -2.0275049209594727, -0.24498295783996582, -2.2076826095581055, -2.4870071411132812, -1.5550085306167603, -0.872096061706543, 1.1336497068405151, 0.24366147816181183, -1.0615878105163574, 1.4033430814743042, -0.42165425419807434, -1.7789627313613892, 1.1918141841888428, -2.2305474281311035 ]
https://github.com/huggingface/datasets/issues/4323
Audio can not find value["bytes"]
I don't think we support PCM files, feel free to convert your data to WAV for now. It would be awesome to support PCM files though, let me know if you'd like to contribute this feature, I'd be happy to help
## Describe the bug I wrote down _generate_examples like: ![image](https://user-images.githubusercontent.com/34292279/168027186-2fe8b255-2cd8-4b9b-ab1e-8d5a7182979b.png) but where is the bytes? ![image](https://user-images.githubusercontent.com/34292279/168027330-f2496dd0-1d99-464c-b15c-bc57eee0415a.png) ## Expected results value["bytes"] is not None, so i can make datasets with bytes, not path ## bytes looks like: blah blah~~ \xfe\x03\x00\xfb\x06\x1c\x0bo\x074\x03\xaf\x01\x13\x04\xbc\x06\x8c\x05y\x05,\t7\x08\xaf\x03\xc0\xfe\xe8\xfc\x94\xfe\xb7\xfd\xea\xfa\xd5\xf9$\xf9>\xf9\x1f\xf8\r\xf5F\xf49\xf4\xda\xf5-\xf8\n\xf8k\xf8\x07\xfb\x18\xfd\xd9\xfdv\xfd"\xfe\xcc\x01\x1c\x04\x08\x04@\x04{\x06^\tf\t\x1e\x07\x8b\x06\x02\x08\x13\t\x07\x08 \x06g\x06"\x06\xa0\x03\xc6\x002\xff \xff\x1d\xff\x19\xfd?\xfb\xdb\xfa\xfc\xfa$\xfb}\xf9\xe5\xf7\xf9\xf7\xce\xf8.\xf9b\xf9\xc5\xf9\xc0\xfb\xfa\xfcP\xfc\xba\xfbQ\xfc1\xfe\x9f\xff\x12\x00\xa2\x00\x18\x02Z\x03\x02\x04\xb1\x03\xc5\x03W\x04\x82\x04\x8f\x04U\x04\xb6\x04\x10\x05{\x04\x83\x02\x17\x01\x1d\x00\xa0\xff\xec\xfe\x03\xfe#\xfe\xc2\xfe2\xff\xe6\xfe\x9a\xfe~\x01\x91\x08\xb3\tU\x05\x10\x024\x02\xe4\x05\xa8\x07\xa7\x053\x07I\n\x91\x07v\x02\x95\xfd\xbb\xfd\x96\xff\x01\xfe\x1e\xfb\xbb\xf9S\xf8!\xf8\xf4\xf5\xd6\xf3\xf7\xf3l\xf4d\xf6l\xf7d\xf6b\xf7\xc1\xfa(\xfd\xcf\xfd*\xfdq\xfe\xe9\x01\xa8\x03t\x03\x17\x04B\x07\xce\t\t\t\xeb\x06\x0c\x07\x95\x08\x92\t\xbc\x07O\x06\xfb\x06\xd2\x06U\x04\x00\x02\x92\x00\xdc\x00\x84\x00 \xfeT\xfc\xf1\xfb\x82\xfc\x97\xfb}\xf9\x00\xf8_\xf8\x0b\xf9\xe5\xf8\xe2\xf7\xaa\xf8\xb2\xfa\x10\xfbl\xfa\xf5\xf9Y\xfb\xc0\xfd\xe8\xfe\xec\xfe1\x00\xad\x01\xec\x02E\x03\x13\x03\x9b\x03o\x04\xce\x04\xa8\x04\xb2\x04\x1b\x05\xc0\x05\xd2\x04\xe8\x02z\x01\xbe\x00\xae\x00\x07\x00$\xff|\xff\x8e\x00\x13\x00\x10\xff\x98\xff0\x05{\x0b\x05\t\xaa\x03\x82\x01n\x03 blah blah~~ that function not return None ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version:2.2.1 - Platform:ubuntu 18.04 - Python version:3.6.9 - PyArrow version:6.0.1
766
41
Audio can not find value["bytes"] ## Describe the bug I wrote down _generate_examples like: ![image](https://user-images.githubusercontent.com/34292279/168027186-2fe8b255-2cd8-4b9b-ab1e-8d5a7182979b.png) but where is the bytes? ![image](https://user-images.githubusercontent.com/34292279/168027330-f2496dd0-1d99-464c-b15c-bc57eee0415a.png) ## Expected results value["bytes"] is not None, so i can make datasets with bytes, not path ## bytes looks like: blah blah~~ \xfe\x03\x00\xfb\x06\x1c\x0bo\x074\x03\xaf\x01\x13\x04\xbc\x06\x8c\x05y\x05,\t7\x08\xaf\x03\xc0\xfe\xe8\xfc\x94\xfe\xb7\xfd\xea\xfa\xd5\xf9$\xf9>\xf9\x1f\xf8\r\xf5F\xf49\xf4\xda\xf5-\xf8\n\xf8k\xf8\x07\xfb\x18\xfd\xd9\xfdv\xfd"\xfe\xcc\x01\x1c\x04\x08\x04@\x04{\x06^\tf\t\x1e\x07\x8b\x06\x02\x08\x13\t\x07\x08 \x06g\x06"\x06\xa0\x03\xc6\x002\xff \xff\x1d\xff\x19\xfd?\xfb\xdb\xfa\xfc\xfa$\xfb}\xf9\xe5\xf7\xf9\xf7\xce\xf8.\xf9b\xf9\xc5\xf9\xc0\xfb\xfa\xfcP\xfc\xba\xfbQ\xfc1\xfe\x9f\xff\x12\x00\xa2\x00\x18\x02Z\x03\x02\x04\xb1\x03\xc5\x03W\x04\x82\x04\x8f\x04U\x04\xb6\x04\x10\x05{\x04\x83\x02\x17\x01\x1d\x00\xa0\xff\xec\xfe\x03\xfe#\xfe\xc2\xfe2\xff\xe6\xfe\x9a\xfe~\x01\x91\x08\xb3\tU\x05\x10\x024\x02\xe4\x05\xa8\x07\xa7\x053\x07I\n\x91\x07v\x02\x95\xfd\xbb\xfd\x96\xff\x01\xfe\x1e\xfb\xbb\xf9S\xf8!\xf8\xf4\xf5\xd6\xf3\xf7\xf3l\xf4d\xf6l\xf7d\xf6b\xf7\xc1\xfa(\xfd\xcf\xfd*\xfdq\xfe\xe9\x01\xa8\x03t\x03\x17\x04B\x07\xce\t\t\t\xeb\x06\x0c\x07\x95\x08\x92\t\xbc\x07O\x06\xfb\x06\xd2\x06U\x04\x00\x02\x92\x00\xdc\x00\x84\x00 \xfeT\xfc\xf1\xfb\x82\xfc\x97\xfb}\xf9\x00\xf8_\xf8\x0b\xf9\xe5\xf8\xe2\xf7\xaa\xf8\xb2\xfa\x10\xfbl\xfa\xf5\xf9Y\xfb\xc0\xfd\xe8\xfe\xec\xfe1\x00\xad\x01\xec\x02E\x03\x13\x03\x9b\x03o\x04\xce\x04\xa8\x04\xb2\x04\x1b\x05\xc0\x05\xd2\x04\xe8\x02z\x01\xbe\x00\xae\x00\x07\x00$\xff|\xff\x8e\x00\x13\x00\x10\xff\x98\xff0\x05{\x0b\x05\t\xaa\x03\x82\x01n\x03 blah blah~~ that function not return None ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version:2.2.1 - Platform:ubuntu 18.04 - Python version:3.6.9 - PyArrow version:6.0.1 I don't think we support PCM files, feel free to convert your data to WAV for now. It would be awesome to support PCM files though, let me know if you'd like to contribute this feature, I'd be happy to help
[ -1.454211711883545, -0.9173529148101807, -0.8072428107261658, 1.1904082298278809, -0.06571447849273682, -0.9581543207168579, 0.2057676911354065, -0.8597610592842102, 1.9477181434631348, -0.7501056790351868, 0.15708839893341064, -1.8205370903015137, 0.10042087733745575, -0.8151751756668091, -0.7079520225524902, -0.9018890857696533, -0.204398512840271, -0.7166482210159302, 1.0508997440338135, 2.629455089569092, 1.2388880252838135, -1.581251859664917, 2.822287082672119, 0.8462175130844116, -0.39456433057785034, -0.7795448899269104, 0.31538641452789307, 0.029245436191558838, -1.157312035560608, -0.4035544693470001, -0.8650192618370056, 0.23765259981155396, -0.5370672345161438, -0.5623040199279785, -0.17387402057647705, 0.27389776706695557, -0.3334064185619354, -0.1442139893770218, -0.46417155861854553, -0.5230646729469299, 0.37036842107772827, -0.5501229763031006, 0.9187520146369934, -0.19417238235473633, 1.7210248708724976, -0.5653549432754517, 0.2268839180469513, 0.6494402289390564, 1.0640112161636353, 0.36669406294822693, 0.06623801589012146, 0.32164672017097473, 0.350702166557312, -0.08299767225980759, 0.3736196458339691, 1.315379023551941, 0.6502325534820557, 0.4695362448692322, 0.9059374928474426, -2.208895683288574, 1.3431928157806396, -0.9354906678199768, -0.10772661864757538, 1.3542091846466064, -1.180938959121704, 0.5055027604103088, -1.72307288646698, -0.23116545379161835, 0.47525906562805176, -2.1825904846191406, 0.04563926160335541, -1.0586137771606445, -0.6272839307785034, 1.0264159440994263, 0.2900767922401428, -1.2491378784179688, 0.1314769834280014, -0.49717527627944946, 0.9299315810203552, 0.19941692054271698, 1.1402887105941772, -1.6449991464614868, 0.08609173446893692, -0.2993626296520233, 0.27823406457901, -1.5405237674713135, -1.5722837448120117, 0.6426030993461609, 0.6785448789596558, 0.6990600824356079, 0.03641394525766373, 1.0456796884536743, -1.1625272035598755, 0.5617760419845581, -1.1156009435653687, -1.7485579252243042, -1.3864312171936035, -2.220388412475586, -2.338724136352539, 0.7854253053665161, -0.24928916990756989, -0.4957256317138672, 1.9279959201812744, -1.1963605880737305, -1.4932727813720703, 1.162123441696167, 0.2918766438961029, -0.12822678685188293, 2.5656557083129883, 0.33198997378349304, -1.0024142265319824, 0.49180394411087036, -0.7227389812469482, 0.7631127238273621, -0.07902773469686508, 1.1769465208053589, 0.36155587434768677, -1.0514904260635376, 1.6395677328109741, -0.33440443873405457, 0.5979969501495361, -0.5869320631027222, -0.4438348114490509, -0.6368632912635803, 0.340055912733078, 1.782133936882019, -0.41103896498680115, 1.7622987031936646, -0.29258066415786743, -1.3217600584030151, -1.5472190380096436, 0.7605127096176147, 0.27437153458595276, -0.6465815305709839, 0.21883104741573334, -0.430932879447937, 0.19808350503444672, -0.017762375995516777, 1.1324238777160645, 1.4285731315612793, 0.394048273563385, -0.0627804771065712, -0.9420982003211975, 0.3103836178779602, -0.013732217252254486, -0.5722427368164062, -1.6662644147872925, -0.24394072592258453, 0.12993988394737244, 0.8127251267433167, -1.379050374031067, 1.6650762557983398, 0.8703448176383972, 1.8145638704299927, 1.1657170057296753, -0.10067544877529144, 1.2459359169006348, 0.20587623119354248, 1.7667564153671265, -0.48372459411621094, 0.791037917137146, -0.35153281688690186, -1.059719443321228, 0.8066387176513672, -0.549690306186676, -2.0228350162506104, -0.5953981280326843, -0.5829278826713562, -0.17536938190460205, -1.0856534242630005, 0.9126643538475037, -0.20163384079933167, -1.4463063478469849, 0.42410773038864136, -0.4970996677875519, 0.18572887778282166, -1.3656342029571533, 0.20027057826519012, 0.8752651214599609, -0.5706265568733215, 0.17296813428401947, -0.18691235780715942, -1.3975900411605835, -0.33144259452819824, 0.06929966062307358, 1.8414241075515747, -0.7203734517097473, 0.8849821090698242, 1.1109753847122192, -0.4448949694633484, 0.34632110595703125, 0.521986722946167, -0.3178733289241791, 0.7838322520256042, -1.1540265083312988, -0.1330203413963318, 1.1263244152069092, -0.047941286116838455, -0.4944585859775543, 1.431883454322815, 0.8937515616416931, -1.0258885622024536, -0.21642054617404938, 0.09414483606815338, -0.5415854454040527, -0.054439444094896317, -1.5044814348220825, -0.12632998824119568, 0.38966941833496094, -1.4698467254638672, -0.3897530138492584, -0.17664000391960144, 1.4837403297424316, -0.30143919587135315, 1.3929487466812134, -0.47540831565856934, -0.07135487347841263, -0.42236238718032837, -0.5210439562797546, -0.084164559841156, -0.16857574880123138, -0.6499354243278503, 0.2502785623073578, -0.889270007610321, 0.3045913875102997, 1.4314743280410767, 0.4350767135620117, -0.1484595686197281, 0.45540258288383484, 1.1755032539367676, 0.28018417954444885, -0.24717341363430023, -0.6701314449310303, -1.5996017456054688, 2.063076972961426, -1.5382784605026245, 2.193859338760376, 0.8902406692504883, -0.11290213465690613, -1.6363903284072876, -1.7228108644485474, 1.6567391157150269, 1.1980918645858765, 2.4702277183532715, 0.5993311405181885, 0.38489606976509094, -0.8096153736114502, -0.5198183059692383, 0.5931400656700134, -1.1593561172485352, -0.6211183071136475, 0.2426450103521347, 2.469212055206299, 1.7215337753295898, -0.5123628973960876, -0.10775593668222427, -0.9725746512413025, 1.0056272745132446, -0.09763417392969131, 0.08547360450029373, 1.8342864513397217, -0.5346704125404358, -1.380115032196045, 1.248506784439087, -2.1768789291381836, -0.15059171617031097, 1.9930039644241333, 0.2550926208496094, -0.1876901388168335, -1.1424957513809204, -0.585236668586731, -0.5221886038780212, -0.2315298616886139, -1.3124003410339355, 0.3144618570804596, -0.09743794798851013, -1.0044270753860474, -1.464568853378296, 0.10138221830129623, -1.229243516921997, -1.5028969049453735, 0.5179795026779175, 1.3810831308364868, 2.0934250354766846, -1.0106642246246338, 1.5477349758148193, -0.33698588609695435, 0.12779611349105835, 0.8901166915893555, 1.0235984325408936, 3.211174964904785, 1.796416997909546, -1.2084226608276367, 0.5899708271026611, -0.22116588056087494, -0.428278386592865, 1.0898048877716064, -1.267332911491394, 1.4324976205825806, -0.26008641719818115, -1.1863462924957275, -1.266944169998169, 0.7882232666015625, 0.3178142011165619, -0.09399724006652832, -0.5854092240333557, 1.2113773822784424, 0.29232120513916016, 1.20073401927948, 0.06408412009477615, 0.025051254779100418, 0.7068774104118347, -0.7548086643218994, -0.515823245048523, 1.4226856231689453, 0.04425503686070442, -1.5965204238891602, -1.9747167825698853, -0.11083114147186279, -0.8539684414863586, 0.09205218404531479, -0.851525604724884, -1.0614665746688843, 1.7564243078231812, 0.29960897564888, -1.111250877380371, -0.19052737951278687, -0.523294985294342, -0.5486912727355957, 2.6902668476104736, -1.5686954259872437, -0.25051987171173096, -0.8194838166236877, -0.5310612916946411, 1.5058201551437378, -0.9135999083518982, 0.03539801016449928, -1.0098375082015991, -0.6968998312950134, -1.2490170001983643, -0.5761735439300537, -0.03276792913675308, -0.8254125714302063, 0.8342627882957458, 0.2735975384712219, -1.3280521631240845, -0.11521193385124207, -0.8604419827461243, 0.6674363613128662, -0.32719743251800537, 0.3343929946422577, 1.7409954071044922, 0.5590223670005798, -0.5854426026344299, 0.6933978199958801, 1.2156736850738525, 0.5965376496315002, -0.8696902394294739, 0.06429848074913025, -0.5723531246185303, 0.4507034718990326, -1.1629104614257812, 0.047825075685977936, -2.719226360321045, 0.6765257716178894, 0.045398302376270294, 0.1145118921995163, -0.03338514268398285, -1.1128586530685425, 1.0617619752883911, 2.7556560039520264, -1.1220184564590454, 0.16759605705738068, 0.5083611607551575, 1.4499093294143677, -1.392313003540039, 0.04964973032474518, -0.5742716789245605, 1.993566632270813, 0.34859922528266907, 1.0832749605178833, -0.7556929588317871, -2.166917324066162, 0.6814083456993103, -1.2315455675125122, -1.142759084701538, 1.0234709978103638, -1.0560280084609985, -0.024526162073016167, -1.3180986642837524, -0.12973514199256897, -1.1216636896133423, -1.0820996761322021, 0.6215282678604126, 0.15088240802288055, 0.743047833442688, -0.7944559454917908, 0.23570884764194489, -2.2619965076446533, -1.211715817451477, -0.402301162481308, -1.0569167137145996, 0.5210893154144287, -0.3744966685771942, 0.6819576025009155, -0.39817777276039124, -0.03354910761117935, 0.5470665097236633, 1.2459975481033325, 3.311580181121826, 0.11980678886175156, 0.45166951417922974, -0.36680081486701965, -0.8257280588150024, 1.4964359998703003, 1.0008280277252197, 0.038346584886312485, -0.5671923160552979, -1.1559438705444336, 1.3063751459121704, 1.9539119005203247, 1.002959966659546, -0.05177829787135124, -0.9027230739593506, -0.6165545582771301, 0.07930904626846313, 0.32542747259140015, 0.35955268144607544, 0.9572203755378723, -0.3008430302143097, 0.1409103274345398, 1.5133148431777954, 1.1022062301635742, -0.6606373190879822, 0.16809846460819244, -0.8619866967201233, -0.3845309019088745, 0.7123004794120789, 0.4445769190788269, 0.17563624680042267, 0.31012052297592163, -0.8895614743232727, -0.29470232129096985, -0.17375032603740692, -0.9788532257080078, -0.858224093914032, -0.40081384778022766, -0.20468153059482574, 1.692502498626709, 0.045090239495038986, -0.24670793116092682, 0.0204300619661808, -0.8806277513504028, -0.35532718896865845, -1.019663691520691, 0.5340068936347961, -0.2924462556838989, 0.07399146258831024, -0.3045177459716797, 1.6607797145843506, -0.9350019097328186, -2.1748056411743164, 0.28755074739456177, 0.06038237735629082, -0.3607838749885559, 0.13299353420734406, 1.665572166442871, 0.7955912947654724, 1.455936312675476, 1.1534823179244995, 1.0299365520477295, -0.9207963943481445, -1.1724210977554321, 0.5636577606201172, 1.0341347455978394, -1.282957911491394, 1.118844747543335, -0.1774040013551712, -0.6277607679367065, 0.5846524238586426, 1.3320136070251465, 0.3887145221233368, -1.7459042072296143, 0.4772164821624756, -1.0670745372772217, 0.8519208431243896, 0.5049422979354858, 0.7993695735931396, -0.0034069432877004147, 0.9865521192550659, -0.9637408256530762, -1.1212319135665894, -0.7284775972366333, -0.5284265875816345, 2.01310133934021, -0.03176340460777283, 0.5108610987663269, -0.16575725376605988, -1.2167651653289795, 0.2083747237920761, 0.7576632499694824, 0.3054135739803314, -0.3458881974220276, 0.8515151739120483, -0.6836666464805603, -0.9048144817352295, -1.2858961820602417, -0.5894304513931274, -0.9041343331336975, -1.076564908027649, 0.9935639500617981, 0.45439401268959045, 0.2948322892189026, 1.866610050201416, 0.722983181476593, 0.23940546810626984, -2.377293825149536, 1.0091525316238403, 0.18672311305999756, -0.12622755765914917, 1.1247690916061401, 0.3551117777824402, 0.9303573966026306, -0.02514178678393364, 0.42453745007514954, -2.5354835987091064, 2.2231242656707764, -0.35727301239967346, 0.7803962826728821, 0.005216347053647041, -0.2029413878917694, 0.7715734243392944, 0.6314111948013306, 0.13187849521636963, -0.9037979245185852, 0.7651705741882324, -0.48058605194091797, 1.1603949069976807, 1.160171389579773, -0.9047144651412964, 0.25046080350875854, 0.9161723852157593, 0.14542976021766663, -0.27026113867759705, -0.7385331988334656, -1.0427522659301758, 1.0125038623809814, 1.8463635444641113, -0.11960427463054657, 0.17440387606620789, 0.9030596017837524, 0.666679322719574, -1.1572967767715454, -0.10982020944356918, -0.8629684448242188, -0.8307722210884094, 1.747004508972168, 2.000485897064209, 0.054057274013757706, -0.223527729511261, -0.6749129891395569, -1.1753555536270142, 0.981269121170044, -0.17655253410339355, 0.16216795146465302, 0.9157534837722778, -0.7390795946121216, 1.2931180000305176, 0.833812415599823, 0.7899314761161804, 0.1767602562904358, 0.403515487909317, 0.628183126449585, -0.15419693291187286, -1.2634223699569702, -0.4588399827480316, -1.0889543294906616, -2.461339235305786, 0.21369129419326782, -0.42961522936820984, -1.4635456800460815, -0.04620252922177315, -1.015136480331421, 0.7651012539863586, -0.6527237296104431, -1.0642166137695312, -1.6892704963684082, -0.006576478481292725, -0.10893286764621735, 1.0576260089874268, -1.2434722185134888, -0.2754489481449127, 1.2714340686798096, 0.9462262392044067, -0.24637524783611298, 1.1239441633224487, 0.26145797967910767, 1.1381970643997192, 0.9073351621627808, -0.3463048040866852, 0.544062614440918, 0.16887055337429047, -1.2496862411499023, 0.2948894798755646, 1.446800708770752, 0.30197271704673767, 1.604892611503601, -0.35264644026756287, -0.2311318814754486, 0.39612632989883423, -0.43288907408714294, -0.27356067299842834, -0.680518627166748, 0.8052483797073364, -0.026617009192705154, -0.9214428663253784, -0.1469913274049759, -0.23113442957401276, -0.24787412583827972, 0.1893937736749649, -1.6273149251937866, -0.05871540680527687, -0.5372442603111267, -0.5209226012229919, -1.2720181941986084, -0.008854038082063198, 1.5190482139587402, -0.9062581062316895, -0.052549440413713455, 0.4987978935241699, 0.27624714374542236, 0.5377197861671448, 0.5406566858291626, -0.5728093981742859, -0.5534027814865112, -0.3996603488922119, -0.4807639420032501, 0.2800276577472687, 1.182867407798767, 0.1694977730512619, -1.2320448160171509, 0.7953053116798401, -0.512430727481842, 0.17684446275234222, 2.053215503692627, 0.03374612331390381, -0.7682552337646484, 0.2988106608390808, -0.5584020018577576, 1.9991015195846558, 1.6581271886825562, 1.3561497926712036, -0.16220399737358093, -0.8886910676956177, 0.797960102558136, -0.32297179102897644, -0.5454235076904297, 0.9945599436759949, 0.29943838715553284, -0.21793457865715027, -1.4796360731124878, 0.6745404005050659, 1.3760021924972534, -0.8229222893714905, -0.6887140274047852, 0.0580400712788105, -0.8852441310882568, 1.0495867729187012, 0.6855947971343994, 0.10329030454158783, 0.3933413624763489, 1.7176296710968018, 0.5426163077354431, -0.4555610418319702, 0.3063322901725769, 0.514661431312561, -0.0350106805562973, -2.202676773071289, -0.9470221400260925, 0.13460153341293335, -0.18466511368751526, -1.33095121383667, 1.3304049968719482, -1.3187649250030518, -1.0464974641799927, 0.3587685823440552, 0.03868253529071808, 1.175214409828186, 0.0795568972826004, 1.6218141317367554, 2.2595646381378174, 0.6679522395133972, 0.2846852242946625, 1.1883093118667603, -0.32174110412597656, -0.5294763445854187, 1.8044825792312622, -0.516288697719574, 0.4442746043205261, 1.1471211910247803, -0.08980606496334076, -0.9476169943809509, -0.8854333162307739, -1.331904411315918, -0.9271541833877563, 1.1886944770812988, -0.018195344135165215, -1.4767286777496338, 0.3120934069156647, 1.477171778678894, 0.29998356103897095, -0.46750229597091675, 0.5269461870193481, 0.5676221251487732, -0.7277422547340393, -0.1619095355272293, -0.9282616376876831, 0.7269532680511475, -0.36443856358528137, -0.2110055685043335, 0.1609257310628891, 0.7364176511764526, 1.2820687294006348, -0.19335247576236725, -0.041582491248846054, 1.355861783027649, -1.3554562330245972, 1.5754822492599487, -0.6213904619216919, 0.17853376269340515, -2.3189005851745605, 1.3667163848876953, -0.80683434009552, 1.6719869375228882, -2.762319803237915, 0.7433696389198303, -0.3224938213825226, -0.32689401507377625, 0.3751736879348755, -0.1768171787261963, 0.33186182379722595, -0.05698651075363159, -0.9669238328933716, -0.2928520739078522, -0.5648748278617859, 0.6555285453796387, 1.2690285444259644, 1.1406811475753784, -1.049646019935608, -0.3745584785938263, -1.5868948698043823, -0.28828611969947815, -0.7139710783958435, -0.042362067848443985, -2.0275049209594727, -0.24498295783996582, -2.2076826095581055, -2.4870071411132812, -1.5550085306167603, -0.872096061706543, 1.1336497068405151, 0.24366147816181183, -1.0615878105163574, 1.4033430814743042, -0.42165425419807434, -1.7789627313613892, 1.1918141841888428, -2.2305474281311035 ]
https://github.com/huggingface/datasets/issues/4323
Audio can not find value["bytes"]
You can clone the repository (see the guide on [how to contribute](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-create-a-pull-request)) and see how we can make the `Image.encode_example` method work with PCM data. There might be other ways to approach this problem, but here is what I think is a reasonable one: I think `Image.encode_example` should be able to take PCM bytes as input and the sampling rate, and return the WAV bytes (built by combining the PCM bytes and the sampling rate info), so that `Image.decode_example` can read it. To check if the input bytes are PCM data, you can just check if the extension of the `path` is ".pcm".
## Describe the bug I wrote down _generate_examples like: ![image](https://user-images.githubusercontent.com/34292279/168027186-2fe8b255-2cd8-4b9b-ab1e-8d5a7182979b.png) but where is the bytes? ![image](https://user-images.githubusercontent.com/34292279/168027330-f2496dd0-1d99-464c-b15c-bc57eee0415a.png) ## Expected results value["bytes"] is not None, so i can make datasets with bytes, not path ## bytes looks like: blah blah~~ \xfe\x03\x00\xfb\x06\x1c\x0bo\x074\x03\xaf\x01\x13\x04\xbc\x06\x8c\x05y\x05,\t7\x08\xaf\x03\xc0\xfe\xe8\xfc\x94\xfe\xb7\xfd\xea\xfa\xd5\xf9$\xf9>\xf9\x1f\xf8\r\xf5F\xf49\xf4\xda\xf5-\xf8\n\xf8k\xf8\x07\xfb\x18\xfd\xd9\xfdv\xfd"\xfe\xcc\x01\x1c\x04\x08\x04@\x04{\x06^\tf\t\x1e\x07\x8b\x06\x02\x08\x13\t\x07\x08 \x06g\x06"\x06\xa0\x03\xc6\x002\xff \xff\x1d\xff\x19\xfd?\xfb\xdb\xfa\xfc\xfa$\xfb}\xf9\xe5\xf7\xf9\xf7\xce\xf8.\xf9b\xf9\xc5\xf9\xc0\xfb\xfa\xfcP\xfc\xba\xfbQ\xfc1\xfe\x9f\xff\x12\x00\xa2\x00\x18\x02Z\x03\x02\x04\xb1\x03\xc5\x03W\x04\x82\x04\x8f\x04U\x04\xb6\x04\x10\x05{\x04\x83\x02\x17\x01\x1d\x00\xa0\xff\xec\xfe\x03\xfe#\xfe\xc2\xfe2\xff\xe6\xfe\x9a\xfe~\x01\x91\x08\xb3\tU\x05\x10\x024\x02\xe4\x05\xa8\x07\xa7\x053\x07I\n\x91\x07v\x02\x95\xfd\xbb\xfd\x96\xff\x01\xfe\x1e\xfb\xbb\xf9S\xf8!\xf8\xf4\xf5\xd6\xf3\xf7\xf3l\xf4d\xf6l\xf7d\xf6b\xf7\xc1\xfa(\xfd\xcf\xfd*\xfdq\xfe\xe9\x01\xa8\x03t\x03\x17\x04B\x07\xce\t\t\t\xeb\x06\x0c\x07\x95\x08\x92\t\xbc\x07O\x06\xfb\x06\xd2\x06U\x04\x00\x02\x92\x00\xdc\x00\x84\x00 \xfeT\xfc\xf1\xfb\x82\xfc\x97\xfb}\xf9\x00\xf8_\xf8\x0b\xf9\xe5\xf8\xe2\xf7\xaa\xf8\xb2\xfa\x10\xfbl\xfa\xf5\xf9Y\xfb\xc0\xfd\xe8\xfe\xec\xfe1\x00\xad\x01\xec\x02E\x03\x13\x03\x9b\x03o\x04\xce\x04\xa8\x04\xb2\x04\x1b\x05\xc0\x05\xd2\x04\xe8\x02z\x01\xbe\x00\xae\x00\x07\x00$\xff|\xff\x8e\x00\x13\x00\x10\xff\x98\xff0\x05{\x0b\x05\t\xaa\x03\x82\x01n\x03 blah blah~~ that function not return None ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version:2.2.1 - Platform:ubuntu 18.04 - Python version:3.6.9 - PyArrow version:6.0.1
766
103
Audio can not find value["bytes"] ## Describe the bug I wrote down _generate_examples like: ![image](https://user-images.githubusercontent.com/34292279/168027186-2fe8b255-2cd8-4b9b-ab1e-8d5a7182979b.png) but where is the bytes? ![image](https://user-images.githubusercontent.com/34292279/168027330-f2496dd0-1d99-464c-b15c-bc57eee0415a.png) ## Expected results value["bytes"] is not None, so i can make datasets with bytes, not path ## bytes looks like: blah blah~~ \xfe\x03\x00\xfb\x06\x1c\x0bo\x074\x03\xaf\x01\x13\x04\xbc\x06\x8c\x05y\x05,\t7\x08\xaf\x03\xc0\xfe\xe8\xfc\x94\xfe\xb7\xfd\xea\xfa\xd5\xf9$\xf9>\xf9\x1f\xf8\r\xf5F\xf49\xf4\xda\xf5-\xf8\n\xf8k\xf8\x07\xfb\x18\xfd\xd9\xfdv\xfd"\xfe\xcc\x01\x1c\x04\x08\x04@\x04{\x06^\tf\t\x1e\x07\x8b\x06\x02\x08\x13\t\x07\x08 \x06g\x06"\x06\xa0\x03\xc6\x002\xff \xff\x1d\xff\x19\xfd?\xfb\xdb\xfa\xfc\xfa$\xfb}\xf9\xe5\xf7\xf9\xf7\xce\xf8.\xf9b\xf9\xc5\xf9\xc0\xfb\xfa\xfcP\xfc\xba\xfbQ\xfc1\xfe\x9f\xff\x12\x00\xa2\x00\x18\x02Z\x03\x02\x04\xb1\x03\xc5\x03W\x04\x82\x04\x8f\x04U\x04\xb6\x04\x10\x05{\x04\x83\x02\x17\x01\x1d\x00\xa0\xff\xec\xfe\x03\xfe#\xfe\xc2\xfe2\xff\xe6\xfe\x9a\xfe~\x01\x91\x08\xb3\tU\x05\x10\x024\x02\xe4\x05\xa8\x07\xa7\x053\x07I\n\x91\x07v\x02\x95\xfd\xbb\xfd\x96\xff\x01\xfe\x1e\xfb\xbb\xf9S\xf8!\xf8\xf4\xf5\xd6\xf3\xf7\xf3l\xf4d\xf6l\xf7d\xf6b\xf7\xc1\xfa(\xfd\xcf\xfd*\xfdq\xfe\xe9\x01\xa8\x03t\x03\x17\x04B\x07\xce\t\t\t\xeb\x06\x0c\x07\x95\x08\x92\t\xbc\x07O\x06\xfb\x06\xd2\x06U\x04\x00\x02\x92\x00\xdc\x00\x84\x00 \xfeT\xfc\xf1\xfb\x82\xfc\x97\xfb}\xf9\x00\xf8_\xf8\x0b\xf9\xe5\xf8\xe2\xf7\xaa\xf8\xb2\xfa\x10\xfbl\xfa\xf5\xf9Y\xfb\xc0\xfd\xe8\xfe\xec\xfe1\x00\xad\x01\xec\x02E\x03\x13\x03\x9b\x03o\x04\xce\x04\xa8\x04\xb2\x04\x1b\x05\xc0\x05\xd2\x04\xe8\x02z\x01\xbe\x00\xae\x00\x07\x00$\xff|\xff\x8e\x00\x13\x00\x10\xff\x98\xff0\x05{\x0b\x05\t\xaa\x03\x82\x01n\x03 blah blah~~ that function not return None ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version:2.2.1 - Platform:ubuntu 18.04 - Python version:3.6.9 - PyArrow version:6.0.1 You can clone the repository (see the guide on [how to contribute](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-create-a-pull-request)) and see how we can make the `Image.encode_example` method work with PCM data. There might be other ways to approach this problem, but here is what I think is a reasonable one: I think `Image.encode_example` should be able to take PCM bytes as input and the sampling rate, and return the WAV bytes (built by combining the PCM bytes and the sampling rate info), so that `Image.decode_example` can read it. To check if the input bytes are PCM data, you can just check if the extension of the `path` is ".pcm".
[ -1.454211711883545, -0.9173529148101807, -0.8072428107261658, 1.1904082298278809, -0.06571447849273682, -0.9581543207168579, 0.2057676911354065, -0.8597610592842102, 1.9477181434631348, -0.7501056790351868, 0.15708839893341064, -1.8205370903015137, 0.10042087733745575, -0.8151751756668091, -0.7079520225524902, -0.9018890857696533, -0.204398512840271, -0.7166482210159302, 1.0508997440338135, 2.629455089569092, 1.2388880252838135, -1.581251859664917, 2.822287082672119, 0.8462175130844116, -0.39456433057785034, -0.7795448899269104, 0.31538641452789307, 0.029245436191558838, -1.157312035560608, -0.4035544693470001, -0.8650192618370056, 0.23765259981155396, -0.5370672345161438, -0.5623040199279785, -0.17387402057647705, 0.27389776706695557, -0.3334064185619354, -0.1442139893770218, -0.46417155861854553, -0.5230646729469299, 0.37036842107772827, -0.5501229763031006, 0.9187520146369934, -0.19417238235473633, 1.7210248708724976, -0.5653549432754517, 0.2268839180469513, 0.6494402289390564, 1.0640112161636353, 0.36669406294822693, 0.06623801589012146, 0.32164672017097473, 0.350702166557312, -0.08299767225980759, 0.3736196458339691, 1.315379023551941, 0.6502325534820557, 0.4695362448692322, 0.9059374928474426, -2.208895683288574, 1.3431928157806396, -0.9354906678199768, -0.10772661864757538, 1.3542091846466064, -1.180938959121704, 0.5055027604103088, -1.72307288646698, -0.23116545379161835, 0.47525906562805176, -2.1825904846191406, 0.04563926160335541, -1.0586137771606445, -0.6272839307785034, 1.0264159440994263, 0.2900767922401428, -1.2491378784179688, 0.1314769834280014, -0.49717527627944946, 0.9299315810203552, 0.19941692054271698, 1.1402887105941772, -1.6449991464614868, 0.08609173446893692, -0.2993626296520233, 0.27823406457901, -1.5405237674713135, -1.5722837448120117, 0.6426030993461609, 0.6785448789596558, 0.6990600824356079, 0.03641394525766373, 1.0456796884536743, -1.1625272035598755, 0.5617760419845581, -1.1156009435653687, -1.7485579252243042, -1.3864312171936035, -2.220388412475586, -2.338724136352539, 0.7854253053665161, -0.24928916990756989, -0.4957256317138672, 1.9279959201812744, -1.1963605880737305, -1.4932727813720703, 1.162123441696167, 0.2918766438961029, -0.12822678685188293, 2.5656557083129883, 0.33198997378349304, -1.0024142265319824, 0.49180394411087036, -0.7227389812469482, 0.7631127238273621, -0.07902773469686508, 1.1769465208053589, 0.36155587434768677, -1.0514904260635376, 1.6395677328109741, -0.33440443873405457, 0.5979969501495361, -0.5869320631027222, -0.4438348114490509, -0.6368632912635803, 0.340055912733078, 1.782133936882019, -0.41103896498680115, 1.7622987031936646, -0.29258066415786743, -1.3217600584030151, -1.5472190380096436, 0.7605127096176147, 0.27437153458595276, -0.6465815305709839, 0.21883104741573334, -0.430932879447937, 0.19808350503444672, -0.017762375995516777, 1.1324238777160645, 1.4285731315612793, 0.394048273563385, -0.0627804771065712, -0.9420982003211975, 0.3103836178779602, -0.013732217252254486, -0.5722427368164062, -1.6662644147872925, -0.24394072592258453, 0.12993988394737244, 0.8127251267433167, -1.379050374031067, 1.6650762557983398, 0.8703448176383972, 1.8145638704299927, 1.1657170057296753, -0.10067544877529144, 1.2459359169006348, 0.20587623119354248, 1.7667564153671265, -0.48372459411621094, 0.791037917137146, -0.35153281688690186, -1.059719443321228, 0.8066387176513672, -0.549690306186676, -2.0228350162506104, -0.5953981280326843, -0.5829278826713562, -0.17536938190460205, -1.0856534242630005, 0.9126643538475037, -0.20163384079933167, -1.4463063478469849, 0.42410773038864136, -0.4970996677875519, 0.18572887778282166, -1.3656342029571533, 0.20027057826519012, 0.8752651214599609, -0.5706265568733215, 0.17296813428401947, -0.18691235780715942, -1.3975900411605835, -0.33144259452819824, 0.06929966062307358, 1.8414241075515747, -0.7203734517097473, 0.8849821090698242, 1.1109753847122192, -0.4448949694633484, 0.34632110595703125, 0.521986722946167, -0.3178733289241791, 0.7838322520256042, -1.1540265083312988, -0.1330203413963318, 1.1263244152069092, -0.047941286116838455, -0.4944585859775543, 1.431883454322815, 0.8937515616416931, -1.0258885622024536, -0.21642054617404938, 0.09414483606815338, -0.5415854454040527, -0.054439444094896317, -1.5044814348220825, -0.12632998824119568, 0.38966941833496094, -1.4698467254638672, -0.3897530138492584, -0.17664000391960144, 1.4837403297424316, -0.30143919587135315, 1.3929487466812134, -0.47540831565856934, -0.07135487347841263, -0.42236238718032837, -0.5210439562797546, -0.084164559841156, -0.16857574880123138, -0.6499354243278503, 0.2502785623073578, -0.889270007610321, 0.3045913875102997, 1.4314743280410767, 0.4350767135620117, -0.1484595686197281, 0.45540258288383484, 1.1755032539367676, 0.28018417954444885, -0.24717341363430023, -0.6701314449310303, -1.5996017456054688, 2.063076972961426, -1.5382784605026245, 2.193859338760376, 0.8902406692504883, -0.11290213465690613, -1.6363903284072876, -1.7228108644485474, 1.6567391157150269, 1.1980918645858765, 2.4702277183532715, 0.5993311405181885, 0.38489606976509094, -0.8096153736114502, -0.5198183059692383, 0.5931400656700134, -1.1593561172485352, -0.6211183071136475, 0.2426450103521347, 2.469212055206299, 1.7215337753295898, -0.5123628973960876, -0.10775593668222427, -0.9725746512413025, 1.0056272745132446, -0.09763417392969131, 0.08547360450029373, 1.8342864513397217, -0.5346704125404358, -1.380115032196045, 1.248506784439087, -2.1768789291381836, -0.15059171617031097, 1.9930039644241333, 0.2550926208496094, -0.1876901388168335, -1.1424957513809204, -0.585236668586731, -0.5221886038780212, -0.2315298616886139, -1.3124003410339355, 0.3144618570804596, -0.09743794798851013, -1.0044270753860474, -1.464568853378296, 0.10138221830129623, -1.229243516921997, -1.5028969049453735, 0.5179795026779175, 1.3810831308364868, 2.0934250354766846, -1.0106642246246338, 1.5477349758148193, -0.33698588609695435, 0.12779611349105835, 0.8901166915893555, 1.0235984325408936, 3.211174964904785, 1.796416997909546, -1.2084226608276367, 0.5899708271026611, -0.22116588056087494, -0.428278386592865, 1.0898048877716064, -1.267332911491394, 1.4324976205825806, -0.26008641719818115, -1.1863462924957275, -1.266944169998169, 0.7882232666015625, 0.3178142011165619, -0.09399724006652832, -0.5854092240333557, 1.2113773822784424, 0.29232120513916016, 1.20073401927948, 0.06408412009477615, 0.025051254779100418, 0.7068774104118347, -0.7548086643218994, -0.515823245048523, 1.4226856231689453, 0.04425503686070442, -1.5965204238891602, -1.9747167825698853, -0.11083114147186279, -0.8539684414863586, 0.09205218404531479, -0.851525604724884, -1.0614665746688843, 1.7564243078231812, 0.29960897564888, -1.111250877380371, -0.19052737951278687, -0.523294985294342, -0.5486912727355957, 2.6902668476104736, -1.5686954259872437, -0.25051987171173096, -0.8194838166236877, -0.5310612916946411, 1.5058201551437378, -0.9135999083518982, 0.03539801016449928, -1.0098375082015991, -0.6968998312950134, -1.2490170001983643, -0.5761735439300537, -0.03276792913675308, -0.8254125714302063, 0.8342627882957458, 0.2735975384712219, -1.3280521631240845, -0.11521193385124207, -0.8604419827461243, 0.6674363613128662, -0.32719743251800537, 0.3343929946422577, 1.7409954071044922, 0.5590223670005798, -0.5854426026344299, 0.6933978199958801, 1.2156736850738525, 0.5965376496315002, -0.8696902394294739, 0.06429848074913025, -0.5723531246185303, 0.4507034718990326, -1.1629104614257812, 0.047825075685977936, -2.719226360321045, 0.6765257716178894, 0.045398302376270294, 0.1145118921995163, -0.03338514268398285, -1.1128586530685425, 1.0617619752883911, 2.7556560039520264, -1.1220184564590454, 0.16759605705738068, 0.5083611607551575, 1.4499093294143677, -1.392313003540039, 0.04964973032474518, -0.5742716789245605, 1.993566632270813, 0.34859922528266907, 1.0832749605178833, -0.7556929588317871, -2.166917324066162, 0.6814083456993103, -1.2315455675125122, -1.142759084701538, 1.0234709978103638, -1.0560280084609985, -0.024526162073016167, -1.3180986642837524, -0.12973514199256897, -1.1216636896133423, -1.0820996761322021, 0.6215282678604126, 0.15088240802288055, 0.743047833442688, -0.7944559454917908, 0.23570884764194489, -2.2619965076446533, -1.211715817451477, -0.402301162481308, -1.0569167137145996, 0.5210893154144287, -0.3744966685771942, 0.6819576025009155, -0.39817777276039124, -0.03354910761117935, 0.5470665097236633, 1.2459975481033325, 3.311580181121826, 0.11980678886175156, 0.45166951417922974, -0.36680081486701965, -0.8257280588150024, 1.4964359998703003, 1.0008280277252197, 0.038346584886312485, -0.5671923160552979, -1.1559438705444336, 1.3063751459121704, 1.9539119005203247, 1.002959966659546, -0.05177829787135124, -0.9027230739593506, -0.6165545582771301, 0.07930904626846313, 0.32542747259140015, 0.35955268144607544, 0.9572203755378723, -0.3008430302143097, 0.1409103274345398, 1.5133148431777954, 1.1022062301635742, -0.6606373190879822, 0.16809846460819244, -0.8619866967201233, -0.3845309019088745, 0.7123004794120789, 0.4445769190788269, 0.17563624680042267, 0.31012052297592163, -0.8895614743232727, -0.29470232129096985, -0.17375032603740692, -0.9788532257080078, -0.858224093914032, -0.40081384778022766, -0.20468153059482574, 1.692502498626709, 0.045090239495038986, -0.24670793116092682, 0.0204300619661808, -0.8806277513504028, -0.35532718896865845, -1.019663691520691, 0.5340068936347961, -0.2924462556838989, 0.07399146258831024, -0.3045177459716797, 1.6607797145843506, -0.9350019097328186, -2.1748056411743164, 0.28755074739456177, 0.06038237735629082, -0.3607838749885559, 0.13299353420734406, 1.665572166442871, 0.7955912947654724, 1.455936312675476, 1.1534823179244995, 1.0299365520477295, -0.9207963943481445, -1.1724210977554321, 0.5636577606201172, 1.0341347455978394, -1.282957911491394, 1.118844747543335, -0.1774040013551712, -0.6277607679367065, 0.5846524238586426, 1.3320136070251465, 0.3887145221233368, -1.7459042072296143, 0.4772164821624756, -1.0670745372772217, 0.8519208431243896, 0.5049422979354858, 0.7993695735931396, -0.0034069432877004147, 0.9865521192550659, -0.9637408256530762, -1.1212319135665894, -0.7284775972366333, -0.5284265875816345, 2.01310133934021, -0.03176340460777283, 0.5108610987663269, -0.16575725376605988, -1.2167651653289795, 0.2083747237920761, 0.7576632499694824, 0.3054135739803314, -0.3458881974220276, 0.8515151739120483, -0.6836666464805603, -0.9048144817352295, -1.2858961820602417, -0.5894304513931274, -0.9041343331336975, -1.076564908027649, 0.9935639500617981, 0.45439401268959045, 0.2948322892189026, 1.866610050201416, 0.722983181476593, 0.23940546810626984, -2.377293825149536, 1.0091525316238403, 0.18672311305999756, -0.12622755765914917, 1.1247690916061401, 0.3551117777824402, 0.9303573966026306, -0.02514178678393364, 0.42453745007514954, -2.5354835987091064, 2.2231242656707764, -0.35727301239967346, 0.7803962826728821, 0.005216347053647041, -0.2029413878917694, 0.7715734243392944, 0.6314111948013306, 0.13187849521636963, -0.9037979245185852, 0.7651705741882324, -0.48058605194091797, 1.1603949069976807, 1.160171389579773, -0.9047144651412964, 0.25046080350875854, 0.9161723852157593, 0.14542976021766663, -0.27026113867759705, -0.7385331988334656, -1.0427522659301758, 1.0125038623809814, 1.8463635444641113, -0.11960427463054657, 0.17440387606620789, 0.9030596017837524, 0.666679322719574, -1.1572967767715454, -0.10982020944356918, -0.8629684448242188, -0.8307722210884094, 1.747004508972168, 2.000485897064209, 0.054057274013757706, -0.223527729511261, -0.6749129891395569, -1.1753555536270142, 0.981269121170044, -0.17655253410339355, 0.16216795146465302, 0.9157534837722778, -0.7390795946121216, 1.2931180000305176, 0.833812415599823, 0.7899314761161804, 0.1767602562904358, 0.403515487909317, 0.628183126449585, -0.15419693291187286, -1.2634223699569702, -0.4588399827480316, -1.0889543294906616, -2.461339235305786, 0.21369129419326782, -0.42961522936820984, -1.4635456800460815, -0.04620252922177315, -1.015136480331421, 0.7651012539863586, -0.6527237296104431, -1.0642166137695312, -1.6892704963684082, -0.006576478481292725, -0.10893286764621735, 1.0576260089874268, -1.2434722185134888, -0.2754489481449127, 1.2714340686798096, 0.9462262392044067, -0.24637524783611298, 1.1239441633224487, 0.26145797967910767, 1.1381970643997192, 0.9073351621627808, -0.3463048040866852, 0.544062614440918, 0.16887055337429047, -1.2496862411499023, 0.2948894798755646, 1.446800708770752, 0.30197271704673767, 1.604892611503601, -0.35264644026756287, -0.2311318814754486, 0.39612632989883423, -0.43288907408714294, -0.27356067299842834, -0.680518627166748, 0.8052483797073364, -0.026617009192705154, -0.9214428663253784, -0.1469913274049759, -0.23113442957401276, -0.24787412583827972, 0.1893937736749649, -1.6273149251937866, -0.05871540680527687, -0.5372442603111267, -0.5209226012229919, -1.2720181941986084, -0.008854038082063198, 1.5190482139587402, -0.9062581062316895, -0.052549440413713455, 0.4987978935241699, 0.27624714374542236, 0.5377197861671448, 0.5406566858291626, -0.5728093981742859, -0.5534027814865112, -0.3996603488922119, -0.4807639420032501, 0.2800276577472687, 1.182867407798767, 0.1694977730512619, -1.2320448160171509, 0.7953053116798401, -0.512430727481842, 0.17684446275234222, 2.053215503692627, 0.03374612331390381, -0.7682552337646484, 0.2988106608390808, -0.5584020018577576, 1.9991015195846558, 1.6581271886825562, 1.3561497926712036, -0.16220399737358093, -0.8886910676956177, 0.797960102558136, -0.32297179102897644, -0.5454235076904297, 0.9945599436759949, 0.29943838715553284, -0.21793457865715027, -1.4796360731124878, 0.6745404005050659, 1.3760021924972534, -0.8229222893714905, -0.6887140274047852, 0.0580400712788105, -0.8852441310882568, 1.0495867729187012, 0.6855947971343994, 0.10329030454158783, 0.3933413624763489, 1.7176296710968018, 0.5426163077354431, -0.4555610418319702, 0.3063322901725769, 0.514661431312561, -0.0350106805562973, -2.202676773071289, -0.9470221400260925, 0.13460153341293335, -0.18466511368751526, -1.33095121383667, 1.3304049968719482, -1.3187649250030518, -1.0464974641799927, 0.3587685823440552, 0.03868253529071808, 1.175214409828186, 0.0795568972826004, 1.6218141317367554, 2.2595646381378174, 0.6679522395133972, 0.2846852242946625, 1.1883093118667603, -0.32174110412597656, -0.5294763445854187, 1.8044825792312622, -0.516288697719574, 0.4442746043205261, 1.1471211910247803, -0.08980606496334076, -0.9476169943809509, -0.8854333162307739, -1.331904411315918, -0.9271541833877563, 1.1886944770812988, -0.018195344135165215, -1.4767286777496338, 0.3120934069156647, 1.477171778678894, 0.29998356103897095, -0.46750229597091675, 0.5269461870193481, 0.5676221251487732, -0.7277422547340393, -0.1619095355272293, -0.9282616376876831, 0.7269532680511475, -0.36443856358528137, -0.2110055685043335, 0.1609257310628891, 0.7364176511764526, 1.2820687294006348, -0.19335247576236725, -0.041582491248846054, 1.355861783027649, -1.3554562330245972, 1.5754822492599487, -0.6213904619216919, 0.17853376269340515, -2.3189005851745605, 1.3667163848876953, -0.80683434009552, 1.6719869375228882, -2.762319803237915, 0.7433696389198303, -0.3224938213825226, -0.32689401507377625, 0.3751736879348755, -0.1768171787261963, 0.33186182379722595, -0.05698651075363159, -0.9669238328933716, -0.2928520739078522, -0.5648748278617859, 0.6555285453796387, 1.2690285444259644, 1.1406811475753784, -1.049646019935608, -0.3745584785938263, -1.5868948698043823, -0.28828611969947815, -0.7139710783958435, -0.042362067848443985, -2.0275049209594727, -0.24498295783996582, -2.2076826095581055, -2.4870071411132812, -1.5550085306167603, -0.872096061706543, 1.1336497068405151, 0.24366147816181183, -1.0615878105163574, 1.4033430814743042, -0.42165425419807434, -1.7789627313613892, 1.1918141841888428, -2.2305474281311035 ]
https://github.com/huggingface/datasets/issues/4320
Multi-news dataset loader attempts to strip wrong character from beginning of summaries
Hi ! Thanks for reporting :) This dataset was simply converted from [tensorflow datasets](https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/summarization/multi_news.py) I think we can just remove the `.strip("- ")` and keep this character
## Describe the bug The `multi_news.py` data loader has [a line which attempts to strip `"- "` from the beginning of summaries](https://github.com/huggingface/datasets/blob/aa743886221d76afb409d263e1b136e7a71fe2b4/datasets/multi_news/multi_news.py#L97). The actual character in the multi-news dataset, however, is `"– "`, which is different, e.g. `"– " != "- "`. I would have just opened a PR to fix the mistake, but I am wondering what the motivation for stripping this character is? AFAICT most approaches just leave it in, e.g. the current SOTA on this dataset, [PRIMERA](https://huggingface.co/allenai/PRIMERA-multinews) (you can see its in the generated summaries of the model in their [example notebook](https://github.com/allenai/PRIMER/blob/main/Evaluation_Example.ipynb)). ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.2.0 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 - Pandas version: 1.3.5
767
27
Multi-news dataset loader attempts to strip wrong character from beginning of summaries ## Describe the bug The `multi_news.py` data loader has [a line which attempts to strip `"- "` from the beginning of summaries](https://github.com/huggingface/datasets/blob/aa743886221d76afb409d263e1b136e7a71fe2b4/datasets/multi_news/multi_news.py#L97). The actual character in the multi-news dataset, however, is `"– "`, which is different, e.g. `"– " != "- "`. I would have just opened a PR to fix the mistake, but I am wondering what the motivation for stripping this character is? AFAICT most approaches just leave it in, e.g. the current SOTA on this dataset, [PRIMERA](https://huggingface.co/allenai/PRIMERA-multinews) (you can see its in the generated summaries of the model in their [example notebook](https://github.com/allenai/PRIMER/blob/main/Evaluation_Example.ipynb)). ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.2.0 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 - Pandas version: 1.3.5 Hi ! Thanks for reporting :) This dataset was simply converted from [tensorflow datasets](https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/summarization/multi_news.py) I think we can just remove the `.strip("- ")` and keep this character
[ -1.203878402709961, -0.8592821955680847, -0.7119171023368835, 1.4162696599960327, -0.11170239001512527, -1.33296799659729, 0.1161591187119484, -1.0097342729568481, 1.644713282585144, -0.7169384956359863, 0.22928708791732788, -1.6407580375671387, 0.011146500706672668, -0.4852910339832306, -0.7399172186851501, -0.8314548134803772, -0.3542686104774475, -0.7714124321937561, 0.9884060621261597, 2.500643014907837, 1.236729621887207, -1.3735371828079224, 2.7092690467834473, 0.6314456462860107, -0.2575626075267792, -0.9548446536064148, 0.5223934054374695, 0.03254225477576256, -1.3727611303329468, -0.3517318665981293, -0.9579203724861145, -0.01934007555246353, -0.546845555305481, -0.5387033224105835, 0.048118267208337784, 0.39633768796920776, -0.2516860365867615, -0.3748070001602173, -0.5383688807487488, -0.7559516429901123, 0.48143497109413147, -0.3189058303833008, 0.916499137878418, -0.31890973448753357, 1.7499502897262573, -0.5871165990829468, 0.4276444613933563, 0.748672366142273, 1.2917510271072388, 0.1999557614326477, -0.01662268117070198, 0.3086026608943939, 0.36708465218544006, 0.02711683139204979, 0.49958792328834534, 1.2328928709030151, 0.6462456583976746, 0.46820104122161865, 0.7246859073638916, -2.2146661281585693, 1.3074525594711304, -0.905948281288147, 0.22790741920471191, 1.358254075050354, -0.9717074632644653, 0.37804171442985535, -1.8563008308410645, -0.1160767525434494, 0.49072596430778503, -2.305053472518921, 0.17373988032341003, -1.3258497714996338, -0.5589818358421326, 0.9622985124588013, 0.27508774399757385, -1.2013572454452515, 0.11843503266572952, -0.45382922887802124, 0.9773924350738525, 0.521460771560669, 1.2129827737808228, -1.6681597232818604, -0.04822024330496788, -0.2174941599369049, 0.1922156810760498, -1.1854766607284546, -1.606371521949768, 0.5742998123168945, 0.6751016974449158, 0.6168071627616882, -0.14477074146270752, 0.9137969017028809, -0.9921073913574219, 0.8662464022636414, -0.8812088966369629, -1.7583394050598145, -1.4104713201522827, -2.2879111766815186, -2.307225465774536, 0.7810041904449463, -0.4782716631889343, -0.41167521476745605, 2.0231754779815674, -1.060181736946106, -1.7755905389785767, 1.0605723857879639, 0.2960546016693115, 0.013155510649085045, 2.342820167541504, 0.26752030849456787, -0.7572270631790161, 0.5347721576690674, -0.7297722101211548, 0.7179237008094788, -0.3581136167049408, 1.288577914237976, 0.5105628967285156, -1.0107179880142212, 1.6282386779785156, -0.38611334562301636, 0.5451493859291077, -0.7065128087997437, -0.47083818912506104, -0.6879349946975708, 0.28252139687538147, 1.885585904121399, -0.3425857424736023, 1.5574294328689575, -0.28867051005363464, -1.5391300916671753, -1.5002636909484863, 0.8037779331207275, 0.5488479137420654, -0.7292529940605164, 0.06484068185091019, -0.42629799246788025, 0.09218905121088028, 0.07848145812749863, 1.105360507965088, 1.2745739221572876, 0.7701789140701294, -0.29575538635253906, -0.9299546480178833, 0.18859535455703735, -0.04964639991521835, -0.6564660668373108, -1.7903532981872559, -0.31542667746543884, 0.1921904981136322, 0.6510081887245178, -1.2327762842178345, 1.8297847509384155, 0.7985045313835144, 1.9543390274047852, 0.95758056640625, -0.3677824139595032, 1.5640960931777954, 0.061340369284152985, 1.8522872924804688, -0.37868934869766235, 0.6339973211288452, -0.3752673268318176, -1.2184619903564453, 0.7654240727424622, -0.33403998613357544, -1.968225121498108, -0.6621862053871155, -0.8954328894615173, -0.1697556972503662, -0.7786704897880554, 0.9148982763290405, -0.2542197108268738, -1.374108076095581, 0.1927284300327301, -0.6445229649543762, 0.09081537276506424, -1.3124732971191406, 0.25167596340179443, 0.7316152453422546, -0.6885997653007507, 0.031454406678676605, -0.30218255519866943, -1.3423269987106323, -0.567434549331665, 0.29881393909454346, 1.8616089820861816, -0.6465438604354858, 0.9837034940719604, 1.0285670757293701, -0.6849347352981567, 0.03864370286464691, 0.3299514353275299, -0.3575872480869293, 0.8599939942359924, -1.059022307395935, -0.3999139368534088, 1.1266822814941406, -0.17860513925552368, -0.6050671339035034, 1.4542096853256226, 0.7533111572265625, -0.9412570595741272, -0.28624606132507324, -0.14957177639007568, -0.8123073577880859, -0.010808281600475311, -1.5729985237121582, -0.14608806371688843, 0.29433009028434753, -1.5255000591278076, -0.42456960678100586, -0.20781612396240234, 1.339409351348877, -0.14446347951889038, 1.4385429620742798, -0.27436038851737976, -0.1960032880306244, -0.49083998799324036, -0.4498058259487152, 0.07629218697547913, -0.22529563307762146, -0.7415552139282227, 0.2932552397251129, -0.8484141230583191, 0.31034332513809204, 1.521540641784668, 0.3473539352416992, 0.02929992601275444, 0.5598458647727966, 1.1214172840118408, 0.3750112056732178, -0.08659110963344574, -0.8517177104949951, -1.6207410097122192, 2.0029454231262207, -1.4805830717086792, 1.9572070837020874, 0.7925036549568176, -0.0733228474855423, -1.81657075881958, -1.9618861675262451, 1.3653886318206787, 1.0890852212905884, 2.3960371017456055, 0.5284590125083923, 0.4187054932117462, -0.7615410089492798, -0.6238145232200623, 0.3365577757358551, -0.9590138792991638, -0.7453005313873291, 0.15205052495002747, 2.3803253173828125, 1.7184821367263794, -0.4746946394443512, -0.25322529673576355, -1.0114413499832153, 1.314224123954773, -0.1711972951889038, 0.17856547236442566, 2.0033318996429443, -0.30349433422088623, -1.0441755056381226, 1.308213233947754, -2.3256821632385254, 0.23037102818489075, 2.058184862136841, 0.26521196961402893, 0.02450999990105629, -1.383699655532837, -0.6492851376533508, -0.24871167540550232, -0.47772490978240967, -1.211916208267212, 0.5459741950035095, -0.23982107639312744, -0.9177066087722778, -1.473314642906189, 0.054247088730335236, -1.1710214614868164, -1.7347667217254639, 0.3254842162132263, 1.850258708000183, 2.031036138534546, -0.7998977303504944, 1.4046950340270996, -0.28532731533050537, 0.12556192278862, 1.2268582582473755, 1.2493849992752075, 3.1787753105163574, 1.8754948377609253, -1.269466519355774, 0.7637560963630676, -0.14544928073883057, -0.437267005443573, 1.1655012369155884, -1.1050313711166382, 1.1908681392669678, -0.27047133445739746, -1.3013957738876343, -1.197076678276062, 0.9966790080070496, 0.48456090688705444, -0.0035506784915924072, -0.5164911150932312, 1.1607944965362549, 0.12849053740501404, 1.319603443145752, 0.5916905403137207, -0.32348257303237915, 0.6130504012107849, -0.3367909789085388, -0.5177380442619324, 1.5801565647125244, 0.12987813353538513, -1.488694190979004, -2.375019073486328, -0.2314058542251587, -0.8870212435722351, -0.04163254424929619, -0.6975648999214172, -0.982833743095398, 1.6681410074234009, 0.4543900191783905, -1.2026249170303345, -0.2460956573486328, -0.3875143826007843, -0.5819570422172546, 2.6574745178222656, -1.4101452827453613, -0.2239542305469513, -0.9770841002464294, -0.5289666056632996, 1.598953366279602, -1.1769698858261108, -0.19051235914230347, -1.0101567506790161, -0.5614279508590698, -1.3546782732009888, -0.5837082266807556, 0.05061078444123268, -0.8803101778030396, 0.7297671437263489, 0.05135103687644005, -1.0938657522201538, -0.3446531593799591, -0.9284197092056274, 0.9435042142868042, -0.12723621726036072, 0.09765395522117615, 1.901211142539978, 0.379129022359848, -0.4003281593322754, 0.6993573904037476, 1.2044403553009033, 0.6015695333480835, -0.6170447468757629, 0.18411484360694885, -0.6902543306350708, 0.35237643122673035, -1.3988882303237915, 0.28043100237846375, -2.869807243347168, 0.641432523727417, -0.049247872084379196, -0.023567557334899902, -0.013233506120741367, -1.3300082683563232, 1.1064430475234985, 2.5459303855895996, -1.1776283979415894, 0.4682862162590027, 0.3301873803138733, 1.1231625080108643, -1.5580705404281616, 0.24015212059020996, -0.5147277116775513, 2.0959813594818115, 0.1352902352809906, 1.1938793659210205, -0.5408318638801575, -2.2060577869415283, 0.6040031313896179, -1.1480199098587036, -1.0969107151031494, 0.796170711517334, -0.8557748794555664, 0.21180006861686707, -1.3458925485610962, -0.16969051957130432, -0.8646673560142517, -1.18622624874115, 0.7126734256744385, 0.04491333290934563, 0.5167739391326904, -0.644655704498291, 0.3689328730106354, -2.1300084590911865, -1.3410203456878662, -0.19643834233283997, -0.9787869453430176, 0.53521728515625, -0.3107233941555023, 0.6924222707748413, -0.13554158806800842, 0.035393860191106796, 0.22128409147262573, 1.3761348724365234, 3.3481788635253906, 0.15702500939369202, 0.2851456105709076, -0.14523455500602722, -1.0137662887573242, 1.4757193326950073, 0.9662272930145264, -0.165903240442276, -0.5459650754928589, -0.9750774502754211, 1.2999871969223022, 1.9358546733856201, 1.0642755031585693, 0.10252661257982254, -0.8566651344299316, -0.7937064170837402, 0.044809114187955856, 0.19606530666351318, 0.49893948435783386, 0.9669171571731567, 0.06432697176933289, 0.14935821294784546, 1.4220460653305054, 1.224272608757019, -0.36978358030319214, 0.4451272785663605, -0.9244580268859863, -0.4842444658279419, 0.5105521082878113, 0.3421718180179596, 0.029538843780755997, 0.4330389201641083, -1.1256886720657349, -0.2847791314125061, -0.29842498898506165, -0.9309914708137512, -0.7112653255462646, -0.3804994523525238, -0.3340640962123871, 1.6529569625854492, 0.004316044971346855, -0.4727519452571869, 0.03299271687865257, -0.786332905292511, -0.08122256398200989, -1.029215931892395, 0.2821836471557617, -0.18924462795257568, 0.0014792848378419876, -0.12516522407531738, 1.7169078588485718, -0.8876194357872009, -2.0841498374938965, 0.24484393000602722, 0.22408714890480042, -0.41774100065231323, 0.1109057292342186, 1.7128607034683228, 0.5509511232376099, 1.412508249282837, 1.3876467943191528, 0.9756624102592468, -0.6003279685974121, -1.2946889400482178, 0.7081996202468872, 0.978105902671814, -1.3812901973724365, 0.840019941329956, -0.12561176717281342, -0.5648587346076965, 0.6415088772773743, 1.319504976272583, 0.40396302938461304, -2.0219204425811768, 0.8546888828277588, -0.8600176572799683, 0.7569396495819092, 0.7475532293319702, 0.8633064031600952, 0.1852046251296997, 0.8190791606903076, -1.2889125347137451, -1.0868968963623047, -0.6897189021110535, -0.6566296219825745, 1.8909603357315063, -0.2330431342124939, 0.5208446383476257, -0.2551310360431671, -1.2683638334274292, -0.10740728676319122, 0.6604799628257751, 0.34361696243286133, -0.4356650114059448, 0.8517434597015381, -0.648348867893219, -1.097961187362671, -1.319442629814148, -0.47894665598869324, -0.9606011509895325, -0.8793666958808899, 1.0089893341064453, 0.8349049687385559, 0.43142709136009216, 1.9634015560150146, 0.6090813875198364, 0.21986162662506104, -2.712534189224243, 0.8801240921020508, 0.34615078568458557, -0.03528537601232529, 0.8956803679466248, 0.21757197380065918, 1.1167770624160767, -0.021889008581638336, 0.5702687501907349, -2.347914457321167, 2.2494359016418457, -0.21992221474647522, 0.793476402759552, 0.04887885972857475, -0.13968989253044128, 1.0427803993225098, 0.5767973065376282, 0.6071842312812805, -1.175298810005188, 0.7448862791061401, -0.6863799691200256, 1.2316703796386719, 0.9050406217575073, -0.8752562999725342, 0.030328843742609024, 1.3345773220062256, 0.5359032154083252, -0.4556524455547333, -0.9295660257339478, -0.9108461141586304, 0.9228430986404419, 1.7766484022140503, -0.004391400143504143, 0.11133409291505814, 0.8579347133636475, 0.7081804275512695, -1.3440498113632202, -0.0028600343503057957, -0.7244958281517029, -0.7238403558731079, 1.7156250476837158, 2.0284194946289062, -0.06949344277381897, -0.21258032321929932, -0.7086648941040039, -1.295013666152954, 0.771674394607544, 0.0129830501973629, 0.15329822897911072, 0.7216107249259949, -0.6704729199409485, 1.1798219680786133, 0.7559114098548889, 0.9697483777999878, 0.14265942573547363, 0.28831028938293457, 0.2845803201198578, -0.2628723084926605, -1.2259700298309326, -0.29299458861351013, -1.0468006134033203, -2.540250062942505, 0.4297161102294922, -0.2806425988674164, -1.4595662355422974, 0.07185819745063782, -1.034379482269287, 0.8413301706314087, -0.6540778875350952, -1.1407629251480103, -1.4277201890945435, 0.2534247636795044, -0.17138507962226868, 0.899479329586029, -1.6436355113983154, -0.15609756112098694, 1.2562949657440186, 1.004751443862915, -0.6115505695343018, 0.9409828782081604, 0.30247166752815247, 0.9994029402732849, 0.8715329170227051, -0.3836197257041931, 0.4393056333065033, 0.1627984344959259, -1.3307726383209229, 0.4001708924770355, 1.2634658813476562, 0.23460087180137634, 1.4272019863128662, -0.5799759030342102, 0.03008383885025978, 0.455808162689209, -0.45826348662376404, -0.47269579768180847, -0.6317176818847656, 0.6940836310386658, -0.057943034917116165, -0.9763059616088867, -0.02433304861187935, -0.0902753621339798, -0.19865265488624573, 0.26392170786857605, -1.4918698072433472, -0.1908394992351532, -0.3261006474494934, -0.5627145767211914, -1.2986156940460205, 0.003084247000515461, 1.298816204071045, -0.8917174935340881, -0.14175191521644592, 0.47195303440093994, 0.309426873922348, 0.5359513759613037, 0.6471982598304749, -0.6956226825714111, -0.3617223799228668, -0.268923819065094, -0.4231012463569641, 0.28609904646873474, 1.267346739768982, -0.13213899731636047, -1.0167346000671387, 0.6364126801490784, -0.36400628089904785, 0.1315995156764984, 1.9994254112243652, 0.027824919670820236, -0.7522833347320557, 0.29645639657974243, -0.6959772109985352, 1.865989327430725, 1.6496918201446533, 1.3771542310714722, -0.11831016838550568, -0.9182174205780029, 0.6194880604743958, -0.3090190291404724, -0.35382264852523804, 0.9376434683799744, 0.44486182928085327, -0.181819349527359, -1.3808846473693848, 0.5768313407897949, 1.2928470373153687, -0.9025030732154846, -0.7027965188026428, 0.03651785850524902, -0.8276593089103699, 1.1676243543624878, 0.6611539125442505, 0.31450656056404114, 0.278554767370224, 1.6367170810699463, 0.7443230152130127, -0.4627595841884613, 0.5490294098854065, 0.5581483244895935, -0.13106337189674377, -2.0554635524749756, -1.0402231216430664, 0.2769990861415863, -0.38870030641555786, -1.5738333463668823, 1.3530168533325195, -1.1947025060653687, -0.9571973085403442, 0.4817141592502594, 0.11055329442024231, 1.4123185873031616, 0.29908522963523865, 1.707372784614563, 2.082357168197632, 0.9073159694671631, 0.32869231700897217, 1.23725163936615, -0.09401503205299377, -0.3584563136100769, 1.767887830734253, -0.5023505091667175, 0.6057687997817993, 1.0617858171463013, -0.4166257977485657, -1.0890734195709229, -0.8546035289764404, -1.1932154893875122, -0.69895339012146, 1.2025142908096313, 0.09532346576452255, -1.1196997165679932, 0.25721386075019836, 1.6210401058197021, 0.055733680725097656, -0.24348843097686768, 0.6858651041984558, 0.3996773660182953, -0.6974645256996155, -0.12467300891876221, -0.9146019220352173, 0.5244600176811218, -0.13670766353607178, -0.40747201442718506, 0.26032117009162903, 0.49783870577812195, 1.270975947380066, 0.04419821500778198, 0.06585754454135895, 1.2763131856918335, -1.3818976879119873, 1.4685544967651367, -0.720949113368988, 0.2871134281158447, -2.385798692703247, 1.4683787822723389, -0.8699547052383423, 1.919628620147705, -2.6040866374969482, 0.4309801459312439, -0.5195986032485962, -0.46313759684562683, 0.2525729537010193, -0.3762543797492981, 0.14604315161705017, -0.15059936046600342, -1.005071997642517, -0.1521787941455841, -0.7957227230072021, 0.5807397961616516, 1.1626819372177124, 1.3487764596939087, -1.087406039237976, -0.28358522057533264, -1.7673777341842651, -0.2179083228111267, -0.6336124539375305, 0.3130546510219574, -1.9383732080459595, -0.1845175325870514, -2.007319450378418, -2.416598081588745, -1.3594123125076294, -0.9161348342895508, 1.1056731939315796, 0.11574948579072952, -0.9315939545631409, 1.0902374982833862, -0.3863767385482788, -1.822192668914795, 1.1810519695281982, -2.251207113265991 ]
https://github.com/huggingface/datasets/issues/4304
Language code search does direct matches
Thanks for reporting ! I forwarded the issue to the front-end team :) Will keep you posted ! I also changed the tagging app to suggest two letters code for now.
## Describe the bug Hi. Searching for bcp47 tags that are just the language prefix (e.g. `sq` or `da`) excludes datasets that have added extra information in their language metadata (e.g. `sq-AL` or `da-bornholm`). The example codes given in the [tagging app](https://huggingface.co/spaces/huggingface/datasets-tagging) encourages addition of the additional codes ("_expected format is BCP47 tags separated for ';' e.g. 'en-US;fr-FR'_") but this would lead to those datasets being hidden in datasets search. ## Steps to reproduce the bug 1. Add a dataset using a variant tag (e.g. [`sq-AL`](https://huggingface.co/datasets?languages=languages:sq-AL)) 2. Look for datasets using the full code 3. Note that they're missing when just the language is searched for (e.g. [`sq`](https://huggingface.co/datasets?languages=languages:sq)) Some datasets are already affected by this - e.g. `AmazonScience/massive` is listed under `sq-AL` but not `sq`. One workaround is for dataset creators to add an additional root language tag to dataset YAML metadata, but it's unclear how to communicate this. It might be possible to index the search on `languagecode.split('-')[0]` but I wanted to float this issue before trying to write any code :) ## Expected results Datasets using longer bcp47 tags also appear under searches for just the language code; e.g. Quebecois datasets (`fr-CA`) would come up when looking for French datasets with no region specification (`fr`), or US English (`en-US`) datasets would come up when searching for English datasets (`en`). ## Actual results The language codes seem to be directly string matched, excluding datasets with specific language tags from non-specific searches. ## Environment info (web app)
769
31
Language code search does direct matches ## Describe the bug Hi. Searching for bcp47 tags that are just the language prefix (e.g. `sq` or `da`) excludes datasets that have added extra information in their language metadata (e.g. `sq-AL` or `da-bornholm`). The example codes given in the [tagging app](https://huggingface.co/spaces/huggingface/datasets-tagging) encourages addition of the additional codes ("_expected format is BCP47 tags separated for ';' e.g. 'en-US;fr-FR'_") but this would lead to those datasets being hidden in datasets search. ## Steps to reproduce the bug 1. Add a dataset using a variant tag (e.g. [`sq-AL`](https://huggingface.co/datasets?languages=languages:sq-AL)) 2. Look for datasets using the full code 3. Note that they're missing when just the language is searched for (e.g. [`sq`](https://huggingface.co/datasets?languages=languages:sq)) Some datasets are already affected by this - e.g. `AmazonScience/massive` is listed under `sq-AL` but not `sq`. One workaround is for dataset creators to add an additional root language tag to dataset YAML metadata, but it's unclear how to communicate this. It might be possible to index the search on `languagecode.split('-')[0]` but I wanted to float this issue before trying to write any code :) ## Expected results Datasets using longer bcp47 tags also appear under searches for just the language code; e.g. Quebecois datasets (`fr-CA`) would come up when looking for French datasets with no region specification (`fr`), or US English (`en-US`) datasets would come up when searching for English datasets (`en`). ## Actual results The language codes seem to be directly string matched, excluding datasets with specific language tags from non-specific searches. ## Environment info (web app) Thanks for reporting ! I forwarded the issue to the front-end team :) Will keep you posted ! I also changed the tagging app to suggest two letters code for now.
[ -1.2237962484359741, -0.9539482593536377, -0.7722439169883728, 1.4476712942123413, -0.1271653026342392, -1.3322561979293823, 0.05922088772058487, -1.0666682720184326, 1.7435643672943115, -0.7606286406517029, 0.2691459655761719, -1.7211592197418213, 0.032376594841480255, -0.5677714347839355, -0.8132888078689575, -0.8730857372283936, -0.39096125960350037, -0.7980473637580872, 1.0152177810668945, 2.5292537212371826, 1.1173322200775146, -1.3434735536575317, 2.699106216430664, 0.6923497915267944, -0.16224434971809387, -0.9969663023948669, 0.552331805229187, -0.05238299071788788, -1.3140747547149658, -0.3851031959056854, -0.9817648530006409, -0.1352950781583786, -0.616821825504303, -0.6481314301490784, 0.10536738485097885, 0.4295632243156433, -0.27372580766677856, -0.5539581179618835, -0.5598518252372742, -0.7752730250358582, 0.4291471540927887, -0.38886210322380066, 0.9889816045761108, -0.36619338393211365, 1.7891393899917603, -0.5655273199081421, 0.42552900314331055, 0.5848860740661621, 1.401732087135315, 0.2045862376689911, -0.029461219906806946, 0.3651781678199768, 0.3574853241443634, 0.08060548454523087, 0.5249479413032532, 1.194654941558838, 0.7112779021263123, 0.4535834491252899, 0.7348777055740356, -2.2836403846740723, 1.271850347518921, -1.0406739711761475, 0.331376314163208, 1.319909930229187, -0.9707351922988892, 0.3908504247665405, -1.8218846321105957, -0.07322598248720169, 0.5584198832511902, -2.220832347869873, 0.15581807494163513, -1.255152940750122, -0.4456985890865326, 1.0549237728118896, 0.32425424456596375, -1.2946271896362305, 0.18694889545440674, -0.4639646112918854, 1.0071440935134888, 0.4551323354244232, 1.2061940431594849, -1.672835111618042, 0.0484980046749115, -0.31186866760253906, 0.19039341807365417, -1.214922308921814, -1.4942220449447632, 0.6396369934082031, 0.7233953475952148, 0.5999687910079956, -0.12601953744888306, 0.9407244920730591, -0.9813734292984009, 0.7864357829093933, -0.9261662364006042, -1.8514927625656128, -1.4527003765106201, -2.22056245803833, -2.3445727825164795, 0.7801722288131714, -0.4606143832206726, -0.4842214584350586, 2.044158697128296, -1.0461751222610474, -1.8807976245880127, 1.0677521228790283, 0.2885746657848358, -0.049411796033382416, 2.3009731769561768, 0.20410460233688354, -0.7261869311332703, 0.45081090927124023, -0.6748353838920593, 0.7417204976081848, -0.34771114587783813, 1.415988802909851, 0.4421752989292145, -1.0174254179000854, 1.6223039627075195, -0.4293197691440582, 0.5957923531532288, -0.7222188711166382, -0.412917822599411, -0.7105987668037415, 0.36910244822502136, 1.996177315711975, -0.37595364451408386, 1.59600830078125, -0.3983868658542633, -1.6118875741958618, -1.545379638671875, 0.8334758281707764, 0.5732069611549377, -0.776674747467041, 0.14469578862190247, -0.3885481357574463, 0.08574586361646652, 0.03646840900182724, 1.1433165073394775, 1.2328120470046997, 0.7528695464134216, -0.27163657546043396, -0.852131724357605, 0.21417315304279327, 0.07485465705394745, -0.7183243632316589, -1.7673722505569458, -0.4260932207107544, 0.18013601005077362, 0.6296265721321106, -1.2191334962844849, 1.706821084022522, 0.8739185929298401, 1.8641951084136963, 1.124359369277954, -0.3515636920928955, 1.5494135618209839, 0.12108584493398666, 1.8692872524261475, -0.41771548986434937, 0.67037433385849, -0.42236387729644775, -1.1743825674057007, 0.809830367565155, -0.33763062953948975, -2.1008827686309814, -0.6822508573532104, -0.8898547291755676, -0.11397471278905869, -0.7783960700035095, 0.9170351028442383, -0.2536011040210724, -1.3501054048538208, 0.2162981629371643, -0.7257110476493835, 0.08993788808584213, -1.2514110803604126, 0.27090272307395935, 0.738223671913147, -0.6916298270225525, 0.08977170288562775, -0.3514798581600189, -1.3819371461868286, -0.417190283536911, 0.2493673712015152, 1.8399271965026855, -0.8986262083053589, 0.9053999185562134, 0.994265079498291, -0.7312250137329102, -0.02212798409163952, 0.3689851462841034, -0.31630823016166687, 0.8667147159576416, -1.0381566286087036, -0.39698532223701477, 1.1484177112579346, -0.11762633919715881, -0.6117410063743591, 1.417850375175476, 0.6397170424461365, -0.9792839288711548, -0.24346324801445007, -0.10009786486625671, -0.8426445722579956, 0.03150247782468796, -1.676735758781433, -0.18880385160446167, 0.3249461352825165, -1.476957082748413, -0.5509557723999023, -0.22719067335128784, 1.2143954038619995, -0.08885859698057175, 1.3938502073287964, -0.3469310700893402, -0.16075646877288818, -0.48174598813056946, -0.42813560366630554, 0.13972292840480804, -0.21131499111652374, -0.6715821027755737, 0.29145118594169617, -0.7198973298072815, 0.39791175723075867, 1.398227572441101, 0.36860552430152893, 0.06415905058383942, 0.6064548492431641, 1.0877639055252075, 0.32098034024238586, -0.061370283365249634, -0.8717661499977112, -1.683821439743042, 2.060248613357544, -1.5231647491455078, 1.9629851579666138, 0.6221983432769775, 0.032694973051548004, -1.8012642860412598, -1.8709450960159302, 1.3661969900131226, 1.108119010925293, 2.3798012733459473, 0.615141749382019, 0.40940138697624207, -0.784799337387085, -0.5409867167472839, 0.3392389118671417, -0.9304066300392151, -0.7911189794540405, 0.16124482452869415, 2.339320182800293, 1.8039178848266602, -0.4767158031463623, -0.24854616820812225, -1.0159494876861572, 1.3804185390472412, -0.2521536350250244, 0.2685435712337494, 1.9237102270126343, -0.3357323110103607, -1.0248610973358154, 1.3304448127746582, -2.323211431503296, 0.2265535295009613, 1.9211342334747314, 0.2821696102619171, 0.08399787545204163, -1.4343873262405396, -0.6275785565376282, -0.21945028007030487, -0.4189296066761017, -1.253853440284729, 0.5115522742271423, -0.2544821798801422, -0.8013016581535339, -1.4035178422927856, 0.19860488176345825, -1.1671942472457886, -1.6260377168655396, 0.21393275260925293, 1.8742616176605225, 1.9350109100341797, -0.6901155114173889, 1.5314112901687622, -0.36652690172195435, 0.27160757780075073, 1.286645770072937, 1.1672296524047852, 3.1534416675567627, 1.9713696241378784, -1.2750976085662842, 0.6985562443733215, -0.1280587911605835, -0.44261813163757324, 1.2093498706817627, -1.050719141960144, 1.244718313217163, -0.22393620014190674, -1.2440468072891235, -1.1802810430526733, 0.9702500700950623, 0.4940505027770996, 0.034016624093055725, -0.5233637094497681, 1.2340424060821533, -0.005002785474061966, 1.2654520273208618, 0.5236733555793762, -0.42737069725990295, 0.6624265909194946, -0.3003443479537964, -0.4849841892719269, 1.4999463558197021, 0.16922889649868011, -1.3325107097625732, -2.2254891395568848, -0.1471477746963501, -0.7845106720924377, -0.026839604601264, -0.6518075466156006, -0.915449321269989, 1.6578733921051025, 0.4455459713935852, -1.2506933212280273, -0.20010292530059814, -0.35164526104927063, -0.6330636739730835, 2.6423730850219727, -1.4434818029403687, -0.2153477519750595, -1.0143475532531738, -0.5521551370620728, 1.5844109058380127, -1.1232719421386719, -0.19587062299251556, -1.0223979949951172, -0.5481860637664795, -1.2756623029708862, -0.6792376637458801, -0.031264156103134155, -0.872276246547699, 0.8229345083236694, 0.10270015150308609, -1.1690629720687866, -0.2895393967628479, -0.8883854150772095, 0.9345570802688599, -0.14426246285438538, 0.19480852782726288, 2.0446908473968506, 0.3909573256969452, -0.4384441673755646, 0.7545549869537354, 1.0946974754333496, 0.6114202737808228, -0.6103993058204651, 0.3197301924228668, -0.6722925305366516, 0.2944445013999939, -1.415335774421692, 0.25190770626068115, -2.8354885578155518, 0.6705673933029175, -0.05248044431209564, 0.010925374925136566, 0.028006041422486305, -1.300205945968628, 0.952154278755188, 2.6202585697174072, -1.2219266891479492, 0.46015164256095886, 0.28317147493362427, 1.1797024011611938, -1.5609462261199951, 0.2635625898838043, -0.40036046504974365, 2.1384029388427734, 0.16724811494350433, 1.1895067691802979, -0.45236676931381226, -2.216374158859253, 0.6068730354309082, -1.31027352809906, -1.18116295337677, 0.7683510184288025, -0.8392878770828247, 0.05876985192298889, -1.3797192573547363, -0.16729000210762024, -0.8374109864234924, -1.169094443321228, 0.7649607062339783, 0.11565200239419937, 0.43117907643318176, -0.6452634334564209, 0.36578336358070374, -2.1531119346618652, -1.2950644493103027, -0.2173171192407608, -0.9425802230834961, 0.4310814142227173, -0.2674645781517029, 0.6689722537994385, -0.1301470398902893, -0.0018286323174834251, 0.325472891330719, 1.4213787317276, 3.4008800983428955, 0.14702028036117554, 0.33618226647377014, -0.26806387305259705, -0.9658138751983643, 1.411623239517212, 0.933213472366333, -0.2838805317878723, -0.5816373825073242, -1.0157711505889893, 1.2852628231048584, 1.8651422262191772, 1.0734895467758179, 0.07963265478610992, -0.8891189694404602, -0.8074808716773987, -0.0015428345650434494, 0.14592885971069336, 0.47069960832595825, 0.9049276113510132, 0.08165522664785385, 0.21098016202449799, 1.428377389907837, 1.1495656967163086, -0.37648674845695496, 0.40051430463790894, -0.8570124506950378, -0.4760020673274994, 0.5252377986907959, 0.3795261085033417, -0.03936951607465744, 0.32299095392227173, -1.0555002689361572, -0.16606377065181732, -0.35890960693359375, -0.9259011745452881, -0.6916314363479614, -0.38162389397621155, -0.30810052156448364, 1.6951680183410645, 0.1711449921131134, -0.5534631609916687, -0.11179700493812561, -0.7992552518844604, -0.03821534663438797, -0.9147638082504272, 0.33110082149505615, -0.09472568333148956, -0.13754025101661682, -0.11151134222745895, 1.6791099309921265, -0.9960864186286926, -2.0243046283721924, 0.28989219665527344, 0.12155372649431229, -0.32960087060928345, 0.10409309715032578, 1.6483864784240723, 0.5794874429702759, 1.3890997171401978, 1.427531123161316, 0.9596859216690063, -0.6434003710746765, -1.3297830820083618, 0.577789306640625, 0.9852020144462585, -1.447402834892273, 0.8058797717094421, 0.027671748772263527, -0.4928528368473053, 0.5948643684387207, 1.3382066488265991, 0.4274753928184509, -1.9903497695922852, 0.8055253624916077, -0.8769664168357849, 0.6894526481628418, 0.7011851668357849, 0.8015702962875366, 0.18137620389461517, 0.7927622199058533, -1.2417891025543213, -1.1794039011001587, -0.7143160104751587, -0.5917283892631531, 1.9229843616485596, -0.17549949884414673, 0.4531361162662506, -0.211414635181427, -1.3899224996566772, -0.06768806278705597, 0.6699658632278442, 0.27995267510414124, -0.4747332036495209, 0.7868167161941528, -0.6134829521179199, -1.1140494346618652, -1.3387136459350586, -0.5438036918640137, -0.9803218245506287, -0.9091559648513794, 0.9939146041870117, 0.8939858078956604, 0.3479289412498474, 1.8821443319320679, 0.5690323114395142, 0.18245643377304077, -2.7119269371032715, 0.8655827641487122, 0.3071654140949249, -0.05600021034479141, 0.8889228701591492, 0.3183068037033081, 1.0572162866592407, -0.11666224896907806, 0.5613365173339844, -2.2903387546539307, 2.229480743408203, -0.25377604365348816, 0.6935338973999023, -0.03596743941307068, -0.09110391139984131, 1.0133779048919678, 0.511650562286377, 0.6854478716850281, -1.103666067123413, 0.6647874712944031, -0.6504000425338745, 1.230324149131775, 0.9954032897949219, -0.85182124376297, -0.08917567133903503, 1.3644378185272217, 0.43821147084236145, -0.537397027015686, -0.9815201759338379, -0.995185911655426, 0.9896466732025146, 1.863124132156372, -0.010037732310593128, -0.0037856781855225563, 0.9142768383026123, 0.692990779876709, -1.3361809253692627, 0.07494976371526718, -0.7737889289855957, -0.6925086975097656, 1.6496846675872803, 2.03391432762146, -0.09178115427494049, -0.19393335282802582, -0.7330080270767212, -1.2436546087265015, 0.7939750552177429, 0.07202491164207458, 0.07105865329504013, 0.7490394711494446, -0.6504815816879272, 1.230075478553772, 0.8671199083328247, 0.9191267490386963, 0.18268287181854248, 0.3023475110530853, 0.30216071009635925, -0.27234745025634766, -1.1557875871658325, -0.19532614946365356, -0.9670219421386719, -2.4917829036712646, 0.46237659454345703, -0.18372228741645813, -1.391845464706421, 0.03754089027643204, -0.9877508282661438, 0.8468295335769653, -0.5580630302429199, -1.154619574546814, -1.5107234716415405, 0.22791588306427002, -0.05890708416700363, 0.8369466662406921, -1.6907958984375, -0.0328751876950264, 1.226089596748352, 0.9935394525527954, -0.5907546281814575, 1.0077426433563232, 0.3011932373046875, 0.9986711740493774, 0.9210277199745178, -0.3186473846435547, 0.40508246421813965, -0.009247412905097008, -1.3172242641448975, 0.44017574191093445, 1.1673307418823242, 0.1812482476234436, 1.4005831480026245, -0.636954665184021, 0.013832133263349533, 0.4108911454677582, -0.5417966842651367, -0.3679240942001343, -0.6203098893165588, 0.691527783870697, 0.10081881284713745, -0.8137208819389343, -0.046982474625110626, -0.031034404411911964, -0.19428464770317078, 0.17953693866729736, -1.4873512983322144, -0.05007033795118332, -0.3187665045261383, -0.6680428981781006, -1.200358510017395, -0.10353832691907883, 1.3839679956436157, -0.8741347789764404, -0.24496079981327057, 0.5627699494361877, 0.300590842962265, 0.5157344341278076, 0.5788277983665466, -0.6875020265579224, -0.3084111213684082, -0.21006351709365845, -0.33424848318099976, 0.21530330181121826, 1.3187544345855713, -0.08893352746963501, -1.0444092750549316, 0.7528014183044434, -0.37666648626327515, 0.01350492238998413, 1.9271141290664673, 0.07569771260023117, -0.8487778306007385, 0.2596406042575836, -0.7397416830062866, 1.9079807996749878, 1.7212015390396118, 1.3487707376480103, -0.09713827073574066, -1.033431887626648, 0.649705708026886, -0.28454041481018066, -0.32888638973236084, 0.8946991562843323, 0.3590099811553955, -0.20591279864311218, -1.3498049974441528, 0.6124603748321533, 1.3398613929748535, -0.8731033205986023, -0.7892934679985046, 0.07332313805818558, -0.8349534273147583, 1.0740042924880981, 0.7379579544067383, 0.34339168667793274, 0.1996230185031891, 1.5739498138427734, 0.7137048840522766, -0.457453191280365, 0.5317562222480774, 0.5474939942359924, -0.16466696560382843, -2.056072950363159, -1.0344116687774658, 0.3380187153816223, -0.3794989585876465, -1.6823718547821045, 1.3480926752090454, -1.2224806547164917, -0.8480033278465271, 0.45846793055534363, 0.133340984582901, 1.4724653959274292, 0.3111973702907562, 1.6169244050979614, 2.100739002227783, 0.8967639207839966, 0.3485778570175171, 1.239476203918457, -0.1272326111793518, -0.32693934440612793, 1.7718020677566528, -0.42962607741355896, 0.5714379549026489, 1.0739978551864624, -0.34778669476509094, -1.0762721300125122, -0.7669872045516968, -1.2736363410949707, -0.6592954397201538, 1.1467424631118774, 0.11904757469892502, -1.185246467590332, 0.2651067078113556, 1.5563949346542358, 0.09401090443134308, -0.252990186214447, 0.6894866824150085, 0.46939462423324585, -0.7270700931549072, -0.07783550769090652, -0.9333384037017822, 0.4805103540420532, -0.1796281784772873, -0.34028077125549316, 0.3294437825679779, 0.4063883125782013, 1.3130069971084595, 0.1154341921210289, 0.09519196301698685, 1.2604084014892578, -1.4174607992172241, 1.4916629791259766, -0.7591833472251892, 0.2860468029975891, -2.414717435836792, 1.4731732606887817, -0.8682695627212524, 1.8868640661239624, -2.6072628498077393, 0.48342519998550415, -0.5493791103363037, -0.4571306109428406, 0.277317076921463, -0.3273782730102539, 0.07334860414266586, -0.039425328373909, -1.2052372694015503, -0.10491767525672913, -0.7407643795013428, 0.6041917204856873, 1.1172490119934082, 1.314283013343811, -1.1989061832427979, -0.28044846653938293, -1.7759528160095215, -0.11712436378002167, -0.6022055745124817, 0.40844112634658813, -1.9500582218170166, -0.12033414840698242, -1.928697943687439, -2.485821485519409, -1.3409675359725952, -0.7580800652503967, 1.1422593593597412, 0.10592330992221832, -0.8449603319168091, 1.1468061208724976, -0.4279315173625946, -1.8745660781860352, 1.0921001434326172, -2.254481554031372 ]
https://github.com/huggingface/datasets/issues/4298
Normalise license names
we'll add the same server-side metadata validation system as for hf.co/models soon-ish (you can check on hf.co/models that licenses are "clean")
**Is your feature request related to a problem? Please describe.** When browsing datasets, the Licenses tag cloud (bottom left of e.g. https://huggingface.co/datasets) has multiple variants of the same license. This means the options exclude datasets arbitrarily, giving users artificially low recall. The cause of the dupes is probably due to a bit of variation in metadata. **Describe the solution you'd like** I'd like the licenses in metadata to follow the same standard as much as possible, to remove this problem. I'd like to go ahead and normalise the dataset metadata to follow the format & values given in [src/datasets/utils/resources/licenses.json](https://github.com/huggingface/datasets/blob/master/src/datasets/utils/resources/licenses.json) . **Describe alternatives you've considered** None **Additional context** None **Priority** Low
770
21
Normalise license names **Is your feature request related to a problem? Please describe.** When browsing datasets, the Licenses tag cloud (bottom left of e.g. https://huggingface.co/datasets) has multiple variants of the same license. This means the options exclude datasets arbitrarily, giving users artificially low recall. The cause of the dupes is probably due to a bit of variation in metadata. **Describe the solution you'd like** I'd like the licenses in metadata to follow the same standard as much as possible, to remove this problem. I'd like to go ahead and normalise the dataset metadata to follow the format & values given in [src/datasets/utils/resources/licenses.json](https://github.com/huggingface/datasets/blob/master/src/datasets/utils/resources/licenses.json) . **Describe alternatives you've considered** None **Additional context** None **Priority** Low we'll add the same server-side metadata validation system as for hf.co/models soon-ish (you can check on hf.co/models that licenses are "clean")
[ -1.2596598863601685, -1.0029340982437134, -0.7923908233642578, 1.4169059991836548, -0.2043602615594864, -1.3558043241500854, -0.0009639710187911987, -0.975713312625885, 1.7637574672698975, -0.6788343191146851, 0.20136025547981262, -1.7104994058609009, -0.050680141896009445, -0.5072449445724487, -0.8479397296905518, -0.8189024925231934, -0.419940322637558, -0.8354251384735107, 0.8046695590019226, 2.526207685470581, 1.2481231689453125, -1.3564190864562988, 2.77093243598938, 0.6522911190986633, -0.16469775140285492, -0.9907375574111938, 0.46777647733688354, 0.05465814471244812, -1.1679162979125977, -0.5486800074577332, -0.8974222540855408, 0.009219669736921787, -0.4469865560531616, -0.4672011733055115, 0.1439344584941864, 0.3753323554992676, -0.12596069276332855, -0.24938857555389404, -0.6186932921409607, -0.6448167562484741, 0.46403956413269043, -0.41774633526802063, 0.9420596361160278, -0.48836231231689453, 1.808408498764038, -0.6105931997299194, 0.27720755338668823, 0.7272064685821533, 1.439391016960144, 0.18822652101516724, -0.01849043369293213, 0.2552339732646942, 0.45520296692848206, 0.10456550866365433, 0.4088822901248932, 1.2215903997421265, 0.6255965232849121, 0.4503161609172821, 0.7262329459190369, -2.12794828414917, 1.345868468284607, -1.0723515748977661, 0.2807055413722992, 1.4691057205200195, -1.0008788108825684, 0.3946707248687744, -1.8215957880020142, -0.06542609632015228, 0.6277444362640381, -2.383920907974243, 0.16274696588516235, -1.3317677974700928, -0.5919468402862549, 0.9183911681175232, 0.19174043834209442, -1.309590220451355, 0.27033236622810364, -0.6070679426193237, 0.9799210429191589, 0.589400053024292, 1.1628680229187012, -1.782740592956543, -0.08759191632270813, -0.1470860093832016, 0.01944446563720703, -1.3562763929367065, -1.6078071594238281, 0.6500831246376038, 0.5719486474990845, 0.5721633434295654, -0.07327482849359512, 0.8463868498802185, -1.0642679929733276, 0.951458752155304, -0.88809734582901, -1.6370660066604614, -1.4864999055862427, -2.330329179763794, -2.196272611618042, 0.952478289604187, -0.44345301389694214, -0.4877661466598511, 1.9303398132324219, -1.015648365020752, -1.7734194993972778, 1.1027711629867554, 0.27505606412887573, 0.08762635290622711, 2.409878730773926, 0.18885548412799835, -0.6942687034606934, 0.3426568806171417, -0.6197223663330078, 0.9028299450874329, -0.43889108300209045, 1.417908787727356, 0.5683084726333618, -0.9105048775672913, 1.6659188270568848, -0.5323805809020996, 0.4588996171951294, -0.5527287721633911, -0.5143950581550598, -0.8773870468139648, 0.4753306806087494, 1.9148660898208618, -0.32270288467407227, 1.5645115375518799, -0.35712042450904846, -1.605068564414978, -1.4978718757629395, 0.8276775479316711, 0.5578618049621582, -0.8779669404029846, -0.0059626782312989235, -0.43769222497940063, 0.11605412513017654, -0.07167113572359085, 1.1372320652008057, 1.150479793548584, 0.7268221974372864, -0.2891627550125122, -0.8511648774147034, 0.2673511505126953, -0.09892663359642029, -0.6273528337478638, -1.8650521039962769, -0.3181799650192261, 0.2810910642147064, 0.6841955184936523, -1.3024706840515137, 1.5821183919906616, 0.9219841957092285, 1.8987287282943726, 1.0151326656341553, -0.35227566957473755, 1.459766149520874, -0.038777731359004974, 1.856263518333435, -0.6732521653175354, 0.7215723395347595, -0.29546844959259033, -0.993430495262146, 0.8073505163192749, -0.4023093581199646, -2.077822208404541, -0.8116594552993774, -0.9220717549324036, -0.22017978131771088, -0.7359292507171631, 0.971805214881897, -0.2744668126106262, -1.2933950424194336, 0.18293893337249756, -0.7088993787765503, 0.12626318633556366, -1.2220908403396606, 0.297661155462265, 0.7738041281700134, -0.5483555793762207, -0.10863178968429565, -0.21035626530647278, -1.355241298675537, -0.5751640796661377, 0.25131750106811523, 1.9496595859527588, -0.7118823528289795, 0.9328902959823608, 0.8451911807060242, -0.7893796563148499, 0.10681327432394028, 0.41117650270462036, -0.27658170461654663, 0.859980046749115, -1.0424782037734985, -0.3310883343219757, 1.0539168119430542, -0.24588392674922943, -0.5715000033378601, 1.512489914894104, 0.8150109648704529, -0.9786154627799988, -0.23456785082817078, -0.2676747143268585, -0.868001401424408, 0.005273695103824139, -1.5302952527999878, -0.2934137284755707, 0.18116900324821472, -1.3894340991973877, -0.5602887272834778, -0.2955816984176636, 1.3293670415878296, -0.17029798030853271, 1.3639832735061646, -0.29650941491127014, -0.38800111413002014, -0.3385230004787445, -0.39361345767974854, 0.15433096885681152, -0.19708620011806488, -0.6654737591743469, 0.3048939108848572, -0.9087446331977844, 0.3893772065639496, 1.431474208831787, 0.5376839637756348, -0.03441065177321434, 0.6517106890678406, 1.1007188558578491, 0.28993818163871765, -0.10909805446863174, -0.9052301645278931, -1.5961369276046753, 2.023930311203003, -1.4459538459777832, 1.8929269313812256, 0.7166541218757629, -0.07440605759620667, -1.710314154624939, -1.836688756942749, 1.3322653770446777, 1.1716421842575073, 2.297534227371216, 0.5688439607620239, 0.3053511083126068, -0.7749058604240417, -0.8059166073799133, 0.2519657015800476, -1.1674095392227173, -0.6845422983169556, 0.02492387592792511, 2.327171564102173, 1.8441258668899536, -0.6839403510093689, -0.17934772372245789, -1.0044126510620117, 1.2537939548492432, -0.24367688596248627, 0.1706666499376297, 2.0746164321899414, -0.36666426062583923, -1.057698130607605, 1.2613554000854492, -2.2951767444610596, 0.1664307862520218, 2.0033082962036133, 0.34899869561195374, 0.07750305533409119, -1.4883737564086914, -0.6272847652435303, -0.31483128666877747, -0.3158191442489624, -1.265514612197876, 0.5389209389686584, -0.3215954303741455, -0.9687612056732178, -1.458999514579773, 0.09017284959554672, -1.1784199476242065, -1.609812617301941, 0.4303586781024933, 1.9125151634216309, 1.9980896711349487, -0.5998794436454773, 1.4822643995285034, -0.17707839608192444, 0.04404207319021225, 1.261595368385315, 1.254547357559204, 3.1058504581451416, 1.9488462209701538, -1.1611826419830322, 0.6463645100593567, -0.2003120332956314, -0.40802356600761414, 1.1030234098434448, -1.0198349952697754, 1.1291840076446533, -0.1360042691230774, -1.190757155418396, -1.1565567255020142, 1.077843189239502, 0.5637315511703491, -0.007407804951071739, -0.592989981174469, 1.1894930601119995, 0.03815915063023567, 1.3449894189834595, 0.5742511749267578, -0.4201619029045105, 0.5264606475830078, -0.45210009813308716, -0.48888933658599854, 1.596937894821167, 0.13290423154830933, -1.5649075508117676, -2.351367950439453, -0.1787404865026474, -0.8216602206230164, -0.10522183775901794, -0.5172705054283142, -0.9326609969139099, 1.6889554262161255, 0.46433037519454956, -1.26406729221344, -0.30329763889312744, -0.43032515048980713, -0.7039077281951904, 2.616766929626465, -1.408521056175232, -0.21646741032600403, -1.017581582069397, -0.535940408706665, 1.6340396404266357, -1.256402611732483, -0.0426114983856678, -1.00624418258667, -0.668602705001831, -1.4008879661560059, -0.6397819519042969, -0.07449325174093246, -0.8681020140647888, 0.8374330401420593, 0.0350651778280735, -0.9800395965576172, -0.3230760097503662, -0.8700061440467834, 0.810600996017456, -0.09698806703090668, 0.23533006012439728, 1.934076189994812, 0.4047444462776184, -0.38921990990638733, 0.6238168478012085, 1.1785895824432373, 0.6587989330291748, -0.6077855825424194, 0.1587604582309723, -0.5803766846656799, 0.29870882630348206, -1.4195934534072876, 0.31663620471954346, -2.9094626903533936, 0.6772967576980591, -0.12427804619073868, -0.1497649848461151, 0.0204908549785614, -1.2374039888381958, 1.1455810070037842, 2.5487847328186035, -1.213220238685608, 0.3916882276535034, 0.2814299762248993, 1.1940088272094727, -1.5789968967437744, 0.33880817890167236, -0.4665803909301758, 2.1414172649383545, 0.20844334363937378, 1.1238497495651245, -0.6074767112731934, -2.0170204639434814, 0.6811387538909912, -1.1389151811599731, -1.1444224119186401, 0.5733426809310913, -0.8291639685630798, 0.19295138120651245, -1.666154384613037, -0.12682555615901947, -0.9374308586120605, -1.2733620405197144, 0.8647763729095459, 0.13165165483951569, 0.4015769362449646, -0.5508893132209778, 0.2817852795124054, -2.1373748779296875, -1.3181283473968506, -0.21811524033546448, -0.9450465440750122, 0.5773480534553528, -0.30531373620033264, 0.6225724220275879, -0.01610756292939186, 0.11283999681472778, 0.24653689563274384, 1.421582579612732, 3.3800137042999268, 0.11721409112215042, 0.3663821220397949, -0.07498697936534882, -0.9417330026626587, 1.501703143119812, 1.032444715499878, -0.023444604128599167, -0.5170152187347412, -1.0424370765686035, 1.4169050455093384, 1.973630428314209, 1.0181857347488403, 0.16928580403327942, -0.817839503288269, -0.6766824722290039, 0.013187862001359463, 0.23825813829898834, 0.4919421374797821, 0.9167685508728027, -0.05785826966166496, 0.07588496804237366, 1.5280487537384033, 1.3392146825790405, -0.40753838419914246, 0.5036424994468689, -0.8622592687606812, -0.3938267230987549, 0.4427747130393982, 0.30747663974761963, -0.016365105286240578, 0.3723898231983185, -1.061977744102478, -0.2772316336631775, -0.21875059604644775, -1.0034472942352295, -0.7099268436431885, -0.45955246686935425, -0.408362478017807, 1.6604470014572144, 0.1602320671081543, -0.5047663450241089, -0.07532871514558792, -0.8037142157554626, -0.08055081218481064, -1.081075668334961, 0.31195855140686035, -0.09863609075546265, -0.04329957813024521, -0.2273462563753128, 1.724228024482727, -0.8871992230415344, -2.15219783782959, 0.24150516092777252, 0.3227512836456299, -0.5404962301254272, 0.18149499595165253, 1.5540416240692139, 0.5788704752922058, 1.4514769315719604, 1.3367630243301392, 0.9217530488967896, -0.5112237334251404, -1.236327052116394, 0.6272673010826111, 0.8295297026634216, -1.4324407577514648, 0.8784486651420593, -0.0795556902885437, -0.592689037322998, 0.8525835275650024, 1.4028843641281128, 0.28823715448379517, -1.9595857858657837, 0.865028977394104, -0.763846755027771, 0.7041333317756653, 0.6267520785331726, 0.8009924292564392, 0.31582874059677124, 0.9109784364700317, -1.3832694292068481, -1.1530225276947021, -0.9575383067131042, -0.5744503736495972, 1.9980965852737427, -0.11308301985263824, 0.48937082290649414, -0.15449406206607819, -1.1713597774505615, -0.10724463313817978, 0.696878969669342, 0.4552050530910492, -0.19539740681648254, 0.8598222136497498, -0.6533446907997131, -1.1369715929031372, -1.33269464969635, -0.39738279581069946, -0.8445227742195129, -0.8686990141868591, 1.0156489610671997, 0.9124760031700134, 0.37816885113716125, 1.9934808015823364, 0.48446816205978394, 0.19541063904762268, -2.6503920555114746, 0.8084525465965271, 0.30940183997154236, 0.05115092545747757, 1.0303385257720947, 0.2396170198917389, 1.1591829061508179, 0.03312976285815239, 0.44549259543418884, -2.3372371196746826, 2.0970284938812256, -0.25155094265937805, 0.7860702276229858, 0.009196312166750431, -0.10352994501590729, 1.2117608785629272, 0.6726629137992859, 0.6434804201126099, -1.1156642436981201, 0.7514989376068115, -0.6093785166740417, 1.1691927909851074, 1.0794466733932495, -0.7549915313720703, -0.028395600616931915, 1.343950629234314, 0.5468898415565491, -0.4162949323654175, -0.9971383810043335, -0.7575286626815796, 0.8328794836997986, 1.7728081941604614, -0.03381955623626709, -0.010724954307079315, 0.8147429823875427, 0.7036038637161255, -1.210096836090088, 0.1630224585533142, -0.8172786235809326, -0.6444878578186035, 1.638684868812561, 2.011394739151001, 0.006747559644281864, -0.2088571935892105, -0.6936458945274353, -1.2145854234695435, 0.6533152461051941, -0.03925661742687225, 0.17890949547290802, 0.798865795135498, -0.6714640855789185, 1.0963796377182007, 0.8542152047157288, 0.956800103187561, -0.04362916946411133, 0.4938361942768097, 0.3674435317516327, -0.27770498394966125, -1.182732343673706, -0.37536418437957764, -1.2231589555740356, -2.5196714401245117, 0.5010266304016113, -0.35424354672431946, -1.440398097038269, -0.0030446327291429043, -1.095867395401001, 0.8976709842681885, -0.56634122133255, -1.2249945402145386, -1.5439541339874268, 0.19245032966136932, -0.039700139313936234, 0.887687623500824, -1.6479300260543823, -0.16019831597805023, 1.2711697816848755, 0.7610363960266113, -0.5062270760536194, 0.9342731833457947, 0.31165993213653564, 1.0522464513778687, 0.7194129228591919, -0.4434519410133362, 0.40647411346435547, 0.060172080993652344, -1.380879282951355, 0.5605559945106506, 1.1312693357467651, 0.25700268149375916, 1.3111430406570435, -0.5267301797866821, 0.18665120005607605, 0.5446165800094604, -0.6272962093353271, -0.476638525724411, -0.3969523012638092, 0.7926628589630127, 0.04850364103913307, -0.9375072717666626, -0.01056184433400631, -0.18952450156211853, -0.2083255648612976, 0.14048998057842255, -1.4532411098480225, -0.3129938542842865, -0.41699159145355225, -0.4135781228542328, -1.2278894186019897, -0.08179144561290741, 1.3309450149536133, -0.8773917555809021, -0.22497446835041046, 0.5902613997459412, 0.4817182123661041, 0.6203514933586121, 0.5838649272918701, -0.5801972150802612, -0.35688352584838867, -0.3469793200492859, -0.3741293251514435, 0.1458183377981186, 1.175622820854187, -0.24108517169952393, -1.0427608489990234, 0.654647171497345, -0.43840107321739197, 0.057349793612957, 2.024841547012329, -0.022050343453884125, -0.7625485062599182, 0.39738771319389343, -0.7016228437423706, 1.8101329803466797, 1.6056475639343262, 1.2435956001281738, -0.10087738931179047, -0.8298420906066895, 0.4411865472793579, -0.18825370073318481, -0.41433364152908325, 0.8787947297096252, 0.6072120070457458, -0.07849901169538498, -1.4042083024978638, 0.5197756886482239, 1.3288989067077637, -0.9998184442520142, -0.7112642526626587, 0.13302569091320038, -0.8887948393821716, 1.1415947675704956, 0.7209721207618713, 0.38775086402893066, 0.1970042735338211, 1.6851304769515991, 0.5741972923278809, -0.5165804624557495, 0.39563679695129395, 0.579430341720581, -0.22960059344768524, -2.2074954509735107, -1.030255913734436, 0.2389112412929535, -0.33987075090408325, -1.4966211318969727, 1.266409993171692, -1.0835732221603394, -0.8090318441390991, 0.5100826025009155, 0.2714049518108368, 1.4193024635314941, 0.29768994450569153, 1.7053611278533936, 2.0155832767486572, 0.8554694056510925, 0.2679186761379242, 1.3587427139282227, 0.05104391649365425, -0.4523809254169464, 1.8434003591537476, -0.3604700267314911, 0.5261099338531494, 1.0561575889587402, -0.44994157552719116, -1.1202757358551025, -0.7636926770210266, -1.1517069339752197, -0.5727419853210449, 1.1538499593734741, 0.12039764970541, -1.1566109657287598, 0.04282902926206589, 1.52094566822052, 0.20088231563568115, -0.2566162347793579, 0.42201000452041626, 0.483801007270813, -0.6008683443069458, -0.06934241950511932, -0.963580846786499, 0.4077742397785187, -0.10087688267230988, -0.3861716687679291, 0.26585572957992554, 0.5316030383110046, 1.255319595336914, -0.06177313253283501, 0.19786706566810608, 1.339482069015503, -1.423867106437683, 1.5579359531402588, -0.6262434720993042, 0.2517262399196625, -2.4623255729675293, 1.519287109375, -0.787944495677948, 1.9249447584152222, -2.592275381088257, 0.2999945282936096, -0.6165733933448792, -0.3652542531490326, 0.264007031917572, -0.38388925790786743, 0.15038494765758514, -0.093876913189888, -1.0188566446304321, -0.00713995611295104, -0.7275637984275818, 0.5484293103218079, 1.2449395656585693, 1.43882417678833, -1.1398261785507202, -0.19904825091362, -1.7869956493377686, -0.1390269696712494, -0.8233166337013245, 0.40239837765693665, -2.0395638942718506, -0.09696021676063538, -1.8651847839355469, -2.203941822052002, -1.532889485359192, -0.860584557056427, 1.032107949256897, 0.09251587837934494, -0.9198240041732788, 0.9430821537971497, -0.37629130482673645, -1.7109501361846924, 1.0431921482086182, -2.2522943019866943 ]
https://github.com/huggingface/datasets/issues/4291
Dataset Viewer issue for strombergnlp/ipm_nel : preview is empty, no error message
Hi @leondz, thanks for reporting. Indeed, the dataset viewer relies on the dataset being streamable (passing `streaming=True` to `load_dataset`). Whereas most of the datastes are streamable out of the box (thanks to our implementation of streaming), there are still some exceptions. In particular, in your case, that is due to the data file being TAR. This format is not streamable out of the box (it does not allow random access to the archived files), but we use a trick to allow streaming: using `dl_manager.iter_archive`. Let me know if you need some help: I could push a commit to your repo with the fix.
### Link https://huggingface.co/datasets/strombergnlp/ipm_nel/viewer/ipm_nel/train ### Description The viewer is blank. I tried my best to emulate a dataset with a working viewer, but this one just doesn't seem to want to come up. What did I miss? ### Owner Yes
772
103
Dataset Viewer issue for strombergnlp/ipm_nel : preview is empty, no error message ### Link https://huggingface.co/datasets/strombergnlp/ipm_nel/viewer/ipm_nel/train ### Description The viewer is blank. I tried my best to emulate a dataset with a working viewer, but this one just doesn't seem to want to come up. What did I miss? ### Owner Yes Hi @leondz, thanks for reporting. Indeed, the dataset viewer relies on the dataset being streamable (passing `streaming=True` to `load_dataset`). Whereas most of the datastes are streamable out of the box (thanks to our implementation of streaming), there are still some exceptions. In particular, in your case, that is due to the data file being TAR. This format is not streamable out of the box (it does not allow random access to the archived files), but we use a trick to allow streaming: using `dl_manager.iter_archive`. Let me know if you need some help: I could push a commit to your repo with the fix.
[ -1.1454721689224243, -0.9353125691413879, -0.8619258999824524, 1.4198100566864014, -0.17502044141292572, -1.272378921508789, 0.18489845097064972, -1.0434435606002808, 1.6437346935272217, -0.7954006195068359, 0.28966042399406433, -1.6704808473587036, 0.03334081545472145, -0.6158154010772705, -0.708450198173523, -0.9123490452766418, -0.40917596220970154, -0.7996905446052551, 0.9246758818626404, 2.6454861164093018, 1.1661508083343506, -1.3828349113464355, 2.7039899826049805, 0.7266256809234619, -0.23581622540950775, -1.1080596446990967, 0.534254252910614, 0.0016472674906253815, -1.18234384059906, -0.49095985293388367, -0.92578125, -0.12341713905334473, -0.5263351202011108, -0.4873371422290802, 0.024416059255599976, 0.422741562128067, -0.22032064199447632, -0.3405836522579193, -0.5302309393882751, -0.796040952205658, 0.5276699066162109, -0.4822809100151062, 1.0043073892593384, -0.363696426153183, 1.91582190990448, -0.5449620485305786, 0.42939066886901855, 0.7793001532554626, 1.4149278402328491, 0.1469285786151886, -0.1179257482290268, 0.21619392931461334, 0.4075112044811249, -0.029885470867156982, 0.38043612241744995, 1.0117353200912476, 0.5733848214149475, 0.544669508934021, 0.6380272507667542, -2.183138132095337, 1.3678337335586548, -1.03879714012146, 0.26232022047042847, 1.4315274953842163, -1.0241940021514893, 0.37941408157348633, -1.7959299087524414, -0.0670628622174263, 0.6036075949668884, -2.198847532272339, 0.2227204293012619, -1.3026516437530518, -0.5428720116615295, 0.9752395749092102, 0.3346361517906189, -1.2743664979934692, 0.12795747816562653, -0.4451488256454468, 1.0604360103607178, 0.5645402073860168, 1.0964858531951904, -1.6985692977905273, 0.0018090680241584778, -0.3008778691291809, 0.1028810441493988, -1.3633086681365967, -1.4865392446517944, 0.540945827960968, 0.6293196082115173, 0.581000030040741, -0.005691017489880323, 0.9159572720527649, -0.9437917470932007, 0.8045189380645752, -0.9309742450714111, -1.672947645187378, -1.3988198041915894, -2.311053991317749, -2.3506174087524414, 0.7619858384132385, -0.434304803609848, -0.5533120632171631, 2.034057378768921, -1.0822093486785889, -1.7823017835617065, 1.2217501401901245, 0.14910399913787842, -0.031637489795684814, 2.4264936447143555, 0.19997921586036682, -0.6708924174308777, 0.33631786704063416, -0.7283044457435608, 0.7589325308799744, -0.4935785233974457, 1.4202337265014648, 0.5529212951660156, -1.0743389129638672, 1.6572335958480835, -0.5151069760322571, 0.6016960740089417, -0.6840078234672546, -0.5963715314865112, -0.8376820087432861, 0.3851686120033264, 1.8419885635375977, -0.37866735458374023, 1.5829321146011353, -0.41961321234703064, -1.5532188415527344, -1.5797840356826782, 0.9134678840637207, 0.43792328238487244, -0.8734086155891418, 0.21332164108753204, -0.3462691009044647, 0.0579780638217926, -0.06673723459243774, 1.103651523590088, 1.225325107574463, 0.6105731725692749, -0.3071393668651581, -0.9074605107307434, 0.28435957431793213, -0.048001375049352646, -0.7313888072967529, -1.818611741065979, -0.4318832457065582, 0.07604233920574188, 0.6874604225158691, -1.1122771501541138, 1.7789244651794434, 0.884349524974823, 1.9201518297195435, 0.9254949688911438, -0.254337877035141, 1.4496067762374878, -0.00841798447072506, 1.9237983226776123, -0.49682822823524475, 0.7509865164756775, -0.39080503582954407, -1.108867883682251, 0.7891401052474976, -0.3804946839809418, -2.0384557247161865, -0.8112943768501282, -0.8611904382705688, -0.2547314763069153, -0.73053377866745, 0.8948032855987549, -0.2986636161804199, -1.3497103452682495, 0.30402621626853943, -0.692550778388977, 0.19213126599788666, -1.2645512819290161, 0.338666707277298, 0.7284854054450989, -0.6244345903396606, 0.006872427649796009, -0.2109588086605072, -1.2625149488449097, -0.40415361523628235, 0.24967218935489655, 1.8818479776382446, -0.7684413194656372, 0.8773049712181091, 0.9431838989257812, -0.6410616040229797, -0.018925823271274567, 0.3492310047149658, -0.3154781460762024, 0.8396301865577698, -1.0772331953048706, -0.2865045368671417, 1.2329949140548706, -0.21059609949588776, -0.6178605556488037, 1.4440462589263916, 0.7659915685653687, -0.9472094774246216, -0.1595333069562912, -0.2910478413105011, -0.7734432816505432, -0.002698705531656742, -1.642446517944336, -0.12192711234092712, 0.33319398760795593, -1.4211390018463135, -0.47945454716682434, -0.19997373223304749, 1.342553973197937, -0.1269894242286682, 1.4873361587524414, -0.4426708519458771, -0.26002341508865356, -0.3899277448654175, -0.35834360122680664, 0.21236489713191986, -0.21768732368946075, -0.5852867960929871, 0.1445988416671753, -0.758263885974884, 0.3078472912311554, 1.3925526142120361, 0.32132506370544434, 0.15013031661510468, 0.5318752527236938, 1.0353004932403564, 0.3047133982181549, -0.04168540611863136, -0.8758863806724548, -1.5612133741378784, 2.0196216106414795, -1.438334584236145, 1.9571399688720703, 0.8149881958961487, -0.026563208550214767, -1.7718505859375, -1.8241326808929443, 1.3450573682785034, 1.1939729452133179, 2.2157716751098633, 0.44311651587486267, 0.36755967140197754, -0.894022524356842, -0.6379635334014893, 0.27276670932769775, -1.1105135679244995, -0.7315550446510315, 0.09560372680425644, 2.321993350982666, 1.8011283874511719, -0.5138225555419922, -0.1982654333114624, -1.0131456851959229, 1.290885329246521, -0.24225583672523499, 0.18624399602413177, 2.1068949699401855, -0.33537179231643677, -1.0419268608093262, 1.2233831882476807, -2.3746261596679688, 0.15054655075073242, 1.957438349723816, 0.19320841133594513, 0.14681777358055115, -1.4672874212265015, -0.586622953414917, -0.2058859020471573, -0.3863641917705536, -1.199196457862854, 0.552574098110199, -0.32326701283454895, -0.8055083155632019, -1.452271819114685, 0.21617573499679565, -1.1017905473709106, -1.6435118913650513, 0.26729127764701843, 1.7385979890823364, 2.0784249305725098, -0.7689158320426941, 1.513412594795227, -0.14527766406536102, 0.1931944191455841, 1.3211753368377686, 1.187201976776123, 3.114164352416992, 1.9944839477539062, -1.2518991231918335, 0.6687461137771606, -0.1143733412027359, -0.47296786308288574, 1.124313235282898, -1.1159366369247437, 1.339617133140564, -0.1728595793247223, -1.2277734279632568, -1.2974845170974731, 0.9435839056968689, 0.5211761593818665, 0.09321442991495132, -0.4931466579437256, 1.285199522972107, 0.025593921542167664, 1.3548598289489746, 0.5770533680915833, -0.4136318564414978, 0.6025651097297668, -0.4565003514289856, -0.49622634053230286, 1.564518928527832, 0.29557114839553833, -1.44913649559021, -2.2491133213043213, -0.24074774980545044, -0.8597149848937988, -0.06074977666139603, -0.6447856426239014, -0.9546857476234436, 1.6289563179016113, 0.41799893975257874, -1.2756177186965942, -0.3431625962257385, -0.3375498056411743, -0.607426643371582, 2.675604820251465, -1.4064308404922485, -0.2640022933483124, -1.0301592350006104, -0.551129937171936, 1.727615475654602, -1.2808259725570679, -0.16894343495368958, -1.0492948293685913, -0.6539183855056763, -1.271579623222351, -0.5261344909667969, -0.08044049888849258, -0.9657701849937439, 0.8394697904586792, 0.15502111613750458, -1.1804200410842896, -0.25615590810775757, -0.8216421604156494, 0.8546109199523926, -0.10102374851703644, 0.32591256499290466, 1.879064679145813, 0.4457330107688904, -0.47257310152053833, 0.6436834335327148, 1.1435827016830444, 0.6020845174789429, -0.7059074640274048, 0.18635374307632446, -0.6548855900764465, 0.2986747920513153, -1.3094260692596436, 0.34374478459358215, -2.8323757648468018, 0.6382198333740234, -0.009277371689677238, -0.1534530520439148, -0.02628064900636673, -1.3058440685272217, 1.0304439067840576, 2.6206326484680176, -1.1766598224639893, 0.4499286413192749, 0.3160640299320221, 1.2244226932525635, -1.5990620851516724, 0.4071286618709564, -0.39800792932510376, 2.1760549545288086, 0.2312915027141571, 1.201798439025879, -0.4182291030883789, -2.2282297611236572, 0.6072036623954773, -1.2536768913269043, -1.157138466835022, 0.728492259979248, -0.8101258873939514, -0.10484296828508377, -1.4270991086959839, -0.1755451261997223, -0.8550217747688293, -1.2829316854476929, 0.848028838634491, 0.16058765351772308, 0.49473488330841064, -0.5718997120857239, 0.2667921483516693, -2.155045509338379, -1.292196273803711, -0.21806347370147705, -0.8666492104530334, 0.3938957452774048, -0.2668239176273346, 0.6361909508705139, -0.17696724832057953, 0.06849600374698639, 0.41861313581466675, 1.43220055103302, 3.448875904083252, 0.20370706915855408, 0.4286918342113495, -0.15976478159427643, -0.8925136923789978, 1.3950066566467285, 0.9535540342330933, -0.044719088822603226, -0.6258805394172668, -0.9836578369140625, 1.2368104457855225, 1.927982211112976, 1.0008258819580078, 0.13473500311374664, -0.7588428258895874, -0.5689993500709534, -0.11991751194000244, 0.17134757339954376, 0.46669819951057434, 0.9086740612983704, -0.02941366657614708, 0.12772172689437866, 1.4420292377471924, 1.2487140893936157, -0.44159847497940063, 0.38834983110427856, -0.8327762484550476, -0.3618466854095459, 0.5078334212303162, 0.34873881936073303, -0.007144832983613014, 0.3104591369628906, -0.9599931240081787, -0.28898635506629944, -0.3898641765117645, -0.9862523078918457, -0.7211287617683411, -0.47818636894226074, -0.3301892876625061, 1.6110774278640747, 0.17657116055488586, -0.44003966450691223, 0.02404443919658661, -0.783074676990509, -0.25951048731803894, -1.0813238620758057, 0.18703636527061462, -0.14846189320087433, -0.1396462619304657, -0.014908581972122192, 1.7727245092391968, -0.9602624773979187, -2.179205894470215, 0.33570611476898193, 0.19514456391334534, -0.35976898670196533, 0.18247520923614502, 1.575175166130066, 0.5253801941871643, 1.471366286277771, 1.2713627815246582, 0.9644410014152527, -0.7198917865753174, -1.3057186603546143, 0.7668939828872681, 1.0216273069381714, -1.4970548152923584, 0.8586910367012024, 0.031832557171583176, -0.5046201348304749, 0.7140166163444519, 1.1897133588790894, 0.4235784709453583, -1.9788775444030762, 0.7500424981117249, -0.8828745484352112, 0.831254243850708, 0.7208613753318787, 0.753572940826416, 0.30095022916793823, 0.8090937733650208, -1.2575500011444092, -1.192976951599121, -0.7681878805160522, -0.6118934750556946, 2.000443935394287, -0.2012186050415039, 0.6275457739830017, -0.0771983414888382, -1.3518146276474, -0.09220723807811737, 0.7874270081520081, 0.343295156955719, -0.42098569869995117, 0.8572546243667603, -0.6770047545433044, -1.0768934488296509, -1.433673620223999, -0.4185698628425598, -1.0298740863800049, -0.9535611271858215, 1.0372966527938843, 0.8312042355537415, 0.2035875916481018, 1.8413435220718384, 0.5711215734481812, 0.30458223819732666, -2.6551036834716797, 0.9254531860351562, 0.21119117736816406, 0.040480248630046844, 0.9346054792404175, 0.28382545709609985, 0.9960077404975891, 0.004996241070330143, 0.5222881436347961, -2.4084205627441406, 2.2723426818847656, -0.19341985881328583, 0.6340008974075317, -0.03954979404807091, -0.20904217660427094, 1.051027536392212, 0.5836822986602783, 0.5187803506851196, -1.0244990587234497, 0.6808794140815735, -0.628733217716217, 1.2404383420944214, 0.9215801954269409, -0.8271120190620422, -0.0015488611534237862, 1.3601737022399902, 0.5110188126564026, -0.503187894821167, -0.9431946277618408, -0.9175891876220703, 0.9455283880233765, 1.7693058252334595, -0.06661553680896759, -0.06453733891248703, 0.8910607695579529, 0.608852744102478, -1.2222925424575806, 0.1246080994606018, -0.7428524494171143, -0.7743028998374939, 1.6079018115997314, 2.0923430919647217, -0.10693512856960297, -0.20231537520885468, -0.812903881072998, -1.2046705484390259, 0.717522144317627, 0.020008735358715057, 0.06581464409828186, 0.6314182877540588, -0.6776204705238342, 1.1238501071929932, 0.8333472013473511, 0.8742159605026245, 0.16696016490459442, 0.3665975034236908, 0.38940322399139404, -0.3406088650226593, -1.116473913192749, -0.3009170889854431, -1.1856701374053955, -2.555274248123169, 0.5068956613540649, -0.31266164779663086, -1.4887783527374268, 0.1138172596693039, -1.0715478658676147, 0.9688099026679993, -0.6397270560264587, -1.058152198791504, -1.5658557415008545, 0.22678208351135254, -0.16454382240772247, 0.9464868903160095, -1.5712226629257202, -0.031049605458974838, 1.1707617044448853, 0.881507933139801, -0.5549151301383972, 1.0092840194702148, 0.2628864049911499, 1.0908626317977905, 0.7846406102180481, -0.3667202293872833, 0.49891936779022217, 0.1389441341161728, -1.3618731498718262, 0.5656249523162842, 1.1069222688674927, 0.2212924063205719, 1.3969401121139526, -0.49705421924591064, 0.058003947138786316, 0.4274252951145172, -0.5432112216949463, -0.5052277445793152, -0.44620704650878906, 0.8200517296791077, 0.15079365670681, -0.9242170453071594, 0.035371627658605576, -0.1575619876384735, -0.2485499531030655, 0.13600961863994598, -1.54481041431427, -0.3151146173477173, -0.3644850254058838, -0.6022247672080994, -1.3286635875701904, -0.06367278844118118, 1.4013011455535889, -0.6781265735626221, -0.17219804227352142, 0.5163019299507141, 0.5032705664634705, 0.4474991261959076, 0.6219393610954285, -0.6131247282028198, -0.3178797960281372, -0.24225273728370667, -0.3234082758426666, 0.2672855257987976, 1.2578527927398682, -0.1733836531639099, -0.9735585451126099, 0.7938895225524902, -0.3690882921218872, 0.08138252049684525, 1.8868690729141235, 0.2427150160074234, -0.8599140644073486, 0.3095057010650635, -0.5998923182487488, 1.9848661422729492, 1.6422187089920044, 1.350589394569397, -0.07819103449583054, -0.8975620269775391, 0.6047006845474243, -0.2602643072605133, -0.3141481280326843, 0.9144334197044373, 0.4333762228488922, -0.12257013469934464, -1.3496936559677124, 0.6519400477409363, 1.2490746974945068, -0.8722148537635803, -0.9063143134117126, 0.10486990213394165, -0.8185312747955322, 0.9978278279304504, 0.7251295447349548, 0.41657811403274536, 0.22784550487995148, 1.6109086275100708, 0.6930943131446838, -0.498088002204895, 0.5376087427139282, 0.4539242684841156, -0.1128934770822525, -2.129669427871704, -1.0635700225830078, 0.30084460973739624, -0.45358192920684814, -1.523391842842102, 1.3279997110366821, -1.1915085315704346, -0.9155486226081848, 0.4845373034477234, 0.15962298214435577, 1.5060375928878784, 0.31053003668785095, 1.616165041923523, 2.055417776107788, 0.9129989147186279, 0.30359768867492676, 1.3891700506210327, -0.05537828430533409, -0.39921391010284424, 1.8609699010849, -0.43571382761001587, 0.5041229724884033, 1.116405725479126, -0.37571924924850464, -1.0316489934921265, -0.7851107716560364, -1.1084372997283936, -0.643006443977356, 1.1866973638534546, 0.11578886210918427, -1.0807735919952393, 0.19096827507019043, 1.6065104007720947, 0.075726218521595, -0.34230807423591614, 0.5436922311782837, 0.4470759928226471, -0.7184205055236816, 0.022004790604114532, -0.915655791759491, 0.520194947719574, -0.18405909836292267, -0.32591819763183594, 0.4729063808917999, 0.5232085585594177, 1.2292547225952148, -0.09880353510379791, 0.11585775017738342, 1.188974142074585, -1.3963167667388916, 1.4803153276443481, -0.5803982615470886, 0.15196724236011505, -2.368964195251465, 1.4127604961395264, -0.7215476632118225, 1.9063676595687866, -2.638681411743164, 0.3337055444717407, -0.6472957730293274, -0.4635797441005707, 0.27720218896865845, -0.33286935091018677, 0.078321672976017, -0.1694389283657074, -1.1558066606521606, -0.031455427408218384, -0.6508206129074097, 0.5574120879173279, 1.1182631254196167, 1.2638570070266724, -1.1494046449661255, -0.27093109488487244, -1.870707392692566, -0.1382674276828766, -0.7356640696525574, 0.27293848991394043, -2.054403066635132, -0.14737895131111145, -1.9494510889053345, -2.335052967071533, -1.4490067958831787, -0.7811967134475708, 1.0709950923919678, 0.173945814371109, -0.915532648563385, 1.1566147804260254, -0.2937544286251068, -1.7841179370880127, 0.9710451364517212, -2.1204569339752197 ]
https://github.com/huggingface/datasets/issues/4291
Dataset Viewer issue for strombergnlp/ipm_nel : preview is empty, no error message
Ah, right! The preview is working now, but this explanation is good to know, thank you. I'll prefer formats with random file access supported in datasets.utils.extract in future, and try out this fix for the tarfiles :)
### Link https://huggingface.co/datasets/strombergnlp/ipm_nel/viewer/ipm_nel/train ### Description The viewer is blank. I tried my best to emulate a dataset with a working viewer, but this one just doesn't seem to want to come up. What did I miss? ### Owner Yes
772
37
Dataset Viewer issue for strombergnlp/ipm_nel : preview is empty, no error message ### Link https://huggingface.co/datasets/strombergnlp/ipm_nel/viewer/ipm_nel/train ### Description The viewer is blank. I tried my best to emulate a dataset with a working viewer, but this one just doesn't seem to want to come up. What did I miss? ### Owner Yes Ah, right! The preview is working now, but this explanation is good to know, thank you. I'll prefer formats with random file access supported in datasets.utils.extract in future, and try out this fix for the tarfiles :)
[ -1.127845287322998, -0.9890932440757751, -0.895614504814148, 1.430274486541748, -0.14873585104942322, -1.2830994129180908, 0.1291768103837967, -0.9686226844787598, 1.58632493019104, -0.8037676215171814, 0.23225714266300201, -1.674389123916626, -0.10080511122941971, -0.49987199902534485, -0.6487389802932739, -0.8732990622520447, -0.3729706406593323, -0.8928044438362122, 0.963624894618988, 2.6223840713500977, 1.118980050086975, -1.365286946296692, 2.802037477493286, 0.684302031993866, -0.29683560132980347, -1.1686484813690186, 0.580420970916748, 0.029527656733989716, -1.1729413270950317, -0.48969316482543945, -0.9819064140319824, 0.020939886569976807, -0.4322405755519867, -0.3737213909626007, -0.014016654342412949, 0.45060983300209045, -0.16003301739692688, -0.3494393229484558, -0.43921589851379395, -0.766993522644043, 0.5159110426902771, -0.44081494212150574, 0.9615799188613892, -0.36216259002685547, 1.8621219396591187, -0.5053402781486511, 0.3167986571788788, 0.7517390251159668, 1.3177181482315063, 0.10188151895999908, -0.07687950134277344, 0.19313079118728638, 0.4404149353504181, -0.1339215189218521, 0.3507985472679138, 1.105581283569336, 0.5181463360786438, 0.605353593826294, 0.5550874471664429, -2.1868526935577393, 1.3442683219909668, -1.0307611227035522, 0.27151674032211304, 1.4616988897323608, -1.030594825744629, 0.47305625677108765, -1.8072179555892944, 0.03738807514309883, 0.6499490737915039, -2.2698261737823486, 0.25988462567329407, -1.2400798797607422, -0.5898702144622803, 0.9424199461936951, 0.390480101108551, -1.3424079418182373, 0.030955784022808075, -0.4580495059490204, 0.9721516370773315, 0.4403975009918213, 1.0898154973983765, -1.6076616048812866, 0.06023949757218361, -0.2722432613372803, -0.030885592103004456, -1.3676296472549438, -1.4722667932510376, 0.5649080276489258, 0.6095938682556152, 0.7131658792495728, -0.00040061771869659424, 0.9688727259635925, -0.9875621795654297, 0.715915858745575, -0.7529386281967163, -1.6796199083328247, -1.3908777236938477, -2.436208724975586, -2.2890877723693848, 0.7956374883651733, -0.4041386842727661, -0.509636402130127, 2.0185093879699707, -1.048984408378601, -1.8185622692108154, 1.3022373914718628, 0.20739318430423737, -0.008354062214493752, 2.45931339263916, 0.4024392366409302, -0.7671257257461548, 0.36622706055641174, -0.7735612988471985, 0.801013171672821, -0.5908478498458862, 1.4290143251419067, 0.531184196472168, -0.9910206198692322, 1.6468822956085205, -0.460966557264328, 0.5980193018913269, -0.7051945924758911, -0.5565839409828186, -0.9045368432998657, 0.3338755667209625, 1.8315625190734863, -0.38815781474113464, 1.5371174812316895, -0.37901225686073303, -1.4807226657867432, -1.5519357919692993, 0.8180091381072998, 0.4085688591003418, -0.9012596011161804, 0.2384563386440277, -0.4213102161884308, 0.04048138111829758, -0.09065371751785278, 1.0634299516677856, 1.2118797302246094, 0.5439410209655762, -0.2782350480556488, -0.9578403830528259, 0.39341527223587036, -0.11219265311956406, -0.7124716639518738, -1.924320101737976, -0.36594563722610474, 0.07950863242149353, 0.6455796957015991, -1.1863903999328613, 1.7372575998306274, 0.9374443888664246, 1.9875837564468384, 0.9381727576255798, -0.3383178412914276, 1.3939460515975952, -0.0436369925737381, 1.8103926181793213, -0.4668791890144348, 0.7255425453186035, -0.3151063323020935, -1.0814316272735596, 0.8651036620140076, -0.3910444378852844, -1.9366828203201294, -0.8746547698974609, -0.936847448348999, -0.23444059491157532, -0.7564910650253296, 0.9366351962089539, -0.3244742155075073, -1.4017082452774048, 0.26979824900627136, -0.7463116645812988, 0.16564838588237762, -1.2840209007263184, 0.21747948229312897, 0.6407814621925354, -0.5627301931381226, -0.036701079457998276, -0.20804913341999054, -1.3438676595687866, -0.3618910610675812, 0.2868925929069519, 1.8819916248321533, -0.7370798587799072, 0.9639889597892761, 0.9340435266494751, -0.6430314779281616, 0.04652511328458786, 0.32703375816345215, -0.23595619201660156, 0.8730683922767639, -1.085213303565979, -0.3676484227180481, 1.1882638931274414, -0.24682217836380005, -0.6438678503036499, 1.45025634765625, 0.7385130524635315, -0.9272345900535583, -0.22346527874469757, -0.27653932571411133, -0.7217949628829956, -0.04541832581162453, -1.6772397756576538, -0.17835459113121033, 0.3040919899940491, -1.3973664045333862, -0.4395991861820221, -0.19634169340133667, 1.378280520439148, -0.1476854532957077, 1.4520163536071777, -0.3785327970981598, -0.26087865233421326, -0.389054536819458, -0.3969872295856476, 0.27273884415626526, -0.2328980416059494, -0.4749540090560913, 0.1725691854953766, -0.9103581309318542, 0.2658661901950836, 1.4730689525604248, 0.2949887216091156, 0.21206660568714142, 0.6611422896385193, 0.9262272715568542, 0.3687629997730255, -0.050201740115880966, -0.924757719039917, -1.5440986156463623, 2.001781463623047, -1.4618048667907715, 1.931663990020752, 0.8375343680381775, -0.08173662424087524, -1.8078902959823608, -1.9239917993545532, 1.3664501905441284, 1.2524820566177368, 2.269585609436035, 0.4978741407394409, 0.41657328605651855, -0.9261641502380371, -0.7378208637237549, 0.21422937512397766, -1.1918412446975708, -0.676024317741394, 0.11204404383897781, 2.2477128505706787, 1.785084843635559, -0.4958459138870239, -0.1902610808610916, -0.9854074120521545, 1.2071794271469116, -0.22608371078968048, 0.18922631442546844, 2.155761480331421, -0.3864138722419739, -0.9917414784431458, 1.150334358215332, -2.392392873764038, 0.1642158180475235, 1.9119185209274292, 0.1583070307970047, 0.16382575035095215, -1.5255721807479858, -0.6102101802825928, -0.17903441190719604, -0.32557934522628784, -1.1692756414413452, 0.6880309581756592, -0.2780112624168396, -0.8497152328491211, -1.404718279838562, 0.206598162651062, -1.0827041864395142, -1.7042769193649292, 0.32669952511787415, 1.808786153793335, 2.147653341293335, -0.917023777961731, 1.4855707883834839, -0.12727440893650055, 0.1268102079629898, 1.2694717645645142, 1.182848572731018, 3.0077757835388184, 1.964111328125, -1.187929391860962, 0.6464349627494812, -0.08611956983804703, -0.46921566128730774, 1.046472430229187, -1.0783586502075195, 1.2229315042495728, -0.1539650410413742, -1.1561490297317505, -1.268520474433899, 0.965541422367096, 0.4952683448791504, 0.04633637145161629, -0.5374359488487244, 1.3553228378295898, 0.015872281044721603, 1.3383961915969849, 0.5684115290641785, -0.3894716203212738, 0.6074326038360596, -0.41212138533592224, -0.4357880651950836, 1.550755500793457, 0.33081260323524475, -1.5624542236328125, -2.1879117488861084, -0.26487329602241516, -0.8495270013809204, -0.08575643599033356, -0.6497749090194702, -1.0054682493209839, 1.6025640964508057, 0.43314170837402344, -1.2278861999511719, -0.37940850853919983, -0.2640739977359772, -0.6336888670921326, 2.6677591800689697, -1.317970871925354, -0.20322366058826447, -0.9581615924835205, -0.41048601269721985, 1.7746267318725586, -1.3363686800003052, -0.15937191247940063, -1.0778409242630005, -0.6777872443199158, -1.2523702383041382, -0.5205428004264832, -0.005729646421968937, -0.9820225834846497, 0.8182539343833923, 0.1496700793504715, -1.1429508924484253, -0.1570415198802948, -0.8273178339004517, 0.8821426630020142, -0.024122685194015503, 0.3289678394794464, 1.8643388748168945, 0.3756881356239319, -0.37666767835617065, 0.6995311975479126, 1.0778158903121948, 0.6143559813499451, -0.6950096487998962, 0.14856471121311188, -0.6555119156837463, 0.35507065057754517, -1.2301466464996338, 0.31393662095069885, -2.949585199356079, 0.6496672034263611, -0.06716398894786835, -0.08066878467798233, -0.04408479481935501, -1.258123517036438, 1.1347134113311768, 2.4856865406036377, -1.1275140047073364, 0.48165109753608704, 0.32133764028549194, 1.2720885276794434, -1.5188838243484497, 0.4063515067100525, -0.523296058177948, 2.1709327697753906, 0.13581913709640503, 1.1552578210830688, -0.400283545255661, -2.179992198944092, 0.6377264857292175, -1.2915267944335938, -1.1060823202133179, 0.6802536249160767, -0.8517076969146729, -0.020150484517216682, -1.4577465057373047, -0.1682577282190323, -0.8695842027664185, -1.3486847877502441, 0.7830354571342468, 0.13069362938404083, 0.44050589203834534, -0.5517676472663879, 0.2815098166465759, -2.159982681274414, -1.4289413690567017, -0.222287118434906, -0.9454479217529297, 0.3702128529548645, -0.3338930606842041, 0.6552920937538147, -0.21751993894577026, 0.09868784993886948, 0.3767639398574829, 1.3764314651489258, 3.401305675506592, 0.10760755091905594, 0.46419620513916016, -0.11361371725797653, -0.8949894905090332, 1.4116824865341187, 1.0311564207077026, -0.06944701820611954, -0.7368143796920776, -0.9768593907356262, 1.396304726600647, 2.01934814453125, 0.940840482711792, 0.1672731190919876, -0.8132615089416504, -0.5349177122116089, -0.09260211884975433, 0.21220208704471588, 0.5437538027763367, 0.8929865956306458, -0.09914529323577881, 0.15331414341926575, 1.414015531539917, 1.1984341144561768, -0.44823944568634033, 0.49333566427230835, -0.8981711268424988, -0.3602764904499054, 0.4429076910018921, 0.3127598762512207, 0.025120891630649567, 0.4151042401790619, -1.0066097974777222, -0.3326282501220703, -0.28430426120758057, -1.0068001747131348, -0.769734799861908, -0.37262481451034546, -0.29339250922203064, 1.6368234157562256, 0.19588986039161682, -0.4215146005153656, 0.07666188478469849, -0.7089236974716187, -0.23012427985668182, -1.076653242111206, 0.13668687641620636, -0.1684332937002182, -0.0765714943408966, 0.03812491148710251, 1.8083174228668213, -0.9822662472724915, -2.250704050064087, 0.28505003452301025, 0.32699304819107056, -0.27778539061546326, 0.15324626863002777, 1.6217509508132935, 0.5857226252555847, 1.4982125759124756, 1.262812852859497, 1.0237244367599487, -0.8106048107147217, -1.2620128393173218, 0.7099063992500305, 1.0826600790023804, -1.4852489233016968, 0.8711186647415161, -0.05152479186654091, -0.5436219573020935, 0.7379471659660339, 1.258050799369812, 0.45769554376602173, -2.0499491691589355, 0.8621091246604919, -0.9170403480529785, 0.8995568752288818, 0.7626081109046936, 0.8631296753883362, 0.3207753896713257, 0.8076619505882263, -1.2624309062957764, -1.1098288297653198, -0.8214790225028992, -0.605198085308075, 2.0437512397766113, -0.1635674685239792, 0.591411292552948, -0.11450342833995819, -1.3126596212387085, -0.08353426307439804, 0.7433149218559265, 0.2866177260875702, -0.3211139142513275, 0.7806432247161865, -0.6677677035331726, -1.05919349193573, -1.5083260536193848, -0.4410386085510254, -1.0204356908798218, -0.9575780034065247, 1.0528535842895508, 0.7511724829673767, 0.23659543693065643, 1.8142856359481812, 0.5642751455307007, 0.30260229110717773, -2.678893566131592, 0.9989428520202637, 0.285004198551178, 0.05979026481509209, 0.8850376605987549, 0.27263516187667847, 1.1004701852798462, 0.024860691279172897, 0.47914671897888184, -2.356067180633545, 2.2739620208740234, -0.17774152755737305, 0.6420682072639465, 0.0438937172293663, -0.15155918896198273, 1.05462646484375, 0.5457125306129456, 0.6645234227180481, -0.9980906248092651, 0.7146076560020447, -0.5388895869255066, 1.2101763486862183, 1.0074248313903809, -0.7693515419960022, 0.014800108037889004, 1.2939295768737793, 0.5230010747909546, -0.48622798919677734, -0.9005749821662903, -0.9119014143943787, 0.8886995911598206, 1.763304352760315, -0.05830749124288559, 0.006138547323644161, 0.7990297079086304, 0.5212330222129822, -1.1580069065093994, 0.02040202170610428, -0.7400781512260437, -0.6775054931640625, 1.621747612953186, 2.117896318435669, -0.1105678379535675, -0.16169489920139313, -0.8438510894775391, -1.2990944385528564, 0.7045375108718872, -0.12930309772491455, 0.04919154942035675, 0.6889636516571045, -0.701423704624176, 1.1344189643859863, 0.6568768620491028, 0.8749790191650391, 0.0574522502720356, 0.34287798404693604, 0.4015733003616333, -0.28157997131347656, -1.1246464252471924, -0.3468594253063202, -1.1791001558303833, -2.6065003871917725, 0.467369943857193, -0.3076028525829315, -1.4044792652130127, 0.03782598301768303, -1.1232396364212036, 0.9735217094421387, -0.7138658165931702, -0.970964252948761, -1.5483999252319336, 0.1995503306388855, -0.25516176223754883, 0.8638534545898438, -1.557471752166748, -0.12292525172233582, 1.2464321851730347, 0.9264451861381531, -0.6472962498664856, 1.0819144248962402, 0.2116827517747879, 1.064905047416687, 0.677897572517395, -0.3470820188522339, 0.5398023724555969, 0.053777050226926804, -1.3101752996444702, 0.6388245820999146, 1.1433935165405273, 0.17001225054264069, 1.3517985343933105, -0.5120702981948853, -0.06037602201104164, 0.5068982839584351, -0.5240592956542969, -0.49650388956069946, -0.35887840390205383, 0.839073121547699, 0.13242745399475098, -0.9774486422538757, 0.04015636816620827, -0.18080081045627594, -0.16390460729599, 0.22726045548915863, -1.5778074264526367, -0.4669680595397949, -0.3474682569503784, -0.5263103246688843, -1.3571709394454956, 0.0036841649562120438, 1.3931703567504883, -0.6545284986495972, -0.29592588543891907, 0.5329943895339966, 0.500266432762146, 0.5236189365386963, 0.6319907903671265, -0.6294229626655579, -0.3158542215824127, -0.244780033826828, -0.2328033447265625, 0.3742590844631195, 1.27639639377594, -0.23066940903663635, -0.9556396007537842, 0.7723202109336853, -0.34585559368133545, 0.06222962960600853, 1.9322195053100586, 0.18428322672843933, -0.8869913220405579, 0.3253863751888275, -0.5957356095314026, 1.950066328048706, 1.4644688367843628, 1.286994457244873, -0.026499096304178238, -0.791100263595581, 0.7105055451393127, -0.15903855860233307, -0.3422068655490875, 0.8386406302452087, 0.45347410440444946, -0.18104109168052673, -1.454511284828186, 0.6634619832038879, 1.2355449199676514, -0.9187434911727905, -1.0048182010650635, 0.02398693934082985, -0.8303467631340027, 1.0671210289001465, 0.7543504238128662, 0.47770556807518005, 0.20393066108226776, 1.6354058980941772, 0.6666098833084106, -0.5780192613601685, 0.4205338954925537, 0.4139007031917572, -0.13094688951969147, -2.0006768703460693, -0.9999575614929199, 0.2860921025276184, -0.43948209285736084, -1.4447309970855713, 1.3387647867202759, -1.0686672925949097, -0.9006156921386719, 0.468818336725235, 0.21774928271770477, 1.4596041440963745, 0.3036767542362213, 1.6215547323226929, 1.987342357635498, 0.9940979480743408, 0.2385619431734085, 1.3901619911193848, -0.18483583629131317, -0.41480234265327454, 1.8280045986175537, -0.3606697618961334, 0.39625483751296997, 1.079237699508667, -0.4974789023399353, -0.9897232055664062, -0.7105834484100342, -1.0927479267120361, -0.5608824491500854, 1.1731089353561401, 0.24140378832817078, -1.1334514617919922, 0.1669911891222, 1.5113625526428223, 0.14622065424919128, -0.27851977944374084, 0.5726346373558044, 0.5488024950027466, -0.6918417811393738, 0.0016180183738470078, -0.8729370832443237, 0.5099571943283081, -0.2181703895330429, -0.3589383661746979, 0.42482930421829224, 0.5411832332611084, 1.2491650581359863, -0.12270291894674301, 0.15201720595359802, 1.1181105375289917, -1.3968555927276611, 1.506133794784546, -0.5599232912063599, 0.15194687247276306, -2.361764907836914, 1.3050124645233154, -0.645611047744751, 1.9689366817474365, -2.7578048706054688, 0.32808175683021545, -0.7326314449310303, -0.4668494760990143, 0.2676110863685608, -0.3511303961277008, 0.0981631726026535, -0.26221057772636414, -1.1670664548873901, -0.0228952094912529, -0.6682708859443665, 0.5812493562698364, 1.1116667985916138, 1.2567232847213745, -1.0767289400100708, -0.18165498971939087, -1.8316078186035156, -0.14937140047550201, -0.844839870929718, 0.23614569008350372, -2.1623713970184326, -0.18248987197875977, -1.9379768371582031, -2.2395436763763428, -1.4237658977508545, -0.845452606678009, 1.105719804763794, 0.2656380236148834, -0.9934303164482117, 1.1700352430343628, -0.2363828718662262, -1.7577308416366577, 1.077859878540039, -2.1192708015441895 ]
https://github.com/huggingface/datasets/issues/4287
"NameError: name 'faiss' is not defined" on `.add_faiss_index` when `device` is not None
So I managed to solve this by adding a missing `import faiss` in the `@staticmethod` defined in https://github.com/huggingface/datasets/blob/f51b6994db27ea69261ef919fb7775928f9ec10b/src/datasets/search.py#L305, triggered from https://github.com/huggingface/datasets/blob/f51b6994db27ea69261ef919fb7775928f9ec10b/src/datasets/search.py#L249 when trying to `ds_with_embeddings.add_faiss_index(column='embeddings', device=0)` with the code above. As it seems that the `@staticmethod` doesn't recognize the `import faiss` defined in https://github.com/huggingface/datasets/blob/f51b6994db27ea69261ef919fb7775928f9ec10b/src/datasets/search.py#L261, so whenever the value of `device` is not None in https://github.com/huggingface/datasets/blob/71f76e0bdeaddadedc4f9c8d15cfff5a36d62f66/src/datasets/search.py#L438, that exception is triggered. So on, adding `import faiss` inside https://github.com/huggingface/datasets/blob/71f76e0bdeaddadedc4f9c8d15cfff5a36d62f66/src/datasets/search.py#L305 right after the check of `device`'s value, solves the issue and lets you calculate the indices in GPU. I'll add the code in a PR linked to this issue in case you want to merge it!
## Describe the bug When using `datasets` to calculate the FAISS indices of a dataset, the exception `NameError: name 'faiss' is not defined` is triggered when trying to calculate those on a device (GPU), so `.add_faiss_index(..., device=0)` fails with that exception. All that assuming that `datasets` is properly installed and `faiss-gpu` too, as well as all the CUDA drivers required. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from transformers import DPRContextEncoder, DPRContextEncoderTokenizer import torch torch.set_grad_enabled(False) ctx_encoder = DPRContextEncoder.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base") ctx_tokenizer = DPRContextEncoderTokenizer.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base") from datasets import load_dataset ds = load_dataset('crime_and_punish', split='train[:100]') ds_with_embeddings = ds.map(lambda example: {'embeddings': ctx_encoder(**ctx_tokenizer(example["line"], return_tensors="pt"))[0][0].numpy()}) ds_with_embeddings.add_faiss_index(column='embeddings', device=0) # default `device=None` ``` ## Expected results A new column named `embeddings` in the dataset that we're adding the index to. ## Actual results An exception is triggered with the following message `NameError: name 'faiss' is not defined`. ## Environment info - `datasets` version: 2.1.0 - Platform: Linux-5.13.0-1022-azure-x86_64-with-glibc2.31 - Python version: 3.9.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.2
773
102
"NameError: name 'faiss' is not defined" on `.add_faiss_index` when `device` is not None ## Describe the bug When using `datasets` to calculate the FAISS indices of a dataset, the exception `NameError: name 'faiss' is not defined` is triggered when trying to calculate those on a device (GPU), so `.add_faiss_index(..., device=0)` fails with that exception. All that assuming that `datasets` is properly installed and `faiss-gpu` too, as well as all the CUDA drivers required. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from transformers import DPRContextEncoder, DPRContextEncoderTokenizer import torch torch.set_grad_enabled(False) ctx_encoder = DPRContextEncoder.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base") ctx_tokenizer = DPRContextEncoderTokenizer.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base") from datasets import load_dataset ds = load_dataset('crime_and_punish', split='train[:100]') ds_with_embeddings = ds.map(lambda example: {'embeddings': ctx_encoder(**ctx_tokenizer(example["line"], return_tensors="pt"))[0][0].numpy()}) ds_with_embeddings.add_faiss_index(column='embeddings', device=0) # default `device=None` ``` ## Expected results A new column named `embeddings` in the dataset that we're adding the index to. ## Actual results An exception is triggered with the following message `NameError: name 'faiss' is not defined`. ## Environment info - `datasets` version: 2.1.0 - Platform: Linux-5.13.0-1022-azure-x86_64-with-glibc2.31 - Python version: 3.9.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.2 So I managed to solve this by adding a missing `import faiss` in the `@staticmethod` defined in https://github.com/huggingface/datasets/blob/f51b6994db27ea69261ef919fb7775928f9ec10b/src/datasets/search.py#L305, triggered from https://github.com/huggingface/datasets/blob/f51b6994db27ea69261ef919fb7775928f9ec10b/src/datasets/search.py#L249 when trying to `ds_with_embeddings.add_faiss_index(column='embeddings', device=0)` with the code above. As it seems that the `@staticmethod` doesn't recognize the `import faiss` defined in https://github.com/huggingface/datasets/blob/f51b6994db27ea69261ef919fb7775928f9ec10b/src/datasets/search.py#L261, so whenever the value of `device` is not None in https://github.com/huggingface/datasets/blob/71f76e0bdeaddadedc4f9c8d15cfff5a36d62f66/src/datasets/search.py#L438, that exception is triggered. So on, adding `import faiss` inside https://github.com/huggingface/datasets/blob/71f76e0bdeaddadedc4f9c8d15cfff5a36d62f66/src/datasets/search.py#L305 right after the check of `device`'s value, solves the issue and lets you calculate the indices in GPU. I'll add the code in a PR linked to this issue in case you want to merge it!
[ -1.2124148607254028, -0.9491466283798218, -0.7390639185905457, 1.592803716659546, -0.12548525631427765, -1.1911717653274536, 0.09714372456073761, -1.063795804977417, 1.6753393411636353, -0.853920578956604, 0.302219420671463, -1.6499511003494263, 0.05493294820189476, -0.5489169359207153, -0.769882321357727, -0.8686373233795166, -0.3376951217651367, -0.7621251344680786, 1.1999812126159668, 2.4599411487579346, 1.1796239614486694, -1.3977150917053223, 2.7379236221313477, 0.7068011164665222, -0.22986216843128204, -1.0249508619308472, 0.45971646904945374, -0.11724960803985596, -1.3515340089797974, -0.49299535155296326, -1.008345365524292, -0.06531260907649994, -0.6237419843673706, -0.5240451693534851, 0.041773054748773575, 0.46222981810569763, -0.35599324107170105, -0.5677943825721741, -0.5910387635231018, -0.8769083619117737, 0.4424261748790741, -0.3391766846179962, 0.8479109406471252, -0.29986223578453064, 1.7856969833374023, -0.5398750901222229, 0.4517905116081238, 0.6639428734779358, 1.3615790605545044, 0.2855494022369385, -0.006500103510916233, 0.40402111411094666, 0.3849996328353882, -0.04469256475567818, 0.5885249376296997, 1.1730738878250122, 0.6057650446891785, 0.46741700172424316, 0.8031910061836243, -2.248372793197632, 1.355339527130127, -1.008863091468811, 0.28394073247909546, 1.2850641012191772, -0.8905518651008606, 0.3206862807273865, -1.7047972679138184, -0.02114669606089592, 0.5548827052116394, -2.2024242877960205, 0.34825634956359863, -1.295690894126892, -0.49427610635757446, 1.0509880781173706, 0.482214093208313, -1.207261562347412, 0.10770869255065918, -0.405537873506546, 1.0406194925308228, 0.41008609533309937, 1.0641072988510132, -1.664814829826355, -0.09157414734363556, -0.26373612880706787, 0.14783799648284912, -1.325347661972046, -1.5707334280014038, 0.5753572583198547, 0.6250315308570862, 0.6498748064041138, -0.1269170641899109, 1.0787566900253296, -1.0660061836242676, 0.765647292137146, -1.0766600370407104, -1.8316282033920288, -1.3868566751480103, -2.3297159671783447, -2.2579925060272217, 0.7462186217308044, -0.4656699001789093, -0.5420255064964294, 2.122631072998047, -0.9395233392715454, -1.7935571670532227, 1.149204969406128, 0.27268171310424805, 0.026756197214126587, 2.369455575942993, 0.23800210654735565, -0.7623222470283508, 0.5205518007278442, -0.8301190137863159, 0.7840193510055542, -0.37649139761924744, 1.316188931465149, 0.37957853078842163, -1.066579818725586, 1.5914247035980225, -0.31477829813957214, 0.6219877600669861, -0.7095125913619995, -0.4955706298351288, -0.6558167934417725, 0.2761285603046417, 1.9556881189346313, -0.2342434674501419, 1.5016881227493286, -0.388678640127182, -1.5280840396881104, -1.6160610914230347, 0.8908863067626953, 0.4096187949180603, -0.7693408131599426, 0.19968415796756744, -0.35268503427505493, 0.1657494306564331, -0.0018695364706218243, 1.1931490898132324, 1.3406871557235718, 0.6871129870414734, -0.35610291361808777, -0.8518126010894775, 0.12975986301898956, -0.033046819269657135, -0.7031058669090271, -1.7786455154418945, -0.3298685550689697, 0.09584400057792664, 0.640916109085083, -1.1482335329055786, 1.6732302904129028, 0.8372852802276611, 1.977047324180603, 1.0748612880706787, -0.34386146068573, 1.4670029878616333, 0.10356216877698898, 1.8107163906097412, -0.4860902428627014, 0.6225635409355164, -0.441001832485199, -1.1122517585754395, 0.846561074256897, -0.34235304594039917, -2.021772861480713, -0.6730684638023376, -0.7673718333244324, -0.22081607580184937, -0.797942042350769, 0.9035202860832214, -0.2740268409252167, -1.4958950281143188, 0.195794478058815, -0.8337927460670471, 0.25738954544067383, -1.1752029657363892, 0.30927303433418274, 0.756498396396637, -0.5937236547470093, 0.17838945984840393, -0.303076833486557, -1.257564663887024, -0.6000488996505737, 0.4121849536895752, 1.7376772165298462, -0.745194137096405, 0.8649199604988098, 1.088427186012268, -0.6753791570663452, -0.016313616186380386, 0.2925107479095459, -0.27539679408073425, 0.843214213848114, -1.0110700130462646, -0.4583966135978699, 1.2266368865966797, -0.2712942063808441, -0.6283325552940369, 1.4190553426742554, 0.7496059536933899, -1.076246738433838, -0.19743764400482178, -0.07414667308330536, -0.866385281085968, 0.12468967586755753, -1.6256310939788818, -0.1654651015996933, 0.4349130392074585, -1.6260640621185303, -0.4366329312324524, -0.19618840515613556, 1.3668005466461182, -0.1399647742509842, 1.4029030799865723, -0.4113573133945465, -0.1287340223789215, -0.2613377869129181, -0.4161767065525055, 0.14140425622463226, -0.30775853991508484, -0.587348461151123, 0.1852409839630127, -0.6438035368919373, 0.3263798952102661, 1.511309027671814, 0.38230207562446594, 0.06547506153583527, 0.4332800507545471, 1.1846599578857422, 0.38617655634880066, -0.04786908999085426, -0.8199107050895691, -1.5533689260482788, 1.9375042915344238, -1.4164750576019287, 2.095229148864746, 0.7016714811325073, -0.03513812646269798, -1.7914021015167236, -1.9285485744476318, 1.3705402612686157, 1.0796576738357544, 2.3125784397125244, 0.5663397908210754, 0.3966542184352875, -0.8751474022865295, -0.67596036195755, 0.3564061224460602, -0.8980141878128052, -0.7805020213127136, 0.06947926431894302, 2.4152767658233643, 1.8288191556930542, -0.3476230502128601, -0.2000374048948288, -0.9493128061294556, 1.4895954132080078, -0.2662220895290375, 0.2765001952648163, 1.9200258255004883, -0.2254253774881363, -1.0384414196014404, 1.2937288284301758, -2.33811092376709, 0.22194859385490417, 2.053877353668213, 0.2058061808347702, 0.14066901803016663, -1.3570194244384766, -0.7171316146850586, -0.28260114789009094, -0.3787059783935547, -1.2008259296417236, 0.4550251364707947, -0.2367125302553177, -0.6878544092178345, -1.4358148574829102, 0.21821534633636475, -1.0743308067321777, -1.6591041088104248, 0.18546000123023987, 1.9710357189178467, 2.0378944873809814, -0.7315606474876404, 1.6182923316955566, -0.30935046076774597, 0.19407212734222412, 1.2511875629425049, 1.2903881072998047, 3.1010453701019287, 1.8905898332595825, -1.283068060874939, 0.6880261898040771, -0.12503774464130402, -0.5037981867790222, 1.1524578332901, -1.1731332540512085, 1.2726765871047974, -0.12012011557817459, -1.2064878940582275, -1.2832565307617188, 0.9240871667861938, 0.5733199715614319, -0.010333480313420296, -0.47233718633651733, 1.1487411260604858, 0.054903868585824966, 1.2748732566833496, 0.559484601020813, -0.31818243861198425, 0.6331387758255005, -0.35216787457466125, -0.5410048961639404, 1.455644965171814, 0.26998844742774963, -1.389310359954834, -2.1856462955474854, -0.1746983528137207, -0.866213321685791, 0.020570877939462662, -0.6710110306739807, -1.0198845863342285, 1.6491986513137817, 0.3687695860862732, -1.1641255617141724, -0.24094827473163605, -0.3301515579223633, -0.568749725818634, 2.7140581607818604, -1.2883139848709106, -0.267865389585495, -1.0119080543518066, -0.6843801140785217, 1.6016556024551392, -1.1622980833053589, -0.2516125440597534, -0.9904758930206299, -0.5470173358917236, -1.2347440719604492, -0.49845415353775024, 0.016639254987239838, -0.9492529630661011, 0.7869037389755249, 0.25426000356674194, -1.2329272031784058, -0.329606294631958, -0.8749118447303772, 0.9216854572296143, -0.17077124118804932, 0.14966917037963867, 1.9465303421020508, 0.32732945680618286, -0.3663887083530426, 0.8139891028404236, 1.1429601907730103, 0.5911513566970825, -0.6160458326339722, 0.24399499595165253, -0.601889967918396, 0.4494461715221405, -1.3520904779434204, 0.31398308277130127, -2.888866901397705, 0.6572046279907227, -0.04945577308535576, -0.0919724553823471, -0.02947850525379181, -1.3621742725372314, 1.0664352178573608, 2.6111350059509277, -1.1826629638671875, 0.5714445114135742, 0.3253716826438904, 1.2307839393615723, -1.6812913417816162, 0.2873140871524811, -0.42979344725608826, 2.1417109966278076, 0.15442605316638947, 1.2190629243850708, -0.4238509237766266, -2.412395477294922, 0.5532420873641968, -1.2093065977096558, -1.037390947341919, 0.7084169387817383, -0.8143388628959656, 0.11273050308227539, -1.4222471714019775, -0.26261386275291443, -0.806542158126831, -1.164994239807129, 0.5835881233215332, 0.1633230298757553, 0.4815680682659149, -0.6039658784866333, 0.3150944709777832, -2.174872398376465, -1.4424494504928589, -0.13951073586940765, -0.8955932259559631, 0.5440695881843567, -0.428358256816864, 0.6883386373519897, -0.24088439345359802, -0.041950494050979614, 0.2743975520133972, 1.5218971967697144, 3.3931124210357666, 0.1397760510444641, 0.3179703652858734, -0.3403426706790924, -0.8611783981323242, 1.4211090803146362, 0.8480343222618103, -0.19761991500854492, -0.5357986688613892, -1.0871046781539917, 1.2698965072631836, 1.987589955329895, 0.9119355082511902, 0.006979041732847691, -0.7906245589256287, -0.784428596496582, -0.0791625827550888, 0.16869543492794037, 0.4968728721141815, 0.909921407699585, 0.17283982038497925, 0.0685359463095665, 1.387300729751587, 1.165434718132019, -0.45912402868270874, 0.38926461338996887, -0.8352435827255249, -0.4368281662464142, 0.4976852238178253, 0.2832834720611572, -0.04432179406285286, 0.27029117941856384, -1.0214999914169312, -0.14008857309818268, -0.4280547499656677, -0.8300688862800598, -0.7378866672515869, -0.36595404148101807, -0.3134327828884125, 1.6518603563308716, 0.1414567232131958, -0.5433276295661926, -0.11418542265892029, -0.7217918634414673, -0.06565796583890915, -1.0440731048583984, 0.27896928787231445, -0.09439459443092346, -0.1616121083498001, -0.1331196129322052, 1.661064863204956, -0.958791971206665, -2.0712780952453613, 0.22821761667728424, 0.23983177542686462, -0.2492654174566269, 0.16837605834007263, 1.6709331274032593, 0.5299568772315979, 1.4748209714889526, 1.415608286857605, 0.9109369516372681, -0.6759387850761414, -1.3636289834976196, 0.6577820777893066, 0.9249311089515686, -1.3367195129394531, 0.878980815410614, -0.014430103823542595, -0.4883251190185547, 0.5681765079498291, 1.3645613193511963, 0.511745810508728, -2.014923334121704, 0.817116379737854, -1.0227850675582886, 0.8191079497337341, 0.8081712126731873, 0.669392466545105, 0.1833273470401764, 0.8226773142814636, -1.1699916124343872, -1.2007120847702026, -0.633901059627533, -0.7929001450538635, 1.8957172632217407, -0.3609529733657837, 0.5581836700439453, -0.15086530148983002, -1.3451694250106812, -0.07207901030778885, 0.7132251858711243, 0.3137267529964447, -0.47936147451400757, 0.7458707094192505, -0.7130872011184692, -1.1093848943710327, -1.3533666133880615, -0.45218437910079956, -1.1006603240966797, -0.9470705986022949, 1.0218794345855713, 0.8375555276870728, 0.3202098309993744, 1.9201362133026123, 0.645228922367096, 0.2727740705013275, -2.5981738567352295, 0.85426265001297, 0.28790777921676636, -0.09161152690649033, 0.8721647262573242, 0.3538367748260498, 1.0217998027801514, -0.012909765355288982, 0.5954758524894714, -2.3005504608154297, 2.320505380630493, -0.1698538213968277, 0.6578783988952637, -0.06847043335437775, -0.05776232108473778, 1.0456688404083252, 0.5605157017707825, 0.5355602502822876, -1.030455470085144, 0.7694936990737915, -0.6140736937522888, 1.2473162412643433, 0.7987934947013855, -0.78299480676651, 0.0024184556677937508, 1.3609038591384888, 0.3365081548690796, -0.6791353821754456, -0.9294479489326477, -1.0239241123199463, 0.9133367538452148, 1.666432499885559, 0.007950914092361927, -0.03357545658946037, 0.8405834436416626, 0.7160802483558655, -1.3200775384902954, 0.09261926263570786, -0.5683231949806213, -0.6958380341529846, 1.6013553142547607, 2.0895843505859375, -0.20000310242176056, -0.1990257054567337, -0.7369309067726135, -1.2413686513900757, 0.739550769329071, 0.024841058999300003, 0.05050703510642052, 0.5638449192047119, -0.6191838979721069, 1.1115659475326538, 0.7985739707946777, 0.8524422645568848, 0.23885858058929443, 0.22692586481571198, 0.396670937538147, -0.3416333794593811, -1.2149759531021118, -0.23319242894649506, -1.067825436592102, -2.473768711090088, 0.3417912423610687, -0.13836228847503662, -1.420682668685913, 0.030050579458475113, -1.022790789604187, 0.8932921290397644, -0.5788005590438843, -1.1434967517852783, -1.4629422426223755, 0.18266314268112183, -0.07505825906991959, 0.8187907934188843, -1.616066813468933, -0.08311177045106888, 1.2161071300506592, 0.9699999094009399, -0.7465118765830994, 0.9903519153594971, 0.19915661215782166, 1.0504413843154907, 0.9181180596351624, -0.3732370436191559, 0.4949356019496918, 0.026752259582281113, -1.326137661933899, 0.4438559114933014, 1.2355207204818726, 0.17944088578224182, 1.4550358057022095, -0.552955150604248, -0.0706413984298706, 0.3663215637207031, -0.48684993386268616, -0.45826011896133423, -0.5681265592575073, 0.6429916024208069, 0.04978020861744881, -0.8578892946243286, -0.01833888329565525, 0.025406651198863983, -0.2404669225215912, 0.17810626327991486, -1.5470333099365234, -0.12725919485092163, -0.411350816488266, -0.6239307522773743, -1.2650222778320312, -0.1023784652352333, 1.40874445438385, -0.7986875772476196, -0.23711740970611572, 0.4662015736103058, 0.3419238328933716, 0.4626329839229584, 0.6802325248718262, -0.6991369128227234, -0.32674506306648254, -0.14990362524986267, -0.3006446361541748, 0.3667503595352173, 1.3606160879135132, -0.05322027578949928, -0.8824835419654846, 0.7007769346237183, -0.3701390027999878, 0.09959582984447479, 1.9033007621765137, 0.0216570682823658, -0.8209909796714783, 0.24900563061237335, -0.7370681762695312, 2.0169224739074707, 1.7271466255187988, 1.3236624002456665, -0.13468778133392334, -1.0480751991271973, 0.6598068475723267, -0.2995208501815796, -0.354236900806427, 0.8897093534469604, 0.3432343304157257, -0.3086446523666382, -1.380585789680481, 0.7109988927841187, 1.1948680877685547, -0.8141875863075256, -0.905937135219574, 0.13571511209011078, -0.8186042904853821, 1.1045421361923218, 0.6190495491027832, 0.3039255440235138, 0.2751278877258301, 1.6071183681488037, 0.7818211317062378, -0.43103528022766113, 0.5863891839981079, 0.4870380461215973, -0.23874306678771973, -2.016921043395996, -1.1542582511901855, 0.29610949754714966, -0.5026214718818665, -1.6988637447357178, 1.3965332508087158, -1.1604152917861938, -0.8952519297599792, 0.5376392602920532, 0.05817672237753868, 1.3704959154129028, 0.32252296805381775, 1.5534570217132568, 2.0703024864196777, 0.8758142590522766, 0.43580368161201477, 1.198544979095459, -0.32202261686325073, -0.48800545930862427, 1.8086028099060059, -0.48773065209388733, 0.5286957621574402, 1.0849179029464722, -0.4004192650318146, -1.1346471309661865, -0.7729505300521851, -1.232062816619873, -0.726527750492096, 1.0972943305969238, 0.13646729290485382, -1.1286146640777588, 0.270184189081192, 1.5657089948654175, 0.07022879272699356, -0.25946250557899475, 0.6372694373130798, 0.40959081053733826, -0.8165949583053589, -0.013746372424066067, -0.9497747421264648, 0.5504262447357178, -0.28571659326553345, -0.36017945408821106, 0.40976056456565857, 0.4061641991138458, 1.345967411994934, -0.020352758467197418, 0.08251652866601944, 1.0938866138458252, -1.445707082748413, 1.4681519269943237, -0.7691865563392639, 0.3458312749862671, -2.3332297801971436, 1.4086107015609741, -0.7910031676292419, 2.0695064067840576, -2.6346638202667236, 0.48368415236473083, -0.6182897686958313, -0.5778884887695312, 0.3077790141105652, -0.27816668152809143, 0.20097286999225616, -0.09328648447990417, -1.1293765306472778, -0.09844058007001877, -0.7353532314300537, 0.5028143525123596, 1.1464827060699463, 1.3763524293899536, -1.1011923551559448, -0.28979361057281494, -1.7085959911346436, -0.19415335357189178, -0.7271775603294373, 0.3307798504829407, -1.9818342924118042, -0.19271619617938995, -1.9478611946105957, -2.3738174438476562, -1.2042595148086548, -0.7556522488594055, 1.1023958921432495, 0.11720017343759537, -0.8567347526550293, 1.3082000017166138, -0.3419922888278961, -1.820529818534851, 1.146347999572754, -2.0879952907562256 ]
https://github.com/huggingface/datasets/issues/4287
"NameError: name 'faiss' is not defined" on `.add_faiss_index` when `device` is not None
Adding here the complete error traceback! ``` Traceback (most recent call last): File "/home/alvarobartt/lol.py", line 12, in <module> ds_with_embeddings.add_faiss_index(column='embeddings', device=0) # default `device=None` File "/home/alvarobartt/.local/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 3656, in add_faiss_index super().add_faiss_index( File "/home/alvarobartt/.local/lib/python3.9/site-packages/datasets/search.py", line 478, in add_faiss_index faiss_index.add_vectors(self, column=column, train_size=train_size, faiss_verbose=True) File "/home/alvarobartt/.local/lib/python3.9/site-packages/datasets/search.py", line 281, in add_vectors self.faiss_index = self._faiss_index_to_device(index, self.device) File "/home/alvarobartt/.local/lib/python3.9/site-packages/datasets/search.py", line 327, in _faiss_index_to_device faiss_res = faiss.StandardGpuResources() NameError: name 'faiss' is not defined ```
## Describe the bug When using `datasets` to calculate the FAISS indices of a dataset, the exception `NameError: name 'faiss' is not defined` is triggered when trying to calculate those on a device (GPU), so `.add_faiss_index(..., device=0)` fails with that exception. All that assuming that `datasets` is properly installed and `faiss-gpu` too, as well as all the CUDA drivers required. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from transformers import DPRContextEncoder, DPRContextEncoderTokenizer import torch torch.set_grad_enabled(False) ctx_encoder = DPRContextEncoder.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base") ctx_tokenizer = DPRContextEncoderTokenizer.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base") from datasets import load_dataset ds = load_dataset('crime_and_punish', split='train[:100]') ds_with_embeddings = ds.map(lambda example: {'embeddings': ctx_encoder(**ctx_tokenizer(example["line"], return_tensors="pt"))[0][0].numpy()}) ds_with_embeddings.add_faiss_index(column='embeddings', device=0) # default `device=None` ``` ## Expected results A new column named `embeddings` in the dataset that we're adding the index to. ## Actual results An exception is triggered with the following message `NameError: name 'faiss' is not defined`. ## Environment info - `datasets` version: 2.1.0 - Platform: Linux-5.13.0-1022-azure-x86_64-with-glibc2.31 - Python version: 3.9.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.2
773
66
"NameError: name 'faiss' is not defined" on `.add_faiss_index` when `device` is not None ## Describe the bug When using `datasets` to calculate the FAISS indices of a dataset, the exception `NameError: name 'faiss' is not defined` is triggered when trying to calculate those on a device (GPU), so `.add_faiss_index(..., device=0)` fails with that exception. All that assuming that `datasets` is properly installed and `faiss-gpu` too, as well as all the CUDA drivers required. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from transformers import DPRContextEncoder, DPRContextEncoderTokenizer import torch torch.set_grad_enabled(False) ctx_encoder = DPRContextEncoder.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base") ctx_tokenizer = DPRContextEncoderTokenizer.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base") from datasets import load_dataset ds = load_dataset('crime_and_punish', split='train[:100]') ds_with_embeddings = ds.map(lambda example: {'embeddings': ctx_encoder(**ctx_tokenizer(example["line"], return_tensors="pt"))[0][0].numpy()}) ds_with_embeddings.add_faiss_index(column='embeddings', device=0) # default `device=None` ``` ## Expected results A new column named `embeddings` in the dataset that we're adding the index to. ## Actual results An exception is triggered with the following message `NameError: name 'faiss' is not defined`. ## Environment info - `datasets` version: 2.1.0 - Platform: Linux-5.13.0-1022-azure-x86_64-with-glibc2.31 - Python version: 3.9.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.2 Adding here the complete error traceback! ``` Traceback (most recent call last): File "/home/alvarobartt/lol.py", line 12, in <module> ds_with_embeddings.add_faiss_index(column='embeddings', device=0) # default `device=None` File "/home/alvarobartt/.local/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 3656, in add_faiss_index super().add_faiss_index( File "/home/alvarobartt/.local/lib/python3.9/site-packages/datasets/search.py", line 478, in add_faiss_index faiss_index.add_vectors(self, column=column, train_size=train_size, faiss_verbose=True) File "/home/alvarobartt/.local/lib/python3.9/site-packages/datasets/search.py", line 281, in add_vectors self.faiss_index = self._faiss_index_to_device(index, self.device) File "/home/alvarobartt/.local/lib/python3.9/site-packages/datasets/search.py", line 327, in _faiss_index_to_device faiss_res = faiss.StandardGpuResources() NameError: name 'faiss' is not defined ```
[ -1.2124148607254028, -0.9491466283798218, -0.7390639185905457, 1.592803716659546, -0.12548525631427765, -1.1911717653274536, 0.09714372456073761, -1.063795804977417, 1.6753393411636353, -0.853920578956604, 0.302219420671463, -1.6499511003494263, 0.05493294820189476, -0.5489169359207153, -0.769882321357727, -0.8686373233795166, -0.3376951217651367, -0.7621251344680786, 1.1999812126159668, 2.4599411487579346, 1.1796239614486694, -1.3977150917053223, 2.7379236221313477, 0.7068011164665222, -0.22986216843128204, -1.0249508619308472, 0.45971646904945374, -0.11724960803985596, -1.3515340089797974, -0.49299535155296326, -1.008345365524292, -0.06531260907649994, -0.6237419843673706, -0.5240451693534851, 0.041773054748773575, 0.46222981810569763, -0.35599324107170105, -0.5677943825721741, -0.5910387635231018, -0.8769083619117737, 0.4424261748790741, -0.3391766846179962, 0.8479109406471252, -0.29986223578453064, 1.7856969833374023, -0.5398750901222229, 0.4517905116081238, 0.6639428734779358, 1.3615790605545044, 0.2855494022369385, -0.006500103510916233, 0.40402111411094666, 0.3849996328353882, -0.04469256475567818, 0.5885249376296997, 1.1730738878250122, 0.6057650446891785, 0.46741700172424316, 0.8031910061836243, -2.248372793197632, 1.355339527130127, -1.008863091468811, 0.28394073247909546, 1.2850641012191772, -0.8905518651008606, 0.3206862807273865, -1.7047972679138184, -0.02114669606089592, 0.5548827052116394, -2.2024242877960205, 0.34825634956359863, -1.295690894126892, -0.49427610635757446, 1.0509880781173706, 0.482214093208313, -1.207261562347412, 0.10770869255065918, -0.405537873506546, 1.0406194925308228, 0.41008609533309937, 1.0641072988510132, -1.664814829826355, -0.09157414734363556, -0.26373612880706787, 0.14783799648284912, -1.325347661972046, -1.5707334280014038, 0.5753572583198547, 0.6250315308570862, 0.6498748064041138, -0.1269170641899109, 1.0787566900253296, -1.0660061836242676, 0.765647292137146, -1.0766600370407104, -1.8316282033920288, -1.3868566751480103, -2.3297159671783447, -2.2579925060272217, 0.7462186217308044, -0.4656699001789093, -0.5420255064964294, 2.122631072998047, -0.9395233392715454, -1.7935571670532227, 1.149204969406128, 0.27268171310424805, 0.026756197214126587, 2.369455575942993, 0.23800210654735565, -0.7623222470283508, 0.5205518007278442, -0.8301190137863159, 0.7840193510055542, -0.37649139761924744, 1.316188931465149, 0.37957853078842163, -1.066579818725586, 1.5914247035980225, -0.31477829813957214, 0.6219877600669861, -0.7095125913619995, -0.4955706298351288, -0.6558167934417725, 0.2761285603046417, 1.9556881189346313, -0.2342434674501419, 1.5016881227493286, -0.388678640127182, -1.5280840396881104, -1.6160610914230347, 0.8908863067626953, 0.4096187949180603, -0.7693408131599426, 0.19968415796756744, -0.35268503427505493, 0.1657494306564331, -0.0018695364706218243, 1.1931490898132324, 1.3406871557235718, 0.6871129870414734, -0.35610291361808777, -0.8518126010894775, 0.12975986301898956, -0.033046819269657135, -0.7031058669090271, -1.7786455154418945, -0.3298685550689697, 0.09584400057792664, 0.640916109085083, -1.1482335329055786, 1.6732302904129028, 0.8372852802276611, 1.977047324180603, 1.0748612880706787, -0.34386146068573, 1.4670029878616333, 0.10356216877698898, 1.8107163906097412, -0.4860902428627014, 0.6225635409355164, -0.441001832485199, -1.1122517585754395, 0.846561074256897, -0.34235304594039917, -2.021772861480713, -0.6730684638023376, -0.7673718333244324, -0.22081607580184937, -0.797942042350769, 0.9035202860832214, -0.2740268409252167, -1.4958950281143188, 0.195794478058815, -0.8337927460670471, 0.25738954544067383, -1.1752029657363892, 0.30927303433418274, 0.756498396396637, -0.5937236547470093, 0.17838945984840393, -0.303076833486557, -1.257564663887024, -0.6000488996505737, 0.4121849536895752, 1.7376772165298462, -0.745194137096405, 0.8649199604988098, 1.088427186012268, -0.6753791570663452, -0.016313616186380386, 0.2925107479095459, -0.27539679408073425, 0.843214213848114, -1.0110700130462646, -0.4583966135978699, 1.2266368865966797, -0.2712942063808441, -0.6283325552940369, 1.4190553426742554, 0.7496059536933899, -1.076246738433838, -0.19743764400482178, -0.07414667308330536, -0.866385281085968, 0.12468967586755753, -1.6256310939788818, -0.1654651015996933, 0.4349130392074585, -1.6260640621185303, -0.4366329312324524, -0.19618840515613556, 1.3668005466461182, -0.1399647742509842, 1.4029030799865723, -0.4113573133945465, -0.1287340223789215, -0.2613377869129181, -0.4161767065525055, 0.14140425622463226, -0.30775853991508484, -0.587348461151123, 0.1852409839630127, -0.6438035368919373, 0.3263798952102661, 1.511309027671814, 0.38230207562446594, 0.06547506153583527, 0.4332800507545471, 1.1846599578857422, 0.38617655634880066, -0.04786908999085426, -0.8199107050895691, -1.5533689260482788, 1.9375042915344238, -1.4164750576019287, 2.095229148864746, 0.7016714811325073, -0.03513812646269798, -1.7914021015167236, -1.9285485744476318, 1.3705402612686157, 1.0796576738357544, 2.3125784397125244, 0.5663397908210754, 0.3966542184352875, -0.8751474022865295, -0.67596036195755, 0.3564061224460602, -0.8980141878128052, -0.7805020213127136, 0.06947926431894302, 2.4152767658233643, 1.8288191556930542, -0.3476230502128601, -0.2000374048948288, -0.9493128061294556, 1.4895954132080078, -0.2662220895290375, 0.2765001952648163, 1.9200258255004883, -0.2254253774881363, -1.0384414196014404, 1.2937288284301758, -2.33811092376709, 0.22194859385490417, 2.053877353668213, 0.2058061808347702, 0.14066901803016663, -1.3570194244384766, -0.7171316146850586, -0.28260114789009094, -0.3787059783935547, -1.2008259296417236, 0.4550251364707947, -0.2367125302553177, -0.6878544092178345, -1.4358148574829102, 0.21821534633636475, -1.0743308067321777, -1.6591041088104248, 0.18546000123023987, 1.9710357189178467, 2.0378944873809814, -0.7315606474876404, 1.6182923316955566, -0.30935046076774597, 0.19407212734222412, 1.2511875629425049, 1.2903881072998047, 3.1010453701019287, 1.8905898332595825, -1.283068060874939, 0.6880261898040771, -0.12503774464130402, -0.5037981867790222, 1.1524578332901, -1.1731332540512085, 1.2726765871047974, -0.12012011557817459, -1.2064878940582275, -1.2832565307617188, 0.9240871667861938, 0.5733199715614319, -0.010333480313420296, -0.47233718633651733, 1.1487411260604858, 0.054903868585824966, 1.2748732566833496, 0.559484601020813, -0.31818243861198425, 0.6331387758255005, -0.35216787457466125, -0.5410048961639404, 1.455644965171814, 0.26998844742774963, -1.389310359954834, -2.1856462955474854, -0.1746983528137207, -0.866213321685791, 0.020570877939462662, -0.6710110306739807, -1.0198845863342285, 1.6491986513137817, 0.3687695860862732, -1.1641255617141724, -0.24094827473163605, -0.3301515579223633, -0.568749725818634, 2.7140581607818604, -1.2883139848709106, -0.267865389585495, -1.0119080543518066, -0.6843801140785217, 1.6016556024551392, -1.1622980833053589, -0.2516125440597534, -0.9904758930206299, -0.5470173358917236, -1.2347440719604492, -0.49845415353775024, 0.016639254987239838, -0.9492529630661011, 0.7869037389755249, 0.25426000356674194, -1.2329272031784058, -0.329606294631958, -0.8749118447303772, 0.9216854572296143, -0.17077124118804932, 0.14966917037963867, 1.9465303421020508, 0.32732945680618286, -0.3663887083530426, 0.8139891028404236, 1.1429601907730103, 0.5911513566970825, -0.6160458326339722, 0.24399499595165253, -0.601889967918396, 0.4494461715221405, -1.3520904779434204, 0.31398308277130127, -2.888866901397705, 0.6572046279907227, -0.04945577308535576, -0.0919724553823471, -0.02947850525379181, -1.3621742725372314, 1.0664352178573608, 2.6111350059509277, -1.1826629638671875, 0.5714445114135742, 0.3253716826438904, 1.2307839393615723, -1.6812913417816162, 0.2873140871524811, -0.42979344725608826, 2.1417109966278076, 0.15442605316638947, 1.2190629243850708, -0.4238509237766266, -2.412395477294922, 0.5532420873641968, -1.2093065977096558, -1.037390947341919, 0.7084169387817383, -0.8143388628959656, 0.11273050308227539, -1.4222471714019775, -0.26261386275291443, -0.806542158126831, -1.164994239807129, 0.5835881233215332, 0.1633230298757553, 0.4815680682659149, -0.6039658784866333, 0.3150944709777832, -2.174872398376465, -1.4424494504928589, -0.13951073586940765, -0.8955932259559631, 0.5440695881843567, -0.428358256816864, 0.6883386373519897, -0.24088439345359802, -0.041950494050979614, 0.2743975520133972, 1.5218971967697144, 3.3931124210357666, 0.1397760510444641, 0.3179703652858734, -0.3403426706790924, -0.8611783981323242, 1.4211090803146362, 0.8480343222618103, -0.19761991500854492, -0.5357986688613892, -1.0871046781539917, 1.2698965072631836, 1.987589955329895, 0.9119355082511902, 0.006979041732847691, -0.7906245589256287, -0.784428596496582, -0.0791625827550888, 0.16869543492794037, 0.4968728721141815, 0.909921407699585, 0.17283982038497925, 0.0685359463095665, 1.387300729751587, 1.165434718132019, -0.45912402868270874, 0.38926461338996887, -0.8352435827255249, -0.4368281662464142, 0.4976852238178253, 0.2832834720611572, -0.04432179406285286, 0.27029117941856384, -1.0214999914169312, -0.14008857309818268, -0.4280547499656677, -0.8300688862800598, -0.7378866672515869, -0.36595404148101807, -0.3134327828884125, 1.6518603563308716, 0.1414567232131958, -0.5433276295661926, -0.11418542265892029, -0.7217918634414673, -0.06565796583890915, -1.0440731048583984, 0.27896928787231445, -0.09439459443092346, -0.1616121083498001, -0.1331196129322052, 1.661064863204956, -0.958791971206665, -2.0712780952453613, 0.22821761667728424, 0.23983177542686462, -0.2492654174566269, 0.16837605834007263, 1.6709331274032593, 0.5299568772315979, 1.4748209714889526, 1.415608286857605, 0.9109369516372681, -0.6759387850761414, -1.3636289834976196, 0.6577820777893066, 0.9249311089515686, -1.3367195129394531, 0.878980815410614, -0.014430103823542595, -0.4883251190185547, 0.5681765079498291, 1.3645613193511963, 0.511745810508728, -2.014923334121704, 0.817116379737854, -1.0227850675582886, 0.8191079497337341, 0.8081712126731873, 0.669392466545105, 0.1833273470401764, 0.8226773142814636, -1.1699916124343872, -1.2007120847702026, -0.633901059627533, -0.7929001450538635, 1.8957172632217407, -0.3609529733657837, 0.5581836700439453, -0.15086530148983002, -1.3451694250106812, -0.07207901030778885, 0.7132251858711243, 0.3137267529964447, -0.47936147451400757, 0.7458707094192505, -0.7130872011184692, -1.1093848943710327, -1.3533666133880615, -0.45218437910079956, -1.1006603240966797, -0.9470705986022949, 1.0218794345855713, 0.8375555276870728, 0.3202098309993744, 1.9201362133026123, 0.645228922367096, 0.2727740705013275, -2.5981738567352295, 0.85426265001297, 0.28790777921676636, -0.09161152690649033, 0.8721647262573242, 0.3538367748260498, 1.0217998027801514, -0.012909765355288982, 0.5954758524894714, -2.3005504608154297, 2.320505380630493, -0.1698538213968277, 0.6578783988952637, -0.06847043335437775, -0.05776232108473778, 1.0456688404083252, 0.5605157017707825, 0.5355602502822876, -1.030455470085144, 0.7694936990737915, -0.6140736937522888, 1.2473162412643433, 0.7987934947013855, -0.78299480676651, 0.0024184556677937508, 1.3609038591384888, 0.3365081548690796, -0.6791353821754456, -0.9294479489326477, -1.0239241123199463, 0.9133367538452148, 1.666432499885559, 0.007950914092361927, -0.03357545658946037, 0.8405834436416626, 0.7160802483558655, -1.3200775384902954, 0.09261926263570786, -0.5683231949806213, -0.6958380341529846, 1.6013553142547607, 2.0895843505859375, -0.20000310242176056, -0.1990257054567337, -0.7369309067726135, -1.2413686513900757, 0.739550769329071, 0.024841058999300003, 0.05050703510642052, 0.5638449192047119, -0.6191838979721069, 1.1115659475326538, 0.7985739707946777, 0.8524422645568848, 0.23885858058929443, 0.22692586481571198, 0.396670937538147, -0.3416333794593811, -1.2149759531021118, -0.23319242894649506, -1.067825436592102, -2.473768711090088, 0.3417912423610687, -0.13836228847503662, -1.420682668685913, 0.030050579458475113, -1.022790789604187, 0.8932921290397644, -0.5788005590438843, -1.1434967517852783, -1.4629422426223755, 0.18266314268112183, -0.07505825906991959, 0.8187907934188843, -1.616066813468933, -0.08311177045106888, 1.2161071300506592, 0.9699999094009399, -0.7465118765830994, 0.9903519153594971, 0.19915661215782166, 1.0504413843154907, 0.9181180596351624, -0.3732370436191559, 0.4949356019496918, 0.026752259582281113, -1.326137661933899, 0.4438559114933014, 1.2355207204818726, 0.17944088578224182, 1.4550358057022095, -0.552955150604248, -0.0706413984298706, 0.3663215637207031, -0.48684993386268616, -0.45826011896133423, -0.5681265592575073, 0.6429916024208069, 0.04978020861744881, -0.8578892946243286, -0.01833888329565525, 0.025406651198863983, -0.2404669225215912, 0.17810626327991486, -1.5470333099365234, -0.12725919485092163, -0.411350816488266, -0.6239307522773743, -1.2650222778320312, -0.1023784652352333, 1.40874445438385, -0.7986875772476196, -0.23711740970611572, 0.4662015736103058, 0.3419238328933716, 0.4626329839229584, 0.6802325248718262, -0.6991369128227234, -0.32674506306648254, -0.14990362524986267, -0.3006446361541748, 0.3667503595352173, 1.3606160879135132, -0.05322027578949928, -0.8824835419654846, 0.7007769346237183, -0.3701390027999878, 0.09959582984447479, 1.9033007621765137, 0.0216570682823658, -0.8209909796714783, 0.24900563061237335, -0.7370681762695312, 2.0169224739074707, 1.7271466255187988, 1.3236624002456665, -0.13468778133392334, -1.0480751991271973, 0.6598068475723267, -0.2995208501815796, -0.354236900806427, 0.8897093534469604, 0.3432343304157257, -0.3086446523666382, -1.380585789680481, 0.7109988927841187, 1.1948680877685547, -0.8141875863075256, -0.905937135219574, 0.13571511209011078, -0.8186042904853821, 1.1045421361923218, 0.6190495491027832, 0.3039255440235138, 0.2751278877258301, 1.6071183681488037, 0.7818211317062378, -0.43103528022766113, 0.5863891839981079, 0.4870380461215973, -0.23874306678771973, -2.016921043395996, -1.1542582511901855, 0.29610949754714966, -0.5026214718818665, -1.6988637447357178, 1.3965332508087158, -1.1604152917861938, -0.8952519297599792, 0.5376392602920532, 0.05817672237753868, 1.3704959154129028, 0.32252296805381775, 1.5534570217132568, 2.0703024864196777, 0.8758142590522766, 0.43580368161201477, 1.198544979095459, -0.32202261686325073, -0.48800545930862427, 1.8086028099060059, -0.48773065209388733, 0.5286957621574402, 1.0849179029464722, -0.4004192650318146, -1.1346471309661865, -0.7729505300521851, -1.232062816619873, -0.726527750492096, 1.0972943305969238, 0.13646729290485382, -1.1286146640777588, 0.270184189081192, 1.5657089948654175, 0.07022879272699356, -0.25946250557899475, 0.6372694373130798, 0.40959081053733826, -0.8165949583053589, -0.013746372424066067, -0.9497747421264648, 0.5504262447357178, -0.28571659326553345, -0.36017945408821106, 0.40976056456565857, 0.4061641991138458, 1.345967411994934, -0.020352758467197418, 0.08251652866601944, 1.0938866138458252, -1.445707082748413, 1.4681519269943237, -0.7691865563392639, 0.3458312749862671, -2.3332297801971436, 1.4086107015609741, -0.7910031676292419, 2.0695064067840576, -2.6346638202667236, 0.48368415236473083, -0.6182897686958313, -0.5778884887695312, 0.3077790141105652, -0.27816668152809143, 0.20097286999225616, -0.09328648447990417, -1.1293765306472778, -0.09844058007001877, -0.7353532314300537, 0.5028143525123596, 1.1464827060699463, 1.3763524293899536, -1.1011923551559448, -0.28979361057281494, -1.7085959911346436, -0.19415335357189178, -0.7271775603294373, 0.3307798504829407, -1.9818342924118042, -0.19271619617938995, -1.9478611946105957, -2.3738174438476562, -1.2042595148086548, -0.7556522488594055, 1.1023958921432495, 0.11720017343759537, -0.8567347526550293, 1.3082000017166138, -0.3419922888278961, -1.820529818534851, 1.146347999572754, -2.0879952907562256 ]
https://github.com/huggingface/datasets/issues/4284
Issues in processing very large datasets
Hi ! `datasets` doesn't load the dataset in memory. Instead it uses memory mapping to load your dataset from your disk (it is stored as arrow files). Do you know at what point you have RAM issues exactly ? How big are your graph_data_train dictionaries btw ?
## Describe the bug I'm trying to add a feature called "subgraph" to CNN/DM dataset (modifications on run_summarization.py of Huggingface Transformers script) --- I'm not quite sure if I'm doing it the right way, though--- but the main problem appears when the training starts where the error ` [OSError: [Errno 12] Cannot allocate memory]` appears. I suppose this problem roots in RAM issues and how the dataset is loaded during training, but I have no clue of what I can do to fix it. Observing the dataset's cache directory, I see that it takes ~600GB of memory and that's why I believe special care is needed when loading it into the memory. Here are my modifications to `run_summarization.py` code. ``` # loading pre-computed dictionary where keys are 'id' of article and values are corresponding subgraph graph_data_train = get_graph_data('train') graph_data_validation = get_graph_data('val') ... ... with training_args.main_process_first(desc="train dataset map pre-processing"): train_dataset = train_dataset.map( preprocess_function_train, batched=True, num_proc=data_args.preprocessing_num_workers, remove_columns=column_names, load_from_cache_file=not data_args.overwrite_cache, desc="Running tokenizer on train dataset", ) ``` And here is the modified preprocessed function: ``` def preprocess_function_train(examples): inputs, targets, sub_graphs, ids = [], [], [], [] for i in range(len(examples[text_column])): if examples[text_column][i] is not None and examples[summary_column][i] is not None: # if examples['doc_id'][i] in graph_data.keys(): inputs.append(examples[text_column][i]) targets.append(examples[summary_column][i]) sub_graphs.append(graph_data_train[examples['id'][i]]) ids.append(examples['id'][i]) inputs = [prefix + inp for inp in inputs] model_inputs = tokenizer(inputs, max_length=data_args.max_source_length, padding=padding, truncation=True, sub_graphs=sub_graphs, ids=ids) # Setup the tokenizer for targets with tokenizer.as_target_tokenizer(): labels = tokenizer(targets, max_length=max_target_length, padding=padding, truncation=True) # If we are padding here, replace all tokenizer.pad_token_id in the labels by -100 when we want to ignore # padding in the loss. if padding == "max_length" and data_args.ignore_pad_token_for_loss: labels["input_ids"] = [ [(l if l != tokenizer.pad_token_id else -100) for l in label] for label in labels["input_ids"] ] model_inputs["labels"] = labels["input_ids"] return model_inputs ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.1.0 - Platform: Linux Ubuntu - Python version: 3.6 - PyArrow version: 6.0.1
774
47
Issues in processing very large datasets ## Describe the bug I'm trying to add a feature called "subgraph" to CNN/DM dataset (modifications on run_summarization.py of Huggingface Transformers script) --- I'm not quite sure if I'm doing it the right way, though--- but the main problem appears when the training starts where the error ` [OSError: [Errno 12] Cannot allocate memory]` appears. I suppose this problem roots in RAM issues and how the dataset is loaded during training, but I have no clue of what I can do to fix it. Observing the dataset's cache directory, I see that it takes ~600GB of memory and that's why I believe special care is needed when loading it into the memory. Here are my modifications to `run_summarization.py` code. ``` # loading pre-computed dictionary where keys are 'id' of article and values are corresponding subgraph graph_data_train = get_graph_data('train') graph_data_validation = get_graph_data('val') ... ... with training_args.main_process_first(desc="train dataset map pre-processing"): train_dataset = train_dataset.map( preprocess_function_train, batched=True, num_proc=data_args.preprocessing_num_workers, remove_columns=column_names, load_from_cache_file=not data_args.overwrite_cache, desc="Running tokenizer on train dataset", ) ``` And here is the modified preprocessed function: ``` def preprocess_function_train(examples): inputs, targets, sub_graphs, ids = [], [], [], [] for i in range(len(examples[text_column])): if examples[text_column][i] is not None and examples[summary_column][i] is not None: # if examples['doc_id'][i] in graph_data.keys(): inputs.append(examples[text_column][i]) targets.append(examples[summary_column][i]) sub_graphs.append(graph_data_train[examples['id'][i]]) ids.append(examples['id'][i]) inputs = [prefix + inp for inp in inputs] model_inputs = tokenizer(inputs, max_length=data_args.max_source_length, padding=padding, truncation=True, sub_graphs=sub_graphs, ids=ids) # Setup the tokenizer for targets with tokenizer.as_target_tokenizer(): labels = tokenizer(targets, max_length=max_target_length, padding=padding, truncation=True) # If we are padding here, replace all tokenizer.pad_token_id in the labels by -100 when we want to ignore # padding in the loss. if padding == "max_length" and data_args.ignore_pad_token_for_loss: labels["input_ids"] = [ [(l if l != tokenizer.pad_token_id else -100) for l in label] for label in labels["input_ids"] ] model_inputs["labels"] = labels["input_ids"] return model_inputs ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.1.0 - Platform: Linux Ubuntu - Python version: 3.6 - PyArrow version: 6.0.1 Hi ! `datasets` doesn't load the dataset in memory. Instead it uses memory mapping to load your dataset from your disk (it is stored as arrow files). Do you know at what point you have RAM issues exactly ? How big are your graph_data_train dictionaries btw ?
[ -1.2905961275100708, -0.8958348631858826, -0.6813303828239441, 1.5134526491165161, -0.1368969976902008, -1.1932952404022217, 0.1313745081424713, -1.120847463607788, 1.6770180463790894, -0.8296830058097839, 0.3555484414100647, -1.6116094589233398, 0.021619636565446854, -0.5953904390335083, -0.7358767986297607, -0.8522893786430359, -0.3634910583496094, -0.7866106629371643, 1.1193686723709106, 2.3867838382720947, 1.1749204397201538, -1.4604367017745972, 2.763908863067627, 0.6939928531646729, -0.12126438319683075, -1.0701572895050049, 0.5217791795730591, 0.057519130408763885, -1.2471767663955688, -0.412776917219162, -1.0389583110809326, -0.10117907077074051, -0.6109857559204102, -0.4391155540943146, -0.04718288034200668, 0.393777459859848, -0.23958134651184082, -0.4015873968601227, -0.5108022093772888, -0.7915674448013306, 0.5001574754714966, -0.3336411118507385, 0.9377212524414062, -0.3111211657524109, 1.765135407447815, -0.5462168455123901, 0.4798417389392853, 0.7011982202529907, 1.2529726028442383, 0.21830418705940247, -0.04955616220831871, 0.3742169737815857, 0.4278481900691986, -0.05956021323800087, 0.5130347013473511, 1.1772054433822632, 0.6406806111335754, 0.4806160628795624, 0.7795453071594238, -2.2099297046661377, 1.2846062183380127, -0.9938209652900696, 0.32443967461586, 1.3254132270812988, -0.9871188998222351, 0.36087024211883545, -1.7367942333221436, -0.045815687626600266, 0.6693568825721741, -2.198746681213379, 0.25044935941696167, -1.3346413373947144, -0.5312532782554626, 0.9536895751953125, 0.4186275601387024, -1.2267751693725586, 0.13624978065490723, -0.4861135482788086, 1.1225106716156006, 0.37882182002067566, 1.0615531206130981, -1.7750223875045776, 0.005621819756925106, -0.3005327880382538, 0.1818084716796875, -1.278336524963379, -1.5901883840560913, 0.605061411857605, 0.6447482109069824, 0.5847724676132202, -0.1598670482635498, 1.0814226865768433, -1.1491576433181763, 0.8488829135894775, -1.0852822065353394, -1.672258734703064, -1.3693042993545532, -2.3308589458465576, -2.2711057662963867, 0.6856315732002258, -0.5114337205886841, -0.5105174779891968, 2.1099371910095215, -0.97102952003479, -1.6513125896453857, 1.1857980489730835, 0.16139674186706543, 0.016894731670618057, 2.396920919418335, 0.11937671154737473, -0.7398735284805298, 0.47477003931999207, -0.7705265283584595, 0.7586852312088013, -0.25079023838043213, 1.3293287754058838, 0.4092652201652527, -0.9716536998748779, 1.5997779369354248, -0.29713505506515503, 0.5813397169113159, -0.6798536777496338, -0.4931429922580719, -0.7228349447250366, 0.2470240294933319, 1.9539198875427246, -0.23241043090820312, 1.5452076196670532, -0.3367350697517395, -1.526923656463623, -1.6230597496032715, 0.8812839388847351, 0.44092318415641785, -0.8494318127632141, 0.10398337244987488, -0.4676300883293152, 0.14137929677963257, -0.06988747417926788, 1.184981107711792, 1.3189268112182617, 0.7269883155822754, -0.2961004376411438, -0.8690083622932434, 0.07554763555526733, -0.13067001104354858, -0.7762250304222107, -1.78461492061615, -0.3957975208759308, 0.05027586594223976, 0.7374574542045593, -1.2093603610992432, 1.7219260931015015, 0.8937222957611084, 1.9374951124191284, 1.0959194898605347, -0.4617602229118347, 1.4154715538024902, 0.09505482763051987, 1.816753625869751, -0.5203244686126709, 0.6475437879562378, -0.39318278431892395, -1.1620715856552124, 0.8786251544952393, -0.33839911222457886, -1.9548916816711426, -0.7910811305046082, -0.7788642644882202, -0.11116530001163483, -0.7565199136734009, 0.9505496025085449, -0.33687081933021545, -1.458513617515564, 0.23130464553833008, -0.6650450825691223, 0.16942620277404785, -1.1140865087509155, 0.29698342084884644, 0.6658811569213867, -0.6399927139282227, 0.11287332326173782, -0.3157690763473511, -1.3232697248458862, -0.5148681402206421, 0.4031473696231842, 1.872581958770752, -0.6840054988861084, 0.8805621266365051, 1.0862547159194946, -0.6326759457588196, -0.043365221470594406, 0.23018410801887512, -0.24377912282943726, 0.7931600213050842, -1.0887473821640015, -0.5461885333061218, 1.1996210813522339, -0.309686541557312, -0.5940956473350525, 1.5187433958053589, 0.7749822735786438, -1.0360465049743652, -0.17048674821853638, -0.15183988213539124, -0.9042050242424011, 0.07681573182344437, -1.6052260398864746, -0.18792936205863953, 0.4768539369106293, -1.6190160512924194, -0.44900885224342346, -0.13961544632911682, 1.3720093965530396, -0.132700115442276, 1.4379552602767944, -0.3367854356765747, -0.1992846429347992, -0.3160833716392517, -0.3795904815196991, 0.20051926374435425, -0.20159929990768433, -0.6164145469665527, 0.0939892828464508, -0.811093270778656, 0.2835673391819, 1.4296213388442993, 0.3375547528266907, 0.07197558879852295, 0.459659606218338, 1.1457369327545166, 0.3469412326812744, -0.03159032762050629, -0.8854163885116577, -1.572893500328064, 2.039416551589966, -1.4574029445648193, 2.063965320587158, 0.7987538576126099, -0.07677970826625824, -1.8054563999176025, -1.7686121463775635, 1.3563288450241089, 1.1242166757583618, 2.315234661102295, 0.4902959167957306, 0.3616054654121399, -0.806566596031189, -0.6361651420593262, 0.3449072539806366, -0.9566064476966858, -0.7085872292518616, 0.11802475899457932, 2.3764944076538086, 1.7758135795593262, -0.44107213616371155, -0.11414148658514023, -0.8795310854911804, 1.442395806312561, -0.30340269207954407, 0.2752240300178528, 1.937665581703186, -0.24525481462478638, -1.144330620765686, 1.2624109983444214, -2.3703105449676514, 0.14325177669525146, 2.068735361099243, 0.27571529150009155, 0.1038818284869194, -1.3818644285202026, -0.6069061160087585, -0.34082677960395813, -0.47515472769737244, -1.2890833616256714, 0.4948955178260803, -0.3801608979701996, -0.808232843875885, -1.4378341436386108, 0.12762495875358582, -1.1320436000823975, -1.6370161771774292, 0.2715971767902374, 1.9509464502334595, 2.0487968921661377, -0.7491233944892883, 1.6361526250839233, -0.28497880697250366, 0.22932368516921997, 1.1784971952438354, 1.2865482568740845, 3.0191473960876465, 1.9220777750015259, -1.2784994840621948, 0.6156381368637085, -0.14840835332870483, -0.49244019389152527, 1.09685480594635, -1.1064413785934448, 1.2787702083587646, -0.155307799577713, -1.2399810552597046, -1.249917984008789, 1.043034553527832, 0.47536978125572205, -0.01139975804835558, -0.47831252217292786, 1.2252658605575562, 0.05369637906551361, 1.3119869232177734, 0.6120501160621643, -0.3227795958518982, 0.5321750044822693, -0.4730021357536316, -0.5829379558563232, 1.6042662858963013, 0.1356276273727417, -1.5034986734390259, -2.2691996097564697, -0.24291843175888062, -0.7568138241767883, 0.12571191787719727, -0.6455414891242981, -1.0648877620697021, 1.6280920505523682, 0.3028550148010254, -1.2991260290145874, -0.3197084069252014, -0.38661372661590576, -0.5824053883552551, 2.6624908447265625, -1.2124861478805542, -0.2684410810470581, -0.9530196189880371, -0.6610506772994995, 1.5766174793243408, -1.2028231620788574, -0.15436682105064392, -0.9528513550758362, -0.5308922529220581, -1.2627314329147339, -0.44889500737190247, 0.057389624416828156, -0.9847972393035889, 0.7303925156593323, 0.14800724387168884, -1.182510256767273, -0.3664587736129761, -0.8319974541664124, 0.9043893218040466, -0.20268645882606506, 0.18292328715324402, 1.8780385255813599, 0.27381694316864014, -0.43663498759269714, 0.792320728302002, 1.2062591314315796, 0.678268313407898, -0.6162324547767639, 0.12233943492174149, -0.5822571516036987, 0.384502112865448, -1.2424607276916504, 0.3106265664100647, -2.9438529014587402, 0.6734917759895325, 0.006946885958313942, -0.06910591572523117, 0.02106831595301628, -1.3005952835083008, 1.0881593227386475, 2.5868473052978516, -1.1863511800765991, 0.5360304713249207, 0.34470126032829285, 1.1739592552185059, -1.607523798942566, 0.3273243308067322, -0.46826910972595215, 2.1162126064300537, 0.2097998559474945, 1.2428425550460815, -0.49686986207962036, -2.3781425952911377, 0.6478769183158875, -1.2195580005645752, -1.1546781063079834, 0.7766696810722351, -0.9524325728416443, 0.25166040658950806, -1.4237923622131348, -0.2632599174976349, -0.9761525392532349, -1.0807335376739502, 0.5738740563392639, 0.13038170337677002, 0.3827265799045563, -0.6342505812644958, 0.30932149291038513, -2.191843032836914, -1.4176636934280396, -0.07405509799718857, -1.0328395366668701, 0.5164783596992493, -0.4624004662036896, 0.6773816347122192, -0.13365602493286133, 0.07151750475168228, 0.30658388137817383, 1.5473448038101196, 3.4001309871673584, 0.19270077347755432, 0.3414178788661957, -0.1864611804485321, -0.8657568097114563, 1.444493293762207, 0.9175969958305359, -0.14934539794921875, -0.5034159421920776, -0.997998833656311, 1.2860448360443115, 2.031114101409912, 0.9097740650177002, 0.02869906648993492, -0.812366247177124, -0.6946397423744202, -0.06482904404401779, 0.2099798619747162, 0.5313067436218262, 0.9586848020553589, 0.06822541356086731, 0.05149449408054352, 1.435153841972351, 1.085314154624939, -0.5223705768585205, 0.3663926422595978, -0.8577399849891663, -0.4933460056781769, 0.45803263783454895, 0.2879782021045685, -0.08850232511758804, 0.3926217257976532, -0.9961612820625305, -0.168745756149292, -0.4114927351474762, -0.8307252526283264, -0.6574181914329529, -0.2847430408000946, -0.40220165252685547, 1.6351436376571655, 0.09137057512998581, -0.6174541711807251, 0.010411147028207779, -0.7600067853927612, -0.1295681744813919, -1.0779399871826172, 0.2489142119884491, -0.10641425848007202, -0.07222681492567062, -0.11395980417728424, 1.7222920656204224, -0.8730433583259583, -2.0414178371429443, 0.13959717750549316, 0.22852391004562378, -0.26833394169807434, 0.2273404896259308, 1.7032039165496826, 0.5358057022094727, 1.4543664455413818, 1.3597584962844849, 0.9144117832183838, -0.6550402045249939, -1.372116208076477, 0.6554697751998901, 0.9401646256446838, -1.3571686744689941, 0.8422800898551941, -0.09200070798397064, -0.5362100601196289, 0.6750251650810242, 1.3747422695159912, 0.5376324653625488, -2.010901927947998, 0.893544614315033, -1.0377198457717896, 0.9105197191238403, 0.7378283143043518, 0.6414695382118225, 0.26348423957824707, 0.9411178827285767, -1.1460438966751099, -1.1335971355438232, -0.7460196614265442, -0.7732790112495422, 1.9678782224655151, -0.3254164755344391, 0.5870082378387451, -0.2307167649269104, -1.2749406099319458, -0.07490435987710953, 0.6710200905799866, 0.37910276651382446, -0.4156567454338074, 0.842203676700592, -0.7165554761886597, -1.1294028759002686, -1.374891996383667, -0.4476930797100067, -0.9919770956039429, -0.9756460785865784, 1.1019446849822998, 0.7016466856002808, 0.33367255330085754, 1.8843848705291748, 0.6452013850212097, 0.19578292965888977, -2.494523286819458, 0.9207549095153809, 0.33498358726501465, -0.14433160424232483, 0.8403188586235046, 0.3670068383216858, 1.0460618734359741, 0.0059225549921393394, 0.5436772704124451, -2.4032859802246094, 2.2706003189086914, -0.26328858733177185, 0.7012260556221008, -0.07454422861337662, -0.12322356551885605, 1.1163369417190552, 0.636309802532196, 0.5921266078948975, -1.062782645225525, 0.6844280362129211, -0.5196638703346252, 1.2492189407348633, 0.8612587451934814, -0.7602824568748474, -0.023999575525522232, 1.3845289945602417, 0.45660334825515747, -0.6654520630836487, -0.9648357033729553, -0.9487151503562927, 0.8970934748649597, 1.6895376443862915, -0.0505804568529129, -0.045192088931798935, 0.7414166331291199, 0.6546601057052612, -1.3128706216812134, 0.0642520934343338, -0.6426851749420166, -0.8198466897010803, 1.6511800289154053, 2.167921304702759, -0.22123965620994568, -0.1233709380030632, -0.6407259106636047, -1.3333714008331299, 0.8000981211662292, -0.1039033979177475, 0.07601317018270493, 0.6009827256202698, -0.5725350379943848, 1.0218071937561035, 0.7722490429878235, 0.8678800463676453, 0.2591990530490875, 0.253910094499588, 0.4026853144168854, -0.36099839210510254, -1.207854151725769, -0.23106923699378967, -1.0863968133926392, -2.5134410858154297, 0.3103313148021698, -0.20099398493766785, -1.4481364488601685, 0.03694720193743706, -0.9753354787826538, 0.8873982429504395, -0.5084401965141296, -1.0485962629318237, -1.472777247428894, 0.21054980158805847, 0.031450528651475906, 0.9501632452011108, -1.617620825767517, -0.15087026357650757, 1.1458048820495605, 0.8696578145027161, -0.7015333771705627, 0.9757459163665771, 0.26429155468940735, 1.0381232500076294, 0.7652841806411743, -0.4297128915786743, 0.5164489150047302, 0.009616278111934662, -1.297415018081665, 0.4969693422317505, 1.1982978582382202, 0.07295840233564377, 1.5088932514190674, -0.40536391735076904, -0.05378192290663719, 0.40103304386138916, -0.5820279121398926, -0.46474266052246094, -0.5030748844146729, 0.6127784848213196, 0.012128407135605812, -0.7942282557487488, -0.07632900029420853, -0.06636366248130798, -0.3415020704269409, 0.28613173961639404, -1.5181819200515747, -0.0682777464389801, -0.44742220640182495, -0.5179420709609985, -1.2281689643859863, -0.009819390252232552, 1.4541014432907104, -0.7016344666481018, -0.2036079466342926, 0.4527782201766968, 0.44964882731437683, 0.5291677713394165, 0.7439609169960022, -0.7708445191383362, -0.3281289041042328, -0.24631783366203308, -0.36081770062446594, 0.3179643750190735, 1.260786533355713, -0.17725318670272827, -0.9338397979736328, 0.6388720273971558, -0.23979631066322327, 0.025121226906776428, 1.9000439643859863, 0.06310620903968811, -0.7991069555282593, 0.2397339642047882, -0.8164296746253967, 1.9985034465789795, 1.7102285623550415, 1.2722374200820923, -0.23591557145118713, -0.888840913772583, 0.6207540035247803, -0.38147133588790894, -0.3913080394268036, 0.7934449911117554, 0.38192176818847656, -0.2728792726993561, -1.3954780101776123, 0.7423282861709595, 1.1855157613754272, -0.8430272936820984, -0.7378313541412354, 0.05703650414943695, -0.6874693036079407, 1.121180534362793, 0.5839146971702576, 0.4133661985397339, 0.3522515594959259, 1.6547402143478394, 0.779913067817688, -0.4785320460796356, 0.5189127326011658, 0.5279382467269897, -0.1282796859741211, -2.104602575302124, -1.1999638080596924, 0.2943744361400604, -0.6407224535942078, -1.6470831632614136, 1.4042826890945435, -1.1657869815826416, -1.05777907371521, 0.5652942657470703, -0.046628423035144806, 1.3397786617279053, 0.35290277004241943, 1.6040037870407104, 1.976197600364685, 0.8688257932662964, 0.480964332818985, 1.3127026557922363, -0.10153651982545853, -0.5220351219177246, 1.8355189561843872, -0.4758360683917999, 0.46161118149757385, 1.1389915943145752, -0.2833271026611328, -1.0515815019607544, -0.779238760471344, -1.2200300693511963, -0.6189565062522888, 1.0715075731277466, 0.051527395844459534, -1.14565908908844, 0.249539315700531, 1.5237535238265991, 0.1679164171218872, -0.31437060236930847, 0.616825520992279, 0.37388476729393005, -0.7348650693893433, -0.08044327795505524, -0.9516386389732361, 0.6300145983695984, -0.29226335883140564, -0.33075839281082153, 0.4057801067829132, 0.41168105602264404, 1.3970922231674194, -0.0897810161113739, 0.21219298243522644, 1.1812148094177246, -1.529190182685852, 1.3603378534317017, -0.6701533198356628, 0.3611811697483063, -2.35331130027771, 1.368335485458374, -0.7072207927703857, 2.0612168312072754, -2.7240424156188965, 0.4126160144805908, -0.7083631753921509, -0.5610052943229675, 0.32786452770233154, -0.24446183443069458, 0.10642416775226593, -0.11271451413631439, -1.1047075986862183, -0.03624782711267471, -0.7200448513031006, 0.45203450322151184, 1.1260844469070435, 1.339470624923706, -0.9801591634750366, -0.1870424747467041, -1.6611403226852417, -0.16858598589897156, -0.7278896570205688, 0.32638314366340637, -2.015315294265747, -0.19383519887924194, -1.9432201385498047, -2.3646464347839355, -1.2519382238388062, -0.8093491196632385, 1.1177055835723877, 0.13151085376739502, -0.8964851498603821, 1.3593097925186157, -0.283009797334671, -1.7637054920196533, 1.0755189657211304, -2.040452241897583 ]
https://github.com/huggingface/datasets/issues/4276
OpenBookQA has missing and inconsistent field names
Thanks for reporting, @vblagoje. Indeed, I noticed some of these issues while reviewing this PR: - #4259 This is in my TODO list.
## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2
775
23
OpenBookQA has missing and inconsistent field names ## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2 Thanks for reporting, @vblagoje. Indeed, I noticed some of these issues while reviewing this PR: - #4259 This is in my TODO list.
[ -1.1725404262542725, -0.8144724369049072, -0.7659745812416077, 1.4976894855499268, -0.162267804145813, -1.2842490673065186, -0.0005510197952389717, -1.0558335781097412, 1.6544897556304932, -0.7985048890113831, 0.17926883697509766, -1.6249971389770508, 0.05827372521162033, -0.6159747838973999, -0.7959318161010742, -0.8862785696983337, -0.39034873247146606, -0.6514282822608948, 1.0453664064407349, 2.4703664779663086, 1.116316556930542, -1.4228521585464478, 2.738025188446045, 0.6871983408927917, -0.114271380007267, -1.0497374534606934, 0.6292598247528076, 0.05345965176820755, -1.3592288494110107, -0.41916424036026, -1.0246530771255493, -0.05097436532378197, -0.543842613697052, -0.5101798176765442, 0.015111586079001427, 0.24317032098770142, -0.2119172215461731, -0.5096175670623779, -0.37521180510520935, -0.7678500413894653, 0.3307129442691803, -0.3870045840740204, 0.8733495473861694, -0.31569406390190125, 1.778662085533142, -0.5422066450119019, 0.38315877318382263, 0.6985979080200195, 1.2980536222457886, 0.2220916748046875, 0.014553176239132881, 0.32374832034111023, 0.3840133547782898, -0.04497421160340309, 0.4362519085407257, 1.0287669897079468, 0.6671208739280701, 0.4066113829612732, 0.8549161553382874, -2.26598858833313, 1.3367514610290527, -1.0473023653030396, 0.2484515905380249, 1.384535312652588, -1.043455958366394, 0.45460623502731323, -1.6865314245224, -0.010630876757204533, 0.6083278059959412, -2.275754928588867, 0.3142763078212738, -1.3273786306381226, -0.5320996046066284, 0.8572362065315247, 0.3527776896953583, -1.2295074462890625, 0.060376688838005066, -0.5542901158332825, 1.0614813566207886, 0.47860559821128845, 1.0643872022628784, -1.7420238256454468, 0.00924893468618393, -0.22070541977882385, 0.08689800649881363, -1.3263291120529175, -1.5122541189193726, 0.5206285119056702, 0.6783727407455444, 0.5998210310935974, 0.021959587931632996, 0.9124053716659546, -1.0622913837432861, 0.773821234703064, -0.9182934761047363, -1.7671988010406494, -1.3674814701080322, -2.3470582962036133, -2.1823744773864746, 0.6738674640655518, -0.33181801438331604, -0.4709567725658417, 2.149454355239868, -1.0068142414093018, -1.698760747909546, 1.2217106819152832, 0.34255191683769226, 0.036973197013139725, 2.405747652053833, 0.17783614993095398, -0.7724010944366455, 0.4897505044937134, -0.8529788255691528, 0.6410879492759705, -0.5158991813659668, 1.268909215927124, 0.3748309016227722, -0.9161733984947205, 1.6352301836013794, -0.42931485176086426, 0.5382129549980164, -0.6974197626113892, -0.3746977746486664, -0.7390127778053284, 0.25365740060806274, 1.912174940109253, -0.1848134696483612, 1.4556431770324707, -0.35336020588874817, -1.4946746826171875, -1.5064435005187988, 0.858796238899231, 0.4692220985889435, -0.8182899951934814, 0.16215017437934875, -0.2447798252105713, 0.1339629590511322, -0.08452446013689041, 1.0764713287353516, 1.243506669998169, 0.7484872341156006, -0.29319512844085693, -1.055485725402832, 0.17148470878601074, -0.11553501337766647, -0.7069454789161682, -1.8602460622787476, -0.2975183427333832, 0.09216523915529251, 0.7892873287200928, -1.3053228855133057, 1.642377495765686, 0.8589695692062378, 1.945284128189087, 0.997490406036377, -0.4087677001953125, 1.59306001663208, 0.12686476111412048, 1.7943428754806519, -0.528559148311615, 0.8264120817184448, -0.4793331027030945, -1.1560392379760742, 0.8182395100593567, -0.37965643405914307, -1.9690741300582886, -0.6868169903755188, -0.9793304204940796, -0.18899542093276978, -0.7777305245399475, 1.0787914991378784, -0.2798559069633484, -1.320235252380371, 0.31311097741127014, -0.806340754032135, 0.1311153769493103, -1.1968530416488647, 0.3565261662006378, 0.8328134417533875, -0.4473400115966797, 0.0956944078207016, -0.28865137696266174, -1.444248914718628, -0.4661787152290344, 0.4080199897289276, 1.7525793313980103, -0.8542860746383667, 0.9582969546318054, 0.9416595101356506, -0.6366862654685974, -0.09192643314599991, 0.3520277440547943, -0.3378266990184784, 0.9431805610656738, -1.0881240367889404, -0.4530065059661865, 1.1430797576904297, -0.19303017854690552, -0.574512243270874, 1.472373127937317, 0.7894786596298218, -0.8757064342498779, -0.21460598707199097, -0.14775747060775757, -0.7732910513877869, 0.01117943599820137, -1.6570067405700684, -0.14192742109298706, 0.3319352865219116, -1.5260051488876343, -0.45688480138778687, -0.1680474877357483, 1.3385919332504272, -0.09821850061416626, 1.4237208366394043, -0.24219319224357605, -0.26884233951568604, -0.4607382118701935, -0.4446176588535309, 0.19104519486427307, -0.34543895721435547, -0.4995668828487396, 0.25078439712524414, -0.7673731446266174, 0.2419399917125702, 1.3346227407455444, 0.3472309708595276, 0.03373967856168747, 0.5993394255638123, 1.049116611480713, 0.34438425302505493, -0.00689186155796051, -0.944512128829956, -1.6125096082687378, 2.073380708694458, -1.5230671167373657, 2.055967330932617, 0.6852298378944397, -0.0041556344367563725, -1.7911221981048584, -1.957075595855713, 1.4510376453399658, 1.0520615577697754, 2.2454042434692383, 0.49704524874687195, 0.47485899925231934, -0.8813104033470154, -0.6318014860153198, 0.2567405104637146, -1.0143868923187256, -0.7746754288673401, 0.12868446111679077, 2.5409648418426514, 1.6472703218460083, -0.4019187390804291, -0.14561891555786133, -0.9641609191894531, 1.5096930265426636, -0.12608543038368225, 0.2535977363586426, 1.9352055788040161, -0.15764105319976807, -1.0671727657318115, 1.1173639297485352, -2.426210641860962, 0.1036008670926094, 1.9243985414505005, 0.2398655116558075, 0.13891029357910156, -1.4190361499786377, -0.7612944841384888, -0.19093263149261475, -0.4872460961341858, -1.2078250646591187, 0.6065446734428406, -0.22914567589759827, -0.8685732483863831, -1.4287492036819458, 0.18328341841697693, -1.1453558206558228, -1.6616854667663574, 0.27740100026130676, 1.9071811437606812, 2.1640191078186035, -0.7853821516036987, 1.6109036207199097, -0.09665531665086746, 0.24010884761810303, 1.210131287574768, 1.1386955976486206, 3.067108392715454, 1.9790167808532715, -1.231122612953186, 0.5839529633522034, 0.0022084470838308334, -0.39540228247642517, 1.1352647542953491, -1.168916940689087, 1.2953784465789795, -0.14860421419143677, -1.2031270265579224, -1.1663436889648438, 0.9254447221755981, 0.429858922958374, 0.03107903152704239, -0.4797956943511963, 1.2593138217926025, -0.06309546530246735, 1.3489744663238525, 0.5490872263908386, -0.18310773372650146, 0.517642080783844, -0.4708978831768036, -0.5097222328186035, 1.5108107328414917, 0.10322768986225128, -1.447574257850647, -2.33447265625, -0.23864120244979858, -0.7371318340301514, -0.04332172870635986, -0.6253653168678284, -1.1071206331253052, 1.6997971534729004, 0.45559611916542053, -1.0618027448654175, -0.2579854130744934, -0.3700770437717438, -0.7068483829498291, 2.6207973957061768, -1.4937597513198853, -0.3039993643760681, -0.9666491150856018, -0.5263029336929321, 1.5386756658554077, -1.257224440574646, -0.10350609570741653, -0.9700607657432556, -0.5192404389381409, -1.3772501945495605, -0.5747740864753723, -0.14343902468681335, -0.9178816080093384, 0.8503846526145935, 0.2476431429386139, -1.1716221570968628, -0.24294519424438477, -0.9665181040763855, 0.7566467523574829, -0.006837890949100256, 0.1963142454624176, 1.8740363121032715, 0.35018980503082275, -0.2314009964466095, 0.7070095539093018, 1.1387320756912231, 0.735281229019165, -0.7017347812652588, 0.22894203662872314, -0.5414580702781677, 0.32992440462112427, -1.2949745655059814, 0.3029491901397705, -2.870131731033325, 0.6111431121826172, 0.029401864856481552, -0.11959391832351685, -0.02678236924111843, -1.2799263000488281, 1.2180662155151367, 2.5770256519317627, -1.1326230764389038, 0.5314100384712219, 0.24309489130973816, 1.3580642938613892, -1.592604398727417, 0.3242380917072296, -0.4559062421321869, 2.188878297805786, 0.12867432832717896, 1.1722530126571655, -0.43288013339042664, -2.457172393798828, 0.6470348834991455, -1.262373447418213, -1.0864899158477783, 0.7165394425392151, -0.8286681771278381, 0.17480841279029846, -1.3828297853469849, -0.23558712005615234, -0.9247365593910217, -1.271944284439087, 0.55400151014328, 0.11930737644433975, 0.4888975918292999, -0.6273539066314697, 0.2811758816242218, -2.207010507583618, -1.3554483652114868, -0.14269337058067322, -0.880364179611206, 0.4494020938873291, -0.2864017188549042, 0.7580682039260864, -0.1833350956439972, 0.0365157388150692, 0.249102383852005, 1.4132452011108398, 3.373645067214966, 0.11886053532361984, 0.41542530059814453, -0.1790764331817627, -0.9778560400009155, 1.3752193450927734, 1.034924030303955, -0.15236717462539673, -0.5549510717391968, -0.9844979047775269, 1.3652688264846802, 2.057678699493408, 0.8769519925117493, 0.0668581947684288, -0.7309384346008301, -0.648469865322113, 0.09982412308454514, 0.26430559158325195, 0.5837999582290649, 0.9199061393737793, 0.0386928990483284, 0.04554300755262375, 1.5122549533843994, 1.2663605213165283, -0.36389946937561035, 0.2954481244087219, -0.9097549319267273, -0.4004393517971039, 0.5752774477005005, 0.3486074209213257, -0.08325952291488647, 0.29357409477233887, -1.0239661931991577, -0.18944492936134338, -0.3643845319747925, -0.8269325494766235, -0.7023791074752808, -0.33372458815574646, -0.34262415766716003, 1.6003295183181763, 0.2244892418384552, -0.5158188939094543, 0.020794324576854706, -0.7005320191383362, -0.019081497564911842, -1.0107144117355347, 0.27168646454811096, -0.18765851855278015, -0.005639023147523403, -0.11380691826343536, 1.9232938289642334, -0.9349357485771179, -2.007546901702881, 0.11530067771673203, 0.1897919476032257, -0.3427768349647522, 0.1666523814201355, 1.6332318782806396, 0.5617890357971191, 1.5057384967803955, 1.3619475364685059, 0.9549918174743652, -0.7023965716362, -1.4099737405776978, 0.5624340176582336, 0.9875178337097168, -1.4442427158355713, 0.6819473505020142, -0.027078568935394287, -0.6547911167144775, 0.6370865106582642, 1.378478765487671, 0.38499099016189575, -2.091325044631958, 0.7621439695358276, -0.9708859324455261, 0.9188150763511658, 0.772553563117981, 0.7483704686164856, 0.22841233015060425, 0.7619048357009888, -1.2840880155563354, -1.0251597166061401, -0.8347611427307129, -0.6832338571548462, 1.9581122398376465, -0.4597487449645996, 0.49188432097435, -0.158319354057312, -1.3388047218322754, -0.01091864611953497, 0.5606523752212524, 0.3556729555130005, -0.3325895071029663, 0.8396121859550476, -0.7657536268234253, -1.3002822399139404, -1.3141885995864868, -0.5694167017936707, -0.9199087023735046, -0.9919790625572205, 1.0495699644088745, 0.9012926816940308, 0.3621197044849396, 1.9214330911636353, 0.5448644161224365, 0.15297836065292358, -2.593937635421753, 0.8044570088386536, 0.36557966470718384, -0.08688479661941528, 0.7078302502632141, 0.22877487540245056, 1.145942211151123, -0.11589151620864868, 0.49104925990104675, -2.492217779159546, 2.23646879196167, -0.27175554633140564, 0.8084463477134705, -0.03841426596045494, 0.000444045290350914, 1.0822917222976685, 0.5056992173194885, 0.7236560583114624, -1.0451290607452393, 0.7171893119812012, -0.6231499314308167, 1.2891032695770264, 0.9155124425888062, -0.7541325688362122, 0.007309051230549812, 1.302614450454712, 0.5180949568748474, -0.6254165172576904, -0.9084957838058472, -0.997092604637146, 0.8169975876808167, 1.8466029167175293, -0.05352025851607323, 0.08276855945587158, 0.879088282585144, 0.5833019614219666, -1.3696876764297485, 0.024378377944231033, -0.7810124158859253, -0.7213837504386902, 1.689062476158142, 2.0860509872436523, -0.17876720428466797, -0.016344260424375534, -0.633314847946167, -1.3543835878372192, 0.7140552997589111, 0.0035913707688450813, 0.05672478675842285, 0.6088676452636719, -0.5495849251747131, 1.0363737344741821, 0.8079026937484741, 0.9458588361740112, 0.2058333158493042, 0.27609533071517944, 0.29185566306114197, -0.372118204832077, -1.1228595972061157, -0.26675665378570557, -1.0328484773635864, -2.3870794773101807, 0.37969306111335754, -0.20270058512687683, -1.416222333908081, 0.05923283100128174, -0.9700545072555542, 0.8850671648979187, -0.55670166015625, -1.1047472953796387, -1.3198347091674805, 0.19516509771347046, -0.08671077340841293, 0.8117514252662659, -1.5568767786026, -0.04841944947838783, 1.3272175788879395, 1.0037730932235718, -0.5749384164810181, 1.1364049911499023, 0.2376628816127777, 1.0494129657745361, 0.8321295976638794, -0.4252391755580902, 0.42699459195137024, 0.18138974905014038, -1.3373198509216309, 0.5239600539207458, 1.1532222032546997, 0.10291037708520889, 1.4599889516830444, -0.5459954142570496, -0.16181161999702454, 0.4374914765357971, -0.33768564462661743, -0.3682973086833954, -0.6628887057304382, 0.7465479969978333, 0.10480505973100662, -0.817775547504425, 0.018954744562506676, -0.09574227035045624, -0.25588342547416687, 0.25961312651634216, -1.5420371294021606, -0.20280805230140686, -0.37167152762413025, -0.5140818357467651, -1.2110674381256104, -0.03523596376180649, 1.3227483034133911, -0.7074487209320068, -0.18518325686454773, 0.4532478451728821, 0.39461609721183777, 0.4968707263469696, 0.7923433780670166, -0.6111924052238464, -0.4962957203388214, -0.26035845279693604, -0.33536532521247864, 0.36503976583480835, 1.2182375192642212, -0.19977018237113953, -1.1041369438171387, 0.6687138676643372, -0.36022043228149414, 0.01456613838672638, 1.8964900970458984, 0.04247470945119858, -0.885331392288208, 0.33865872025489807, -0.763636589050293, 2.074504852294922, 1.6329585313796997, 1.2837437391281128, -0.24491703510284424, -0.9680934548377991, 0.6675151586532593, -0.30088725686073303, -0.40237554907798767, 0.8156229257583618, 0.6182500123977661, -0.19987288117408752, -1.3600382804870605, 0.6075035333633423, 1.2326771020889282, -1.0039643049240112, -0.7698692083358765, 0.16891640424728394, -0.7920788526535034, 1.0976207256317139, 0.7133668065071106, 0.44648903608322144, 0.24277561902999878, 1.6886497735977173, 0.7612454891204834, -0.6901292204856873, 0.4505944848060608, 0.5190727114677429, -0.10506996512413025, -2.0212936401367188, -1.0829700231552124, 0.24074095487594604, -0.42496252059936523, -1.6632037162780762, 1.4150675535202026, -1.1130744218826294, -0.8441987037658691, 0.5595366954803467, 0.1196909174323082, 1.266054630279541, 0.23171740770339966, 1.5344160795211792, 1.9861263036727905, 0.8470149040222168, 0.4041960835456848, 1.355194330215454, -0.18904021382331848, -0.4238359034061432, 1.7754429578781128, -0.5276623368263245, 0.5182822346687317, 1.148898720741272, -0.4389336407184601, -1.0318623781204224, -0.7362729907035828, -1.1080729961395264, -0.6036951541900635, 1.1351511478424072, 0.12286380678415298, -1.1675223112106323, 0.18638107180595398, 1.4922534227371216, 0.05052387714385986, -0.37765222787857056, 0.5446467995643616, 0.43782564997673035, -0.6412200927734375, -0.055520061403512955, -1.0029096603393555, 0.5903475880622864, -0.17113620042800903, -0.3496212959289551, 0.43584322929382324, 0.4060543477535248, 1.2644739151000977, 0.055193595588207245, 0.17354252934455872, 1.2622509002685547, -1.479238748550415, 1.4837990999221802, -0.745742678642273, 0.20789587497711182, -2.390683889389038, 1.3095248937606812, -0.7687251567840576, 1.9960355758666992, -2.743633508682251, 0.2987307608127594, -0.6485298275947571, -0.36239802837371826, 0.3245096802711487, -0.22513020038604736, 0.12507468461990356, -0.20963525772094727, -1.1409188508987427, -0.12355184555053711, -0.865487277507782, 0.44071367383003235, 1.1049717664718628, 1.333369255065918, -1.0693259239196777, -0.15477529168128967, -1.5724318027496338, -0.15352126955986023, -0.7819626331329346, 0.3312543034553528, -2.0168297290802, -0.12299885600805283, -1.872509479522705, -2.39776611328125, -1.4007117748260498, -0.8771652579307556, 1.125964641571045, 0.026705477386713028, -0.948207437992096, 1.182004690170288, -0.28640326857566833, -1.7310755252838135, 1.168513536453247, -2.0459344387054443 ]
https://github.com/huggingface/datasets/issues/4276
OpenBookQA has missing and inconsistent field names
On the other hand, I am not sure if we should always preserve the original nested structure. I think we should also consider other factors as convenience or consistency. For example, other datasets also flatten "question.stem" into "question": - ai2_arc: ```python question = data["question"]["stem"] choices = data["question"]["choices"] text_choices = [choice["text"] for choice in choices] label_choices = [choice["label"] for choice in choices] yield id_, { "id": id_, "answerKey": answerkey, "question": question, "choices": {"text": text_choices, "label": label_choices}, } ``` - commonsense_qa: ```python question = data["question"] stem = question["stem"] yield id_, { "answerKey": answerkey, "question": stem, "choices": {"label": labels, "text": texts}, } ``` - cos_e: ```python "question": cqa["question"]["stem"], ``` - qasc - quartz - wiqa Exceptions: - exams I think we should agree on a CONVENIENT format for QA and use always CONSISTENTLY the same.
## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2
775
132
OpenBookQA has missing and inconsistent field names ## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2 On the other hand, I am not sure if we should always preserve the original nested structure. I think we should also consider other factors as convenience or consistency. For example, other datasets also flatten "question.stem" into "question": - ai2_arc: ```python question = data["question"]["stem"] choices = data["question"]["choices"] text_choices = [choice["text"] for choice in choices] label_choices = [choice["label"] for choice in choices] yield id_, { "id": id_, "answerKey": answerkey, "question": question, "choices": {"text": text_choices, "label": label_choices}, } ``` - commonsense_qa: ```python question = data["question"] stem = question["stem"] yield id_, { "answerKey": answerkey, "question": stem, "choices": {"label": labels, "text": texts}, } ``` - cos_e: ```python "question": cqa["question"]["stem"], ``` - qasc - quartz - wiqa Exceptions: - exams I think we should agree on a CONVENIENT format for QA and use always CONSISTENTLY the same.
[ -1.1316466331481934, -0.7866761684417725, -0.7720362544059753, 1.489736557006836, -0.20110097527503967, -1.2831125259399414, 0.1226205825805664, -1.223413109779358, 1.6478221416473389, -0.733339786529541, 0.30255767703056335, -1.6282018423080444, -0.01382116787135601, -0.6452159285545349, -0.7382596135139465, -0.8666322231292725, -0.41909152269363403, -0.651767373085022, 1.032548189163208, 2.4167628288269043, 1.211067795753479, -1.430536150932312, 2.6756789684295654, 0.6820062398910522, -0.08320767432451248, -0.8997581601142883, 0.6448319554328918, 0.05581240728497505, -1.374316930770874, -0.3848944306373596, -0.9970806837081909, -0.13100825250148773, -0.5229682922363281, -0.5237462520599365, -0.10131450742483139, 0.39664226770401, -0.38857704401016235, -0.5589812397956848, -0.5655996203422546, -0.8935097455978394, 0.3451273739337921, -0.35408496856689453, 1.0112773180007935, -0.37249213457107544, 1.808753252029419, -0.5504651069641113, 0.4078219532966614, 0.7448059320449829, 1.2609392404556274, 0.29665738344192505, 0.15127022564411163, 0.2827765643596649, 0.4343354403972626, -0.15260472893714905, 0.537884533405304, 1.104467749595642, 0.6665045619010925, 0.4257977604866028, 0.9728215932846069, -2.155055046081543, 1.2154977321624756, -1.0826717615127563, 0.2100561559200287, 1.4209541082382202, -0.862481415271759, 0.38011306524276733, -1.8013190031051636, -0.015231430530548096, 0.6401671767234802, -2.175912380218506, 0.40175822377204895, -1.3625577688217163, -0.6262761950492859, 0.9422776699066162, 0.3296772837638855, -1.1079456806182861, 0.036062292754650116, -0.4535999298095703, 0.9262982606887817, 0.3285594880580902, 1.0968910455703735, -1.7209359407424927, -0.0033304933458566666, -0.30730700492858887, 0.1240314394235611, -1.2433791160583496, -1.544472575187683, 0.5728662610054016, 0.5958728194236755, 0.5034121870994568, -0.060341596603393555, 1.0855045318603516, -1.1183812618255615, 0.7921329736709595, -0.9851161241531372, -1.737975001335144, -1.4476613998413086, -2.2525174617767334, -2.1121585369110107, 0.684982419013977, -0.46297353506088257, -0.5163877606391907, 2.106985330581665, -0.8905690908432007, -1.5718098878860474, 1.1747510433197021, 0.414396733045578, 0.029194708913564682, 2.3930654525756836, 0.13356535136699677, -0.7800683379173279, 0.6302147507667542, -0.8320636749267578, 0.6640971899032593, -0.35896676778793335, 1.1806567907333374, 0.29907917976379395, -0.981964111328125, 1.609010934829712, -0.3639315962791443, 0.6661390662193298, -0.6658679842948914, -0.3756469488143921, -0.6305897831916809, 0.28186991810798645, 1.8677600622177124, -0.23927220702171326, 1.4267009496688843, -0.20289970934391022, -1.5138639211654663, -1.5607300996780396, 0.9193593263626099, 0.5052487254142761, -0.822275698184967, 0.07362869381904602, -0.21653655171394348, 0.1968306005001068, -0.25743794441223145, 1.206525444984436, 1.3280137777328491, 0.8632630109786987, -0.2693065106868744, -0.8979902863502502, 0.08039110898971558, -0.08602165430784225, -0.911909282207489, -1.6280025243759155, -0.3492717742919922, 0.1847243458032608, 0.6293820738792419, -1.3637665510177612, 1.794427514076233, 0.876470148563385, 1.8611552715301514, 1.0016967058181763, -0.4815395176410675, 1.6171457767486572, 0.18458297848701477, 1.7550359964370728, -0.5391110181808472, 0.6305737495422363, -0.40693286061286926, -1.221389651298523, 0.9235358238220215, -0.25779569149017334, -1.9329620599746704, -0.7527217268943787, -0.8756056427955627, -0.13840451836585999, -0.751873791217804, 0.9624630808830261, -0.30002984404563904, -1.3781529664993286, 0.2894291281700134, -0.7677337527275085, -0.011828229762613773, -1.1301134824752808, 0.3650762140750885, 0.7164283394813538, -0.5889909863471985, 0.12557478249073029, -0.14979231357574463, -1.3622719049453735, -0.43074673414230347, 0.3149164319038391, 1.8592313528060913, -0.7769305109977722, 0.9089568257331848, 1.0577020645141602, -0.7516207695007324, -0.04970692843198776, 0.3284624218940735, -0.42467859387397766, 0.8332327008247375, -1.203816533088684, -0.6064341068267822, 1.0954430103302002, -0.11428415030241013, -0.5653969049453735, 1.430270791053772, 0.6583126187324524, -0.9239349961280823, -0.24004130065441132, -0.04668357968330383, -0.6903423070907593, 0.07681459933519363, -1.5300489664077759, -0.0816572830080986, 0.3847828507423401, -1.5327919721603394, -0.6084592938423157, -0.17617499828338623, 1.1933892965316772, -0.23727600276470184, 1.3816298246383667, -0.27754589915275574, -0.2046436220407486, -0.4054574966430664, -0.4360813498497009, -0.014050927013158798, -0.34310880303382874, -0.5966395735740662, 0.19560369849205017, -0.827176570892334, 0.25378143787384033, 1.3489797115325928, 0.2890584170818329, -0.021532181650400162, 0.5248963236808777, 1.159650206565857, 0.4454905092716217, 0.05058487877249718, -0.9738337993621826, -1.370036005973816, 1.9682295322418213, -1.50532066822052, 2.1011598110198975, 0.7271441221237183, 0.032637275755405426, -1.7663991451263428, -2.0337352752685547, 1.3843783140182495, 1.11117684841156, 2.2743723392486572, 0.4905647039413452, 0.48556438088417053, -0.8316872715950012, -0.6386551260948181, 0.2902606427669525, -1.008205533027649, -0.5992147326469421, 0.28134047985076904, 2.453249454498291, 1.6682229042053223, -0.43174341320991516, -0.17582793533802032, -0.9120644927024841, 1.506650447845459, -0.19367754459381104, 0.2249249964952469, 1.9675467014312744, -0.15987533330917358, -1.1055659055709839, 1.2548085451126099, -2.358006715774536, 0.06621884554624557, 1.9538170099258423, 0.24087382853031158, 0.08055973052978516, -1.2309727668762207, -0.7125769257545471, -0.31893765926361084, -0.506926953792572, -1.2112746238708496, 0.5502456426620483, -0.14295142889022827, -0.825722336769104, -1.3511883020401, 0.18778832256793976, -1.1677908897399902, -1.5622575283050537, 0.17089080810546875, 1.9434423446655273, 2.156391143798828, -0.8889315128326416, 1.6268110275268555, -0.2002057284116745, 0.07235942035913467, 1.1195591688156128, 1.253906488418579, 3.134730577468872, 1.8661956787109375, -1.2465060949325562, 0.5518401265144348, -0.12034442275762558, -0.40298163890838623, 1.151767611503601, -1.2574082612991333, 1.2981315851211548, -0.10522083193063736, -1.1260404586791992, -1.108882188796997, 0.9091610908508301, 0.4449964463710785, -0.011291759088635445, -0.49633270502090454, 1.0505291223526, 0.039378054440021515, 1.3896294832229614, 0.5677391886711121, -0.1276402622461319, 0.6032465100288391, -0.40426912903785706, -0.4411495327949524, 1.5157829523086548, 0.08344873785972595, -1.3746461868286133, -2.3415112495422363, -0.19042298197746277, -0.8556706309318542, 0.081478051841259, -0.6065109968185425, -1.1764500141143799, 1.83089280128479, 0.31523171067237854, -1.1742019653320312, -0.28639543056488037, -0.41788071393966675, -0.6856256127357483, 2.719998598098755, -1.3931654691696167, -0.21210290491580963, -0.946388304233551, -0.7104570269584656, 1.706799030303955, -1.2123408317565918, -0.20620210468769073, -1.037051796913147, -0.43844205141067505, -1.321255087852478, -0.6152525544166565, 0.035766080021858215, -0.9717312455177307, 0.9756258130073547, 0.2911786735057831, -1.1817994117736816, -0.3183823227882385, -0.950130045413971, 0.8346670269966125, -0.14850935339927673, 0.11141811311244965, 1.9652652740478516, 0.3915580213069916, -0.21806269884109497, 0.7132511734962463, 1.2272813320159912, 0.7450386881828308, -0.6449422240257263, 0.26408737897872925, -0.6009683609008789, 0.3483796715736389, -1.3454009294509888, 0.22882705926895142, -2.7736005783081055, 0.611138105392456, 0.013406905345618725, -0.09032682329416275, 0.053020138293504715, -1.235645055770874, 1.1956596374511719, 2.5681049823760986, -1.098334789276123, 0.4516436457633972, 0.28989753127098083, 1.2124125957489014, -1.601960301399231, 0.21484990417957306, -0.4032008647918701, 2.048184394836426, 0.07335220277309418, 1.1358973979949951, -0.4564138948917389, -2.462444305419922, 0.6336812973022461, -1.3062708377838135, -1.193830132484436, 0.7500896453857422, -0.8889964818954468, 0.24029166996479034, -1.4445531368255615, -0.35382717847824097, -0.8868774771690369, -1.1693145036697388, 0.587915301322937, 0.02263101562857628, 0.41657909750938416, -0.5832310318946838, 0.31679224967956543, -2.1586780548095703, -1.4548439979553223, -0.25990256667137146, -0.8819505572319031, 0.5578296780586243, -0.3509058952331543, 0.8092118501663208, -0.17314206063747406, -0.014764681458473206, 0.28580382466316223, 1.465400218963623, 3.344919443130493, 0.20208391547203064, 0.31339186429977417, -0.23120351135730743, -1.0177524089813232, 1.4645024538040161, 1.0113813877105713, -0.02952134981751442, -0.5672070980072021, -1.102419376373291, 1.3162879943847656, 2.034850597381592, 0.9402434825897217, -0.021707002073526382, -0.8256568312644958, -0.72126305103302, -0.024070508778095245, 0.23559793829917908, 0.46440961956977844, 0.9214182496070862, 0.09936577081680298, 0.0006236676126718521, 1.5103809833526611, 1.2086801528930664, -0.3135735094547272, 0.21914124488830566, -0.8801345229148865, -0.4814451038837433, 0.607177197933197, 0.2775876224040985, 0.02947954460978508, 0.3584607243537903, -0.9871290922164917, -0.3339238464832306, -0.4511079788208008, -0.8080613613128662, -0.6109286546707153, -0.364067941904068, -0.2779819369316101, 1.6180229187011719, 0.12560118734836578, -0.5597553253173828, 0.10601478815078735, -0.8015056848526001, -0.020795486867427826, -1.179776906967163, 0.20396758615970612, -0.17958775162696838, -0.09601886570453644, -0.11148922890424728, 1.8742427825927734, -0.8567288517951965, -1.8996354341506958, 0.02792031317949295, 0.24469564855098724, -0.28454354405403137, 0.20855341851711273, 1.677316427230835, 0.6129641532897949, 1.4414949417114258, 1.2644996643066406, 0.9121742248535156, -0.6803578734397888, -1.36496102809906, 0.4858204126358032, 1.0649497509002686, -1.3204673528671265, 0.7952882051467896, -0.09686380624771118, -0.6057018041610718, 0.5345005989074707, 1.2924059629440308, 0.43732085824012756, -2.047689437866211, 0.7615162134170532, -0.9785767793655396, 0.9454510807991028, 0.747824490070343, 0.7122114896774292, 0.1943383663892746, 0.7573356032371521, -1.2168936729431152, -1.0186386108398438, -0.7763274908065796, -0.7234731316566467, 2.0200722217559814, -0.48493802547454834, 0.5955988168716431, -0.29345494508743286, -1.3077337741851807, -0.039112795144319534, 0.5943107604980469, 0.41401705145835876, -0.394176185131073, 0.7888801097869873, -0.7511053085327148, -1.0791321992874146, -1.240464210510254, -0.45868003368377686, -1.0911740064620972, -1.0068678855895996, 1.1436710357666016, 0.8425575494766235, 0.40805336833000183, 1.9539920091629028, 0.7827898263931274, 0.19339630007743835, -2.4861435890197754, 0.8652993440628052, 0.4076314866542816, -0.16874435544013977, 0.7752348184585571, 0.3288690447807312, 1.0899412631988525, -0.13185569643974304, 0.5248940587043762, -2.5385172367095947, 2.2880685329437256, -0.16933539509773254, 0.7651998996734619, 0.005846533924341202, -0.11174262315034866, 1.0828757286071777, 0.5091574192047119, 0.5619885325431824, -1.0464768409729004, 0.5614333748817444, -0.5263098478317261, 1.2310272455215454, 0.8325750827789307, -0.7597038149833679, 0.029067441821098328, 1.3329249620437622, 0.6052133440971375, -0.6221484541893005, -1.0354435443878174, -0.9109188914299011, 0.9063902497291565, 1.7421667575836182, -0.05090790241956711, 0.06751751899719238, 0.9315708875656128, 0.5983250141143799, -1.3614424467086792, 0.04683266580104828, -0.7723137736320496, -0.7565667629241943, 1.7222548723220825, 2.1568877696990967, -0.22286155819892883, -0.1774304062128067, -0.6174365878105164, -1.3959347009658813, 0.7630540728569031, -0.05077950283885002, 0.23050233721733093, 0.5328544974327087, -0.6472418904304504, 1.0459953546524048, 0.8680419325828552, 0.9825023412704468, 0.2472379356622696, 0.2723880410194397, 0.40049484372138977, -0.38877788186073303, -1.1391199827194214, -0.15399214625358582, -0.9655992984771729, -2.510745048522949, 0.45733678340911865, -0.08265746384859085, -1.3514740467071533, -0.12675510346889496, -0.9531331658363342, 0.9619066715240479, -0.5904321074485779, -1.0348373651504517, -1.4309113025665283, 0.2270861119031906, 0.09581334888935089, 0.980421781539917, -1.541933298110962, -0.27414998412132263, 1.2554734945297241, 1.0018668174743652, -0.7228872179985046, 0.9286536574363708, 0.07736095786094666, 1.0778934955596924, 0.8322184085845947, -0.42873817682266235, 0.473444402217865, -0.0030040103010833263, -1.3413347005844116, 0.4223196804523468, 1.1531410217285156, 0.11567935347557068, 1.4772818088531494, -0.4885392487049103, -0.029704861342906952, 0.41045787930488586, -0.35862892866134644, -0.4528103470802307, -0.5944635272026062, 0.5720412731170654, 0.04956894367933273, -0.9173340201377869, -0.14732594788074493, -0.020269349217414856, -0.2922406792640686, 0.1667533665895462, -1.3986821174621582, -0.1724460870027542, -0.3920622169971466, -0.5966417789459229, -1.1128724813461304, -0.00935832504183054, 1.22742760181427, -0.6737872958183289, -0.16866277158260345, 0.4242818057537079, 0.2663644254207611, 0.4861586391925812, 0.6121278405189514, -0.7281310558319092, -0.45610830187797546, -0.2493160218000412, -0.4778830409049988, 0.35947996377944946, 1.346810221672058, -0.20914028584957123, -1.0344043970108032, 0.5945111513137817, -0.3073458969593048, 0.06708581000566483, 2.003478765487671, 0.01576879248023033, -0.7944057583808899, 0.29842662811279297, -0.7993807792663574, 1.9779918193817139, 1.6993162631988525, 1.3180903196334839, -0.27680709958076477, -0.9177789092063904, 0.7456574440002441, -0.5026792883872986, -0.4726202189922333, 0.76076340675354, 0.31578153371810913, -0.19192354381084442, -1.492106556892395, 0.7439461946487427, 1.308173418045044, -0.9418196082115173, -0.7724599838256836, 0.27299609780311584, -0.7923240661621094, 1.0304408073425293, 0.5815805196762085, 0.3673376142978668, 0.4131273329257965, 1.640202283859253, 0.8749919533729553, -0.5556016564369202, 0.41644927859306335, 0.7071579694747925, -0.008167675696313381, -2.033205032348633, -1.257336974143982, 0.2856946587562561, -0.5334592461585999, -1.6893903017044067, 1.5022945404052734, -1.1403703689575195, -1.030076026916504, 0.6581428050994873, 0.038756147027015686, 1.275879144668579, 0.3872130513191223, 1.5200399160385132, 2.012171506881714, 0.8110628724098206, 0.4096381366252899, 1.1827452182769775, -0.14659066498279572, -0.3980518579483032, 1.891821265220642, -0.611190140247345, 0.43781715631484985, 1.1254569292068481, -0.2581256031990051, -1.1574182510375977, -0.7063098549842834, -1.3274807929992676, -0.7768479585647583, 1.1831989288330078, 0.06381408125162125, -1.1074988842010498, 0.28227049112319946, 1.6375988721847534, -0.015052501112222672, -0.49743226170539856, 0.6321019530296326, 0.4678099453449249, -0.8465633392333984, -0.06951047480106354, -0.9156486392021179, 0.6698066592216492, -0.017685946077108383, -0.36825498938560486, 0.4217313826084137, 0.5039446949958801, 1.50205659866333, -0.004227939993143082, 0.16731379926204681, 1.0510749816894531, -1.55265212059021, 1.5879682302474976, -0.8303687572479248, 0.1968260407447815, -2.3858253955841064, 1.330106496810913, -0.7603868842124939, 2.0362374782562256, -2.6559529304504395, 0.38738536834716797, -0.5171859264373779, -0.40444037318229675, 0.2494184821844101, -0.28345420956611633, 0.1707202047109604, -0.10316906869411469, -1.1420499086380005, -0.02283661998808384, -0.6897538900375366, 0.5709189176559448, 1.0743290185928345, 1.3971530199050903, -1.0578891038894653, -0.2595216929912567, -1.5702320337295532, -0.04224999248981476, -0.7620863914489746, 0.13332560658454895, -1.9473023414611816, -0.16878901422023773, -1.803452730178833, -2.343970775604248, -1.3967746496200562, -0.804441511631012, 1.1226046085357666, 0.08287566900253296, -1.0236575603485107, 1.2580530643463135, -0.3293701708316803, -1.7803301811218262, 1.2334437370300293, -2.09386944770813 ]
https://github.com/huggingface/datasets/issues/4276
OpenBookQA has missing and inconsistent field names
@albertvillanova I agree that we should be consistent. In the last month, I have come across tons of code that deals with OpenBookQA and CommonSenseQA and all of that code relies on the original data format structure. We can't expect users to adopt HF Datasets if we arbitrarily change the structure of the format just because we think something makes more sense. I am in that position now (downloading original data rather than using HF Datasets) and undoubtedly it hinders HF Datasets' widespread use and adoption. Missing fields like in the case of #4275 is definitely bad and not even up for a discussion IMHO! cc @lhoestq
## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2
775
107
OpenBookQA has missing and inconsistent field names ## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2 @albertvillanova I agree that we should be consistent. In the last month, I have come across tons of code that deals with OpenBookQA and CommonSenseQA and all of that code relies on the original data format structure. We can't expect users to adopt HF Datasets if we arbitrarily change the structure of the format just because we think something makes more sense. I am in that position now (downloading original data rather than using HF Datasets) and undoubtedly it hinders HF Datasets' widespread use and adoption. Missing fields like in the case of #4275 is definitely bad and not even up for a discussion IMHO! cc @lhoestq
[ -1.2248849868774414, -0.8888794183731079, -0.7284150719642639, 1.4283013343811035, -0.1619182974100113, -1.2589123249053955, 0.0202217698097229, -1.1168133020401, 1.6764713525772095, -0.8145091533660889, 0.1790311336517334, -1.6472833156585693, 0.03348078951239586, -0.551364004611969, -0.7610780000686646, -0.9007698893547058, -0.40561649203300476, -0.7474669218063354, 1.0913095474243164, 2.4841504096984863, 1.131537675857544, -1.4815216064453125, 2.764204263687134, 0.6712855696678162, -0.15248529613018036, -1.0297564268112183, 0.5762649774551392, 0.0797523781657219, -1.3705177307128906, -0.43041256070137024, -0.9561245441436768, -0.016808513551950455, -0.5412758588790894, -0.5324642062187195, 0.001918761059641838, 0.26611796021461487, -0.2172473520040512, -0.5264074206352234, -0.4304588735103607, -0.7556474208831787, 0.3483940362930298, -0.3474535644054413, 0.8613841533660889, -0.29014521837234497, 1.854068636894226, -0.4827338457107544, 0.3437019884586334, 0.690184473991394, 1.3209022283554077, 0.23090049624443054, 0.029313616454601288, 0.3347608745098114, 0.4326365292072296, -0.10677023977041245, 0.4385814368724823, 1.1158381700515747, 0.650309145450592, 0.39371636509895325, 0.8402732014656067, -2.210035800933838, 1.338064193725586, -1.0392991304397583, 0.28779110312461853, 1.4234732389450073, -1.0285218954086304, 0.4088963568210602, -1.6923848390579224, 0.00947518553584814, 0.5745427012443542, -2.2656147480010986, 0.2622356116771698, -1.3083233833312988, -0.5393838286399841, 0.9159696698188782, 0.2818948030471802, -1.1634397506713867, 0.14325085282325745, -0.5690178871154785, 1.0943232774734497, 0.4965460002422333, 1.1594420671463013, -1.7391659021377563, -0.04191138222813606, -0.25416168570518494, 0.08381656557321548, -1.3175380229949951, -1.5594398975372314, 0.45035606622695923, 0.689160943031311, 0.5441529750823975, -0.02061479166150093, 0.9513053297996521, -1.0594950914382935, 0.764961302280426, -0.8543927669525146, -1.688993215560913, -1.3604557514190674, -2.2901220321655273, -2.1883389949798584, 0.7037705183029175, -0.41546323895454407, -0.4814770817756653, 2.104248523712158, -0.998986542224884, -1.7410345077514648, 1.2392481565475464, 0.40150558948516846, -0.017934218049049377, 2.401829719543457, 0.18757863342761993, -0.7633726000785828, 0.47117990255355835, -0.7788954973220825, 0.7027262449264526, -0.5094745755195618, 1.2758327722549438, 0.3969375491142273, -0.950688898563385, 1.5366952419281006, -0.42363056540489197, 0.5541963577270508, -0.6814038157463074, -0.40777531266212463, -0.7719869017601013, 0.2923111319541931, 1.9065871238708496, -0.2580741047859192, 1.514042854309082, -0.3475181460380554, -1.5333253145217896, -1.5564038753509521, 0.8667144775390625, 0.4824734628200531, -0.792420506477356, 0.14416272938251495, -0.2966725826263428, 0.11756961047649384, -0.06447497755289078, 1.0556766986846924, 1.2443073987960815, 0.7770149111747742, -0.2600177228450775, -1.0092958211898804, 0.20221342146396637, -0.16259297728538513, -0.6458889245986938, -1.8347618579864502, -0.2850136458873749, 0.11996616423130035, 0.6878920793533325, -1.3026765584945679, 1.5868141651153564, 0.8932147026062012, 1.9276202917099, 1.002681851387024, -0.4207437038421631, 1.5883256196975708, 0.1856856495141983, 1.7636088132858276, -0.515168309211731, 0.789149284362793, -0.3856463134288788, -1.1655666828155518, 0.8361564874649048, -0.3707100450992584, -1.9911805391311646, -0.7342777252197266, -0.9114953279495239, -0.20048527419567108, -0.7807865142822266, 1.01212477684021, -0.2376149743795395, -1.3651334047317505, 0.3060159683227539, -0.7331736087799072, 0.11477138102054596, -1.1549947261810303, 0.364091694355011, 0.8723562359809875, -0.5020225644111633, 0.09516038745641708, -0.2430627942085266, -1.3946870565414429, -0.45718011260032654, 0.4036603271961212, 1.7618433237075806, -0.8433529138565063, 0.9172865748405457, 1.0019994974136353, -0.6887398362159729, 0.007503821514546871, 0.2949496805667877, -0.3407451808452606, 0.9296708106994629, -1.0903875827789307, -0.3563584089279175, 1.137909173965454, -0.2317499965429306, -0.5481751561164856, 1.445747971534729, 0.7524480223655701, -0.8817729949951172, -0.15339741110801697, -0.1479610651731491, -0.7985948920249939, -0.005860966630280018, -1.6137049198150635, -0.18149562180042267, 0.26693010330200195, -1.5496907234191895, -0.5425302982330322, -0.243902787566185, 1.3693220615386963, -0.12283426523208618, 1.4371387958526611, -0.3184422254562378, -0.18134866654872894, -0.4774285852909088, -0.41397011280059814, 0.21982768177986145, -0.3375680446624756, -0.5274615287780762, 0.25120389461517334, -0.77959144115448, 0.24537202715873718, 1.3491668701171875, 0.41189542412757874, 0.03595886006951332, 0.5517334938049316, 1.1005208492279053, 0.3821428120136261, -0.04599060118198395, -0.886610746383667, -1.590933918952942, 2.0970919132232666, -1.507046103477478, 2.029057741165161, 0.7346895933151245, 0.041513726115226746, -1.7469677925109863, -1.9445265531539917, 1.422996997833252, 1.080080509185791, 2.272641897201538, 0.503704845905304, 0.4661768078804016, -0.8594996333122253, -0.6551198959350586, 0.31911829113960266, -0.9973433613777161, -0.7576033473014832, 0.13362421095371246, 2.479675769805908, 1.6467030048370361, -0.44208890199661255, -0.14828172326087952, -0.9454486966133118, 1.486728549003601, -0.14311343431472778, 0.21028071641921997, 1.9449043273925781, -0.17824305593967438, -1.0767704248428345, 1.1813311576843262, -2.388652801513672, 0.09723899513483047, 1.916369080543518, 0.22389240562915802, 0.06808768957853317, -1.3617678880691528, -0.7348654866218567, -0.2039988487958908, -0.45578697323799133, -1.2166318893432617, 0.5707972645759583, -0.2235455960035324, -0.8188609480857849, -1.451636552810669, 0.19895103573799133, -1.1616287231445312, -1.6227385997772217, 0.26484209299087524, 1.931227684020996, 2.09549880027771, -0.805720865726471, 1.631460428237915, -0.13539284467697144, 0.17840681970119476, 1.1922348737716675, 1.152456283569336, 3.0976850986480713, 1.9657926559448242, -1.2483949661254883, 0.5477305054664612, -0.024695809930562973, -0.43867844343185425, 1.1438223123550415, -1.1690635681152344, 1.3162637948989868, -0.10921235382556915, -1.1641647815704346, -1.1878913640975952, 0.9200528860092163, 0.4930315911769867, 0.04342060163617134, -0.5075622200965881, 1.1999971866607666, -0.03570159897208214, 1.3414067029953003, 0.47210046648979187, -0.2266821414232254, 0.5319706201553345, -0.49459707736968994, -0.5552188158035278, 1.5130575895309448, 0.08257462829351425, -1.3988945484161377, -2.342775344848633, -0.2687605023384094, -0.6949790120124817, 0.03009238839149475, -0.6293045282363892, -1.0746747255325317, 1.6297460794448853, 0.4811663329601288, -1.1190050840377808, -0.3187236785888672, -0.3928975462913513, -0.693903386592865, 2.55029296875, -1.4436224699020386, -0.25412270426750183, -0.9029475450515747, -0.5323631763458252, 1.51443612575531, -1.2569761276245117, -0.14988753199577332, -1.038163185119629, -0.5316818356513977, -1.3363456726074219, -0.5827979445457458, -0.11231528967618942, -0.9259222149848938, 0.8071133494377136, 0.24381059408187866, -1.142683982849121, -0.26803451776504517, -0.9633575081825256, 0.7884235382080078, -0.02221493050456047, 0.2275446057319641, 1.8577545881271362, 0.4141664505004883, -0.2794414162635803, 0.696058452129364, 1.1393119096755981, 0.6983975172042847, -0.6664004921913147, 0.22306014597415924, -0.6422432661056519, 0.2981669008731842, -1.322283387184143, 0.2957395613193512, -2.880671739578247, 0.6550474762916565, 0.029125504195690155, -0.07007777690887451, -0.004718465264886618, -1.250268816947937, 1.192501425743103, 2.610522985458374, -1.095535159111023, 0.5146552324295044, 0.2843036949634552, 1.3442555665969849, -1.5983667373657227, 0.28005436062812805, -0.4246862530708313, 2.162809133529663, 0.13180309534072876, 1.2123568058013916, -0.4533437490463257, -2.4404633045196533, 0.5753355026245117, -1.2362605333328247, -1.1414411067962646, 0.7425780892372131, -0.860876739025116, 0.09813568741083145, -1.4151421785354614, -0.2609235346317291, -0.8592483997344971, -1.208928108215332, 0.5890740156173706, 0.12367822229862213, 0.5185607075691223, -0.6750407814979553, 0.3144800364971161, -2.1810994148254395, -1.3743211030960083, -0.19120855629444122, -0.8982542157173157, 0.4454255700111389, -0.2965554893016815, 0.7360343337059021, -0.1834329217672348, 0.0775427594780922, 0.28662803769111633, 1.381393313407898, 3.359388828277588, 0.1699579954147339, 0.4318915605545044, -0.153585284948349, -0.9473036527633667, 1.4476513862609863, 1.0394800901412964, -0.18685606122016907, -0.592811644077301, -1.0481338500976562, 1.29275381565094, 2.0346875190734863, 0.9506695866584778, 0.018275253474712372, -0.6904049515724182, -0.7055864334106445, 0.05128585919737816, 0.2171725630760193, 0.5665009021759033, 0.8976762890815735, 0.054557133466005325, 0.08719149231910706, 1.516205072402954, 1.2891440391540527, -0.4451620876789093, 0.345481812953949, -0.8952965140342712, -0.4622425436973572, 0.49555161595344543, 0.33560729026794434, -0.05740591511130333, 0.3279959559440613, -0.989879846572876, -0.18935240805149078, -0.4280431568622589, -0.8802721500396729, -0.6800816655158997, -0.34291258454322815, -0.34273484349250793, 1.6423919200897217, 0.22385109961032867, -0.5351499319076538, -0.027844373136758804, -0.7163330316543579, -0.03270528465509415, -1.0719186067581177, 0.2640272080898285, -0.16847039759159088, -0.013979900628328323, -0.09444817900657654, 1.835307002067566, -0.9028035402297974, -2.058148145675659, 0.09698481857776642, 0.20228372514247894, -0.34041523933410645, 0.14710374176502228, 1.6717866659164429, 0.5119345188140869, 1.5022376775741577, 1.3568432331085205, 0.9767258167266846, -0.6480594873428345, -1.3593653440475464, 0.6247970461845398, 0.9368005394935608, -1.338417887687683, 0.7046648859977722, 0.044431254267692566, -0.6708638072013855, 0.6757193207740784, 1.3403549194335938, 0.3895733952522278, -2.112391710281372, 0.8268479108810425, -0.9612353444099426, 0.8638494610786438, 0.7472668290138245, 0.7027636766433716, 0.18310530483722687, 0.7835080623626709, -1.2863892316818237, -1.108879804611206, -0.8167536854743958, -0.7200497984886169, 1.9904747009277344, -0.397487998008728, 0.4840863347053528, -0.18837358057498932, -1.3433197736740112, -0.07459484040737152, 0.5847326517105103, 0.31728631258010864, -0.3347789943218231, 0.8371221423149109, -0.7755590677261353, -1.2386255264282227, -1.3896790742874146, -0.46923381090164185, -0.9784438014030457, -0.9847450256347656, 1.0562905073165894, 0.9000662565231323, 0.2812729775905609, 1.89396071434021, 0.5826564431190491, 0.17950797080993652, -2.5867645740509033, 0.841144323348999, 0.40122953057289124, -0.14051002264022827, 0.8022087216377258, 0.20699575543403625, 1.111672282218933, -0.03978753834962845, 0.46335726976394653, -2.4719367027282715, 2.2459218502044678, -0.2489330768585205, 0.7939344644546509, -0.05044577643275261, -0.04084823280572891, 1.1110092401504517, 0.5549848079681396, 0.7127172946929932, -1.1131925582885742, 0.7662752866744995, -0.5770253539085388, 1.183933138847351, 0.9352564215660095, -0.7794732451438904, -0.04632784426212311, 1.351259708404541, 0.5176761150360107, -0.628062903881073, -0.9171611666679382, -1.0433025360107422, 0.8307557702064514, 1.873488426208496, -0.07184743881225586, 0.10840974748134613, 0.8248411417007446, 0.6211126446723938, -1.37271249294281, 0.0834197998046875, -0.768023669719696, -0.7765233516693115, 1.6824544668197632, 2.052267551422119, -0.1367887705564499, -0.11029833555221558, -0.6136992573738098, -1.3526034355163574, 0.7251717448234558, -0.01098070852458477, 0.13594022393226624, 0.6022315621376038, -0.6291652917861938, 1.070279598236084, 0.8908337950706482, 0.8934608101844788, 0.174306720495224, 0.217118039727211, 0.33588239550590515, -0.32336345314979553, -1.1104923486709595, -0.25938892364501953, -1.0078471899032593, -2.368101119995117, 0.38800323009490967, -0.15953870117664337, -1.4685347080230713, -0.01464817300438881, -0.9461167454719543, 0.9209706783294678, -0.5745590925216675, -1.068373680114746, -1.4371132850646973, 0.225453183054924, -0.06223341077566147, 0.8041896820068359, -1.552098035812378, -0.07784798741340637, 1.2979732751846313, 0.9655987024307251, -0.5590119361877441, 1.139797568321228, 0.20968753099441528, 0.9937758445739746, 0.8756667375564575, -0.4637815058231354, 0.44137877225875854, 0.15536418557167053, -1.3202908039093018, 0.5022811889648438, 1.1504656076431274, 0.11346909403800964, 1.4575146436691284, -0.5596530437469482, -0.0947672575712204, 0.38549479842185974, -0.3512651026248932, -0.3974844813346863, -0.6074218153953552, 0.6908903121948242, 0.051486361771821976, -0.8536056876182556, 0.07496149092912674, -0.10021128505468369, -0.29490116238594055, 0.22982999682426453, -1.5643190145492554, -0.2012084275484085, -0.3980120122432709, -0.4803469181060791, -1.2317887544631958, 0.008503849618136883, 1.401881217956543, -0.6838894486427307, -0.20772185921669006, 0.478146493434906, 0.4815257787704468, 0.449429452419281, 0.7409096360206604, -0.607176661491394, -0.3901136517524719, -0.27470099925994873, -0.3610614240169525, 0.2985804080963135, 1.2357923984527588, -0.2216561734676361, -1.0018236637115479, 0.6277821063995361, -0.325548380613327, 0.03271495923399925, 1.9103091955184937, 0.06528891623020172, -0.8576446175575256, 0.3133288323879242, -0.7765622735023499, 2.0398216247558594, 1.7275747060775757, 1.3863837718963623, -0.20557431876659393, -0.9943745732307434, 0.6277064681053162, -0.3062136471271515, -0.39335498213768005, 0.9090250730514526, 0.5964941382408142, -0.2045641839504242, -1.3696542978286743, 0.6011968851089478, 1.2270927429199219, -0.9442487955093384, -0.7510606050491333, 0.11556629091501236, -0.8166758418083191, 1.0982139110565186, 0.724434494972229, 0.43684715032577515, 0.1861451268196106, 1.664007306098938, 0.7650119066238403, -0.6197912096977234, 0.47572898864746094, 0.5547059774398804, -0.11884795129299164, -2.0673017501831055, -1.123003363609314, 0.2851678729057312, -0.44611701369285583, -1.6582844257354736, 1.4248559474945068, -1.102571964263916, -0.9292626976966858, 0.533191978931427, 0.03162365034222603, 1.3231974840164185, 0.2887267768383026, 1.5705326795578003, 2.0638017654418945, 0.8754441142082214, 0.3674941658973694, 1.3379554748535156, -0.16723427176475525, -0.4025760591030121, 1.8302918672561646, -0.4974687397480011, 0.4191654920578003, 1.1805574893951416, -0.460933119058609, -0.9903119802474976, -0.7457186579704285, -1.1382395029067993, -0.6395137906074524, 1.1227067708969116, 0.09119357913732529, -1.1514495611190796, 0.195391446352005, 1.4971405267715454, 0.08611346781253815, -0.36078083515167236, 0.5789299011230469, 0.5204872488975525, -0.7093119621276855, -0.08940386772155762, -1.0016406774520874, 0.5917132496833801, -0.15128818154335022, -0.3690245747566223, 0.43161502480506897, 0.38141828775405884, 1.3056763410568237, 0.03114977478981018, 0.1415339559316635, 1.2675983905792236, -1.4626861810684204, 1.4643667936325073, -0.7397333979606628, 0.1924344152212143, -2.3883540630340576, 1.406191349029541, -0.7589183449745178, 2.0167744159698486, -2.693504571914673, 0.37056681513786316, -0.6781222820281982, -0.36132416129112244, 0.39900919795036316, -0.28485745191574097, 0.13531889021396637, -0.1416836977005005, -1.1465198993682861, -0.1962466537952423, -0.7769619226455688, 0.47866982221603394, 1.1175349950790405, 1.3139320611953735, -1.0709961652755737, -0.23156754672527313, -1.5570646524429321, -0.20718218386173248, -0.6966456174850464, 0.36536821722984314, -1.992483377456665, -0.1828940510749817, -1.8949567079544067, -2.409416675567627, -1.374098777770996, -0.8610726594924927, 1.0854260921478271, 0.06013886258006096, -0.9596800208091736, 1.198394536972046, -0.38338661193847656, -1.7854013442993164, 1.1844955682754517, -2.06259822845459 ]
https://github.com/huggingface/datasets/issues/4276
OpenBookQA has missing and inconsistent field names
I'm opening a PR that adds the missing fields. Let's agree on the feature structure: @lhoestq @mariosasko @polinaeterna
## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2
775
18
OpenBookQA has missing and inconsistent field names ## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2 I'm opening a PR that adds the missing fields. Let's agree on the feature structure: @lhoestq @mariosasko @polinaeterna
[ -1.1906375885009766, -0.8371402025222778, -0.7898828983306885, 1.5117089748382568, -0.18207137286663055, -1.264879822731018, -0.008320402354001999, -1.057259202003479, 1.6450623273849487, -0.7752101421356201, 0.19048185646533966, -1.6376582384109497, 0.06893451511859894, -0.5813731551170349, -0.7984316945075989, -0.8814036250114441, -0.39410364627838135, -0.6672260761260986, 1.0828286409378052, 2.429485559463501, 1.0943766832351685, -1.4388824701309204, 2.771198272705078, 0.6767571568489075, -0.0933266282081604, -1.030583381652832, 0.6257411241531372, 0.03938674181699753, -1.3822070360183716, -0.4097200036048889, -1.0302447080612183, -0.030616287142038345, -0.5578322410583496, -0.514598548412323, 0.05524306371808052, 0.23202835023403168, -0.20626850426197052, -0.5469199419021606, -0.3996446132659912, -0.7637374401092529, 0.3144068121910095, -0.36627453565597534, 0.8331934213638306, -0.3200829029083252, 1.8188505172729492, -0.5248866677284241, 0.3666882812976837, 0.6902968287467957, 1.313546895980835, 0.22885151207447052, 0.04715313762426376, 0.35311830043792725, 0.4283108711242676, -0.043261073529720306, 0.4141165018081665, 1.0419011116027832, 0.6248442530632019, 0.4275989234447479, 0.8641883730888367, -2.2507991790771484, 1.325469732284546, -1.0443638563156128, 0.22344975173473358, 1.3925487995147705, -1.05502188205719, 0.44683030247688293, -1.6746764183044434, 0.0425841398537159, 0.6221594214439392, -2.2703592777252197, 0.2937542796134949, -1.3506572246551514, -0.5424436926841736, 0.8789790272712708, 0.33586251735687256, -1.1873422861099243, 0.09411946684122086, -0.5456029176712036, 1.068058729171753, 0.4764685332775116, 1.0943595170974731, -1.7611273527145386, -0.0021404484286904335, -0.2174655944108963, 0.10503308475017548, -1.3714137077331543, -1.5495893955230713, 0.5059449076652527, 0.6670590043067932, 0.5812689661979675, 0.013364727608859539, 0.9119070768356323, -1.0411744117736816, 0.7773792743682861, -0.8913233876228333, -1.77219820022583, -1.3624985218048096, -2.306929111480713, -2.1681878566741943, 0.6638013124465942, -0.3353739082813263, -0.44672083854675293, 2.1317224502563477, -0.9986214637756348, -1.724121332168579, 1.2516498565673828, 0.3595179319381714, 0.045046839863061905, 2.373255491256714, 0.16596882045269012, -0.7540419697761536, 0.47709476947784424, -0.8725867867469788, 0.6468843817710876, -0.4961511492729187, 1.2532132863998413, 0.34784355759620667, -0.8875713348388672, 1.5962083339691162, -0.42322292923927307, 0.5632765889167786, -0.6976978182792664, -0.3825514316558838, -0.746929943561554, 0.2477870136499405, 1.9436451196670532, -0.20167821645736694, 1.4899026155471802, -0.35660120844841003, -1.5032724142074585, -1.516801357269287, 0.8686254024505615, 0.47517359256744385, -0.8350422382354736, 0.16495157778263092, -0.24630549550056458, 0.1701100617647171, -0.11020754277706146, 1.1001975536346436, 1.246760606765747, 0.7790753245353699, -0.2561424672603607, -1.067209005355835, 0.15988357365131378, -0.10981567203998566, -0.6856107115745544, -1.8444569110870361, -0.3017115294933319, 0.12120355665683746, 0.7963488698005676, -1.303280234336853, 1.6109247207641602, 0.844550609588623, 1.9410710334777832, 0.9939086437225342, -0.39436328411102295, 1.592126727104187, 0.1741497963666916, 1.8224550485610962, -0.5371676087379456, 0.8199895620346069, -0.49656257033348083, -1.132826328277588, 0.8321408629417419, -0.36616092920303345, -1.9773632287979126, -0.6996511220932007, -0.9972765445709229, -0.2099355012178421, -0.7523762583732605, 1.0545694828033447, -0.3016248047351837, -1.3291436433792114, 0.325033575296402, -0.8050700426101685, 0.1168002188205719, -1.191328763961792, 0.3560886085033417, 0.8530670404434204, -0.4693930745124817, 0.10216984897851944, -0.26480892300605774, -1.463120460510254, -0.4680429995059967, 0.43552514910697937, 1.780145525932312, -0.8499870896339417, 0.9541096091270447, 0.9359837770462036, -0.6685715317726135, -0.07834342867136002, 0.3393058180809021, -0.3401663899421692, 0.9174647331237793, -1.0915827751159668, -0.4291362166404724, 1.1372299194335938, -0.21179404854774475, -0.5810264945030212, 1.43048894405365, 0.7969051003456116, -0.8958859443664551, -0.22226539254188538, -0.1472620964050293, -0.7662888169288635, 0.004930897615849972, -1.6300500631332397, -0.17010024189949036, 0.3153328001499176, -1.544475793838501, -0.5060476660728455, -0.18503201007843018, 1.3116415739059448, -0.1080208495259285, 1.4030386209487915, -0.24907246232032776, -0.2492363303899765, -0.4937475919723511, -0.45653653144836426, 0.18795062601566315, -0.3770471513271332, -0.5356359481811523, 0.23002612590789795, -0.7645816206932068, 0.2595994174480438, 1.3379111289978027, 0.36221981048583984, 0.04726921766996384, 0.6164041757583618, 1.0805584192276, 0.34491974115371704, 0.022925619035959244, -0.9364248514175415, -1.6133768558502197, 2.0730085372924805, -1.529913306236267, 2.062920570373535, 0.6529558300971985, -0.008585665374994278, -1.7790427207946777, -1.9634134769439697, 1.4521225690841675, 1.0373647212982178, 2.2348599433898926, 0.5253913998603821, 0.4736964702606201, -0.8681186437606812, -0.6303308010101318, 0.25160470604896545, -0.9670401215553284, -0.7807173728942871, 0.14630044996738434, 2.531465530395508, 1.628145694732666, -0.4071555733680725, -0.16126686334609985, -0.9391252994537354, 1.5196011066436768, -0.13996712863445282, 0.2494211345911026, 1.9261219501495361, -0.15586557984352112, -1.0577929019927979, 1.0883655548095703, -2.4156744480133057, 0.09729821234941483, 1.9315319061279297, 0.23349124193191528, 0.10598037391901016, -1.4011282920837402, -0.8000164031982422, -0.1981339305639267, -0.4945780634880066, -1.2122341394424438, 0.5805578231811523, -0.23435580730438232, -0.8562637567520142, -1.4219805002212524, 0.16075661778450012, -1.1224641799926758, -1.6489814519882202, 0.23410148918628693, 1.9709935188293457, 2.154738664627075, -0.7860652804374695, 1.6139428615570068, -0.09475228190422058, 0.21292781829833984, 1.2426382303237915, 1.1385176181793213, 3.095290422439575, 1.9565306901931763, -1.2245280742645264, 0.5818756222724915, 0.0007116757333278656, -0.3978229761123657, 1.1545857191085815, -1.1763156652450562, 1.3007408380508423, -0.14838245511054993, -1.166763186454773, -1.1881489753723145, 0.918066680431366, 0.45159661769866943, 0.003611501306295395, -0.43344542384147644, 1.230959415435791, -0.07787831872701645, 1.3513333797454834, 0.5221825838088989, -0.1931508630514145, 0.5162764191627502, -0.46992766857147217, -0.5431501269340515, 1.5224241018295288, 0.08917585760354996, -1.4530105590820312, -2.3174827098846436, -0.2561328113079071, -0.7144707441329956, -0.03710320591926575, -0.6032354235649109, -1.1261279582977295, 1.6709619760513306, 0.4698103070259094, -1.0549381971359253, -0.24052250385284424, -0.38528573513031006, -0.7077075242996216, 2.614053249359131, -1.4757763147354126, -0.30513283610343933, -0.9401867985725403, -0.5220370292663574, 1.5247374773025513, -1.2404990196228027, -0.14089331030845642, -1.0092185735702515, -0.5084514021873474, -1.3452836275100708, -0.5489329695701599, -0.15762920677661896, -0.9124003648757935, 0.8472226858139038, 0.23090262711048126, -1.1511216163635254, -0.24414747953414917, -0.9940587282180786, 0.7715165615081787, 0.012029408477246761, 0.20566125214099884, 1.9033952951431274, 0.37174561619758606, -0.24972888827323914, 0.7040218710899353, 1.1418119668960571, 0.7265753149986267, -0.6911571025848389, 0.22001822292804718, -0.5039917826652527, 0.31667360663414, -1.310564398765564, 0.286447674036026, -2.8660295009613037, 0.6194363832473755, 0.02448197454214096, -0.14739921689033508, -0.016493063420057297, -1.2981714010238647, 1.2008066177368164, 2.587348461151123, -1.114794373512268, 0.5331482291221619, 0.2507130801677704, 1.3592592477798462, -1.6126539707183838, 0.3155926764011383, -0.45414721965789795, 2.1765804290771484, 0.13720117509365082, 1.14959716796875, -0.4461943507194519, -2.4509425163269043, 0.6373546719551086, -1.2298964262008667, -1.1177343130111694, 0.7211846709251404, -0.8334985375404358, 0.19006666541099548, -1.3890239000320435, -0.25979483127593994, -0.9253157377243042, -1.2610530853271484, 0.5503056645393372, 0.12298481166362762, 0.4817518889904022, -0.6353447437286377, 0.28136953711509705, -2.2268006801605225, -1.377891182899475, -0.12216600775718689, -0.883014440536499, 0.4692252278327942, -0.27678102254867554, 0.7644427418708801, -0.1656101793050766, 0.0826926901936531, 0.22225551307201385, 1.4307352304458618, 3.383655548095703, 0.1250077784061432, 0.4334472715854645, -0.19114308059215546, -0.9435842633247375, 1.384037971496582, 1.0636107921600342, -0.15601173043251038, -0.5548655390739441, -1.012610912322998, 1.3474297523498535, 2.0638363361358643, 0.8888861536979675, 0.05935651436448097, -0.6864218711853027, -0.6672455072402954, 0.11171222478151321, 0.2427009791135788, 0.5908010601997375, 0.9091169834136963, 0.07364465296268463, 0.07127481698989868, 1.511725664138794, 1.2428497076034546, -0.3592628836631775, 0.31700554490089417, -0.9236205816268921, -0.42868468165397644, 0.5539116263389587, 0.3581860363483429, -0.082441046833992, 0.27288535237312317, -1.0106979608535767, -0.19164371490478516, -0.3784140348434448, -0.8509272336959839, -0.7017180919647217, -0.3245460093021393, -0.322676420211792, 1.6069477796554565, 0.24889861047267914, -0.5209285020828247, -0.013153246603906155, -0.7205264568328857, -0.02596113458275795, -1.047118902206421, 0.2692010700702667, -0.21029523015022278, -0.010799096897244453, -0.10841664671897888, 1.8710877895355225, -0.9276748895645142, -2.0185487270355225, 0.0728885605931282, 0.2058185189962387, -0.3487473130226135, 0.16468839347362518, 1.6491202116012573, 0.54527348279953, 1.4907249212265015, 1.3641289472579956, 0.9362130165100098, -0.6686542630195618, -1.4141486883163452, 0.5286248326301575, 0.9460453391075134, -1.3910894393920898, 0.6724072694778442, -0.026583276689052582, -0.6539267301559448, 0.6250225901603699, 1.3815176486968994, 0.38772115111351013, -2.1015961170196533, 0.7601935267448425, -0.9577944874763489, 0.9162284135818481, 0.7805171608924866, 0.7613147497177124, 0.235280379652977, 0.7858485579490662, -1.2717300653457642, -1.033600091934204, -0.8531231880187988, -0.697634756565094, 1.9770536422729492, -0.4556524157524109, 0.44972312450408936, -0.17045359313488007, -1.2963862419128418, -0.03051086515188217, 0.5542630553245544, 0.3599187731742859, -0.30243465304374695, 0.8541196584701538, -0.7949812412261963, -1.314792275428772, -1.3068976402282715, -0.5702527761459351, -0.9378700852394104, -1.0256097316741943, 1.0534887313842773, 0.9164775609970093, 0.34817907214164734, 1.9427423477172852, 0.5432933568954468, 0.13100023567676544, -2.5959596633911133, 0.7966610193252563, 0.3787996768951416, -0.11946114152669907, 0.7251738905906677, 0.21872791647911072, 1.141467809677124, -0.13067401945590973, 0.46665695309638977, -2.46028470993042, 2.230234146118164, -0.2907019555568695, 0.79486083984375, -0.06692533940076828, -0.0013779615983366966, 1.1043387651443481, 0.5421445965766907, 0.7230634093284607, -1.047020673751831, 0.7379781603813171, -0.6300033330917358, 1.2520713806152344, 0.9058914184570312, -0.7554392218589783, -0.010511420667171478, 1.3436753749847412, 0.5050544738769531, -0.639446496963501, -0.9306366443634033, -1.0058163404464722, 0.8335829973220825, 1.855477213859558, -0.07557250559329987, 0.07707097381353378, 0.8566846251487732, 0.5783895254135132, -1.3737930059432983, 0.0721777006983757, -0.8125929832458496, -0.7331002950668335, 1.7013417482376099, 2.089668035507202, -0.16934293508529663, -0.023366734385490417, -0.6394636631011963, -1.3851706981658936, 0.7031609416007996, 0.01347488071769476, 0.07344388216733932, 0.5902711749076843, -0.5513739585876465, 1.0149922370910645, 0.8136765956878662, 0.974992573261261, 0.17121964693069458, 0.2773289680480957, 0.2871859073638916, -0.35170114040374756, -1.1385420560836792, -0.28461360931396484, -1.0141303539276123, -2.3336305618286133, 0.37374147772789, -0.17662788927555084, -1.4493780136108398, 0.06143995001912117, -0.9673199653625488, 0.8760117888450623, -0.5586868524551392, -1.0867596864700317, -1.346801519393921, 0.2071382999420166, -0.06768812984228134, 0.7892299890518188, -1.5506501197814941, -0.01837152987718582, 1.324599266052246, 1.0021997690200806, -0.5833560824394226, 1.1335428953170776, 0.24505506455898285, 1.0320916175842285, 0.8500530123710632, -0.42508405447006226, 0.41319820284843445, 0.1781095266342163, -1.3203076124191284, 0.535435676574707, 1.1592847108840942, 0.12121179699897766, 1.4855455160140991, -0.5561140179634094, -0.15357224643230438, 0.4197319746017456, -0.34486332535743713, -0.36783283948898315, -0.6410185694694519, 0.7352738976478577, 0.060913052409887314, -0.8012092113494873, 0.0370209701359272, -0.09357970207929611, -0.2746812105178833, 0.2529362738132477, -1.513948917388916, -0.20357201993465424, -0.37088555097579956, -0.5140028595924377, -1.2164506912231445, -0.01147405244410038, 1.331563949584961, -0.6879379749298096, -0.19225521385669708, 0.4449096918106079, 0.4252980351448059, 0.44673046469688416, 0.7772402167320251, -0.6144979596138, -0.47389256954193115, -0.23569098114967346, -0.3222644627094269, 0.3288533389568329, 1.1872949600219727, -0.21417498588562012, -1.0951482057571411, 0.6272097826004028, -0.35058820247650146, 0.012114259414374828, 1.888314962387085, 0.007326473481953144, -0.8565417528152466, 0.2939802408218384, -0.7970326542854309, 2.066622495651245, 1.6750895977020264, 1.3010162115097046, -0.24655820429325104, -0.964954137802124, 0.673321008682251, -0.2963200509548187, -0.4149130880832672, 0.8352826833724976, 0.6296612620353699, -0.21809843182563782, -1.3530844449996948, 0.6069803237915039, 1.2163126468658447, -1.0143965482711792, -0.7725930213928223, 0.184011772274971, -0.7844206690788269, 1.1081591844558716, 0.7194618582725525, 0.45438966155052185, 0.24040718376636505, 1.6905114650726318, 0.774555504322052, -0.6780582070350647, 0.46513831615448, 0.5333706140518188, -0.1023707389831543, -2.0337653160095215, -1.0803558826446533, 0.25405558943748474, -0.41434866189956665, -1.6880171298980713, 1.4092572927474976, -1.0848991870880127, -0.8413609862327576, 0.5772340297698975, 0.11309413611888885, 1.27776300907135, 0.22626060247421265, 1.553613305091858, 2.013258934020996, 0.834947407245636, 0.41352513432502747, 1.3474844694137573, -0.17354385554790497, -0.43542659282684326, 1.7834553718566895, -0.5365338921546936, 0.5270808339118958, 1.1512150764465332, -0.4480871260166168, -1.0232356786727905, -0.7386407852172852, -1.1154173612594604, -0.6192358732223511, 1.0903958082199097, 0.1451064944267273, -1.1640996932983398, 0.18521548807621002, 1.4843517541885376, 0.05584831163287163, -0.3600054979324341, 0.5754295587539673, 0.4516586363315582, -0.6783403754234314, -0.07207655906677246, -0.9926244020462036, 0.613403856754303, -0.190964937210083, -0.3582835793495178, 0.44595980644226074, 0.37222665548324585, 1.294934630393982, 0.06697653234004974, 0.13593047857284546, 1.2852303981781006, -1.4716875553131104, 1.513491153717041, -0.7466818690299988, 0.20907975733280182, -2.388244152069092, 1.3200020790100098, -0.7746623754501343, 2.013317823410034, -2.7145748138427734, 0.3247571289539337, -0.6622790098190308, -0.35041335225105286, 0.332502543926239, -0.20887450873851776, 0.10379020869731903, -0.18096616864204407, -1.1400847434997559, -0.11336813122034073, -0.8801232576370239, 0.4301348328590393, 1.1219829320907593, 1.3203626871109009, -1.0622636079788208, -0.1567065268754959, -1.5755510330200195, -0.15054768323898315, -0.7511965036392212, 0.36593011021614075, -2.008882999420166, -0.1461607962846756, -1.874871015548706, -2.414928913116455, -1.3864532709121704, -0.8390729427337646, 1.1175227165222168, 0.02261298894882202, -0.9275914430618286, 1.2078258991241455, -0.3036113381385803, -1.7290235757827759, 1.1715401411056519, -2.022664785385132 ]
https://github.com/huggingface/datasets/issues/4276
OpenBookQA has missing and inconsistent field names
IMO we should always try to preserve the original structure unless there is a good reason not to (and I don't see one in this case).
## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2
775
26
OpenBookQA has missing and inconsistent field names ## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2 IMO we should always try to preserve the original structure unless there is a good reason not to (and I don't see one in this case).
[ -1.1750718355178833, -0.8231461644172668, -0.7780905961990356, 1.4801825284957886, -0.16796667873859406, -1.2970821857452393, -0.034346193075180054, -1.0569682121276855, 1.647830843925476, -0.7957559823989868, 0.20401287078857422, -1.610734462738037, 0.06674831360578537, -0.6006532311439514, -0.7980906963348389, -0.8850740790367126, -0.38408276438713074, -0.6536449193954468, 1.0291959047317505, 2.4607486724853516, 1.1079076528549194, -1.442947268486023, 2.752777338027954, 0.683620274066925, -0.1026611402630806, -1.0426547527313232, 0.6342718601226807, 0.05495841056108475, -1.3709464073181152, -0.41507095098495483, -1.015106201171875, -0.011122358962893486, -0.5474224090576172, -0.5290010571479797, 0.02847670391201973, 0.2525230348110199, -0.20138946175575256, -0.5282251238822937, -0.3843127191066742, -0.7623093724250793, 0.3351246118545532, -0.40247902274131775, 0.8631867170333862, -0.3268243372440338, 1.8208932876586914, -0.5141590237617493, 0.377739816904068, 0.698901355266571, 1.3345953226089478, 0.20499932765960693, 0.011977835558354855, 0.3544737994670868, 0.39747029542922974, -0.039648354053497314, 0.43772485852241516, 1.0426908731460571, 0.6470414400100708, 0.40487438440322876, 0.8515869379043579, -2.2408106327056885, 1.3549171686172485, -1.0636411905288696, 0.24838459491729736, 1.3518481254577637, -1.035886287689209, 0.4592009484767914, -1.6636971235275269, -0.006821226794272661, 0.6156688332557678, -2.2983644008636475, 0.2880846858024597, -1.3553996086120605, -0.5294027328491211, 0.895479679107666, 0.3268708884716034, -1.2073155641555786, 0.0633838102221489, -0.5571644902229309, 1.0499104261398315, 0.4778190553188324, 1.080294132232666, -1.72105073928833, -0.008708575740456581, -0.21690289676189423, 0.10514287650585175, -1.3519896268844604, -1.5202637910842896, 0.4907778203487396, 0.6596855521202087, 0.5737739205360413, 0.03134831786155701, 0.9155571460723877, -1.0444157123565674, 0.7856197357177734, -0.8590716123580933, -1.763642430305481, -1.3460266590118408, -2.3366270065307617, -2.1753487586975098, 0.6659100651741028, -0.33172592520713806, -0.4676409959793091, 2.1480236053466797, -1.0187113285064697, -1.7157829999923706, 1.242460012435913, 0.3470134735107422, 0.06485393643379211, 2.393993854522705, 0.1423724740743637, -0.7824310064315796, 0.496284157037735, -0.8534625172615051, 0.6520810127258301, -0.5413017868995667, 1.2536970376968384, 0.36991262435913086, -0.9277455806732178, 1.6242882013320923, -0.44857728481292725, 0.5396033525466919, -0.7092085480690002, -0.39473477005958557, -0.753243088722229, 0.2661612033843994, 1.9173388481140137, -0.20181700587272644, 1.4853318929672241, -0.3526124358177185, -1.4829221963882446, -1.5044597387313843, 0.853518009185791, 0.49151310324668884, -0.8183583617210388, 0.12927676737308502, -0.2573153078556061, 0.14832451939582825, -0.09716261923313141, 1.089616298675537, 1.2284168004989624, 0.7354311347007751, -0.2593724727630615, -1.0665924549102783, 0.17835000157356262, -0.10863024741411209, -0.6746428608894348, -1.8592602014541626, -0.30657774209976196, 0.12784117460250854, 0.7751218676567078, -1.276277780532837, 1.6259078979492188, 0.8509713411331177, 1.9188284873962402, 0.9890882968902588, -0.3789008557796478, 1.5848596096038818, 0.13943123817443848, 1.8011058568954468, -0.5346794128417969, 0.8131353855133057, -0.4645855724811554, -1.1466515064239502, 0.8159761428833008, -0.3885630965232849, -1.9698352813720703, -0.691941499710083, -0.9753457903862, -0.18413707613945007, -0.7496868371963501, 1.0608869791030884, -0.28385791182518005, -1.3157821893692017, 0.32456687092781067, -0.8082171082496643, 0.09823644906282425, -1.1647679805755615, 0.38833341002464294, 0.8341269493103027, -0.47096773982048035, 0.09301520884037018, -0.29969340562820435, -1.437961459159851, -0.4657670259475708, 0.417520135641098, 1.7732828855514526, -0.8860161304473877, 0.9257699847221375, 0.9328426718711853, -0.6361989974975586, -0.0852409079670906, 0.3479321300983429, -0.3393087089061737, 0.9294854402542114, -1.0842233896255493, -0.4116097688674927, 1.1222984790802002, -0.1889767348766327, -0.5898616313934326, 1.4589687585830688, 0.768847644329071, -0.8753409385681152, -0.1908450573682785, -0.14291876554489136, -0.7905755043029785, 0.007342821918427944, -1.6690490245819092, -0.14773674309253693, 0.3075824975967407, -1.532167911529541, -0.48221641778945923, -0.18300573527812958, 1.303072214126587, -0.09336817264556885, 1.4158469438552856, -0.277413934469223, -0.2597165107727051, -0.47546517848968506, -0.46347668766975403, 0.18629558384418488, -0.32686203718185425, -0.5111640691757202, 0.23300455510616302, -0.7794995307922363, 0.259926974773407, 1.31989324092865, 0.35761091113090515, 0.038217950612306595, 0.6110093593597412, 1.053139567375183, 0.3232645094394684, -0.01522545050829649, -0.9065932631492615, -1.6190251111984253, 2.0923733711242676, -1.5118831396102905, 2.063678026199341, 0.726227343082428, 0.014887728728353977, -1.7642064094543457, -1.941523551940918, 1.4344279766082764, 1.0264643430709839, 2.2425692081451416, 0.49798068404197693, 0.44981977343559265, -0.8974265456199646, -0.6571835875511169, 0.28261229395866394, -0.9879223108291626, -0.7882152795791626, 0.09661691635847092, 2.5230579376220703, 1.6363131999969482, -0.39027467370033264, -0.1468234360218048, -0.9588581919670105, 1.5285776853561401, -0.14460153877735138, 0.26583826541900635, 1.9421495199203491, -0.16118879616260529, -1.0546627044677734, 1.138907551765442, -2.4255168437957764, 0.08614319562911987, 1.9381240606307983, 0.21092277765274048, 0.1188117116689682, -1.4074029922485352, -0.7469797134399414, -0.17373232543468475, -0.4608779549598694, -1.214597225189209, 0.5952604413032532, -0.23616287112236023, -0.8689136505126953, -1.421357274055481, 0.1469830572605133, -1.175734281539917, -1.6311572790145874, 0.28416627645492554, 1.9354389905929565, 2.162362575531006, -0.7745814323425293, 1.6328767538070679, -0.090072862803936, 0.21315713226795197, 1.2166252136230469, 1.1693363189697266, 3.1192030906677246, 1.9610689878463745, -1.2443641424179077, 0.5569493174552917, -0.016821352764964104, -0.41346970200538635, 1.168845295906067, -1.1751874685287476, 1.284869909286499, -0.15524423122406006, -1.1910606622695923, -1.1760445833206177, 0.9329143166542053, 0.4463585317134857, 0.03775910660624504, -0.4524288773536682, 1.2270597219467163, -0.08071022480726242, 1.360080599784851, 0.5333704948425293, -0.1698976755142212, 0.5168164372444153, -0.48094168305397034, -0.5365493893623352, 1.5046050548553467, 0.09702111035585403, -1.4323216676712036, -2.3244147300720215, -0.22258546948432922, -0.7168852686882019, -0.02978408709168434, -0.6248624920845032, -1.122437596321106, 1.6871814727783203, 0.4407491683959961, -1.0720547437667847, -0.258517861366272, -0.3679353892803192, -0.7190247178077698, 2.57487416267395, -1.4767528772354126, -0.2972576320171356, -0.9771302938461304, -0.5292330384254456, 1.5272002220153809, -1.2669107913970947, -0.11553411185741425, -0.977132260799408, -0.503085196018219, -1.3571785688400269, -0.5685150027275085, -0.1503203809261322, -0.9165186285972595, 0.8512845039367676, 0.23275241255760193, -1.1471270322799683, -0.23960234224796295, -0.9836887121200562, 0.7523130774497986, 0.0028147120028734207, 0.19067426025867462, 1.8699254989624023, 0.3585468530654907, -0.22936110198497772, 0.6961033344268799, 1.1385647058486938, 0.7211828827857971, -0.7061959505081177, 0.2370266169309616, -0.5468143820762634, 0.3248226046562195, -1.3228861093521118, 0.3183049261569977, -2.871931314468384, 0.6049047112464905, 0.03259051963686943, -0.10623305290937424, -0.028865214437246323, -1.2585513591766357, 1.189744472503662, 2.605912685394287, -1.1178356409072876, 0.5426966547966003, 0.2529260516166687, 1.3365916013717651, -1.6167553663253784, 0.32415300607681274, -0.4559186100959778, 2.181061267852783, 0.1465335190296173, 1.17866051197052, -0.4257149398326874, -2.4556243419647217, 0.648555338382721, -1.2435179948806763, -1.115797996520996, 0.6964208483695984, -0.8303660154342651, 0.16070421040058136, -1.3746256828308105, -0.24841515719890594, -0.9325754046440125, -1.2563834190368652, 0.5581764578819275, 0.1298612803220749, 0.49605444073677063, -0.6170349717140198, 0.2724423408508301, -2.19808030128479, -1.354387640953064, -0.13940316438674927, -0.8793675899505615, 0.4810730218887329, -0.24838076531887054, 0.7372661828994751, -0.16702309250831604, 0.07591014355421066, 0.22172868251800537, 1.3883388042449951, 3.3794567584991455, 0.14191165566444397, 0.41419264674186707, -0.1802668571472168, -0.9700869917869568, 1.390889048576355, 1.0463836193084717, -0.14860107004642487, -0.5717175006866455, -1.028372049331665, 1.3698362112045288, 2.067910671234131, 0.8776264786720276, 0.057963550090789795, -0.7147811651229858, -0.6387816071510315, 0.0813286304473877, 0.22795474529266357, 0.5768579244613647, 0.9230214953422546, 0.07622693479061127, 0.07410936057567596, 1.4947566986083984, 1.3144558668136597, -0.3551918864250183, 0.29912763833999634, -0.9318310022354126, -0.3989636301994324, 0.5587454438209534, 0.3466755449771881, -0.08838096261024475, 0.28324684500694275, -0.9926180243492126, -0.1825484037399292, -0.3940282464027405, -0.8261978030204773, -0.6987760663032532, -0.33644700050354004, -0.3212707042694092, 1.5950112342834473, 0.24398183822631836, -0.5318796038627625, -0.0006150230765342712, -0.7274396419525146, -0.03673740476369858, -1.0271466970443726, 0.25599193572998047, -0.17577989399433136, 0.001501309685409069, -0.10279270261526108, 1.8999742269515991, -0.902684211730957, -2.017321825027466, 0.09309200197458267, 0.1920275241136551, -0.3498893976211548, 0.17252285778522491, 1.6390057802200317, 0.557230532169342, 1.4871737957000732, 1.3808457851409912, 0.943476676940918, -0.6773719191551208, -1.403124451637268, 0.5247287750244141, 0.9989551305770874, -1.4327688217163086, 0.6662262678146362, -0.0007801000028848648, -0.680303692817688, 0.6675888299942017, 1.3627198934555054, 0.42099305987358093, -2.093308687210083, 0.7543354630470276, -0.9491909742355347, 0.9064788818359375, 0.7811222076416016, 0.7306355834007263, 0.2520996034145355, 0.7612034678459167, -1.2724865674972534, -1.0406806468963623, -0.8381853103637695, -0.7100191712379456, 1.980376958847046, -0.4752330482006073, 0.4910843074321747, -0.15668067336082458, -1.3174182176589966, -0.04967949539422989, 0.557562530040741, 0.3573272228240967, -0.3235761225223541, 0.8595232367515564, -0.7992636561393738, -1.3423482179641724, -1.3284775018692017, -0.5371274948120117, -0.9255179166793823, -0.9956730008125305, 1.0391082763671875, 0.9159088730812073, 0.35468733310699463, 1.949276089668274, 0.5399031043052673, 0.12966080009937286, -2.5964252948760986, 0.7817773818969727, 0.3831090033054352, -0.09483879804611206, 0.7245129942893982, 0.20273596048355103, 1.135257601737976, -0.09591104090213776, 0.4873916804790497, -2.4610438346862793, 2.2141306400299072, -0.2791387736797333, 0.8044657111167908, -0.04588278755545616, 0.005188489332795143, 1.090980052947998, 0.5276207327842712, 0.7561037540435791, -1.0648465156555176, 0.754922091960907, -0.6202690601348877, 1.2755807638168335, 0.929657518863678, -0.7707066535949707, -0.022785279899835587, 1.3441288471221924, 0.4835108816623688, -0.6432256698608398, -0.9081851840019226, -0.9907293915748596, 0.8224108219146729, 1.8622512817382812, -0.05301506072282791, 0.059877797961235046, 0.8623548746109009, 0.5833150148391724, -1.3622664213180542, 0.023619528859853745, -0.8037965893745422, -0.7295117378234863, 1.6969554424285889, 2.0709047317504883, -0.16012658178806305, -0.03421208634972572, -0.6314762234687805, -1.3845241069793701, 0.7109425067901611, 0.03316634148359299, 0.05917377769947052, 0.6147031784057617, -0.5479587912559509, 1.068000078201294, 0.8389443755149841, 0.949611246585846, 0.16790130734443665, 0.2643818259239197, 0.3026883602142334, -0.3701857030391693, -1.1181601285934448, -0.2940618693828583, -1.0370770692825317, -2.3670217990875244, 0.3841474652290344, -0.18135768175125122, -1.442012071609497, 0.0380716547369957, -0.9742786288261414, 0.8939029574394226, -0.5500359535217285, -1.0955376625061035, -1.3323155641555786, 0.19908249378204346, -0.05611804500222206, 0.7975149750709534, -1.5669918060302734, -0.029104575514793396, 1.3157988786697388, 0.9884430170059204, -0.57057124376297, 1.1242395639419556, 0.2422686517238617, 1.0188469886779785, 0.8362162709236145, -0.45114436745643616, 0.4137949049472809, 0.19779755175113678, -1.331285834312439, 0.5345228314399719, 1.1651016473770142, 0.08299979567527771, 1.4547544717788696, -0.5423906445503235, -0.14161521196365356, 0.4189106822013855, -0.32675406336784363, -0.3600378930568695, -0.6283977031707764, 0.7687034606933594, 0.06990552693605423, -0.8079894185066223, 0.010101803578436375, -0.090575210750103, -0.27886638045310974, 0.2386411726474762, -1.5377929210662842, -0.20962442457675934, -0.3766845464706421, -0.5130162835121155, -1.2124853134155273, -0.038205940276384354, 1.340964436531067, -0.6945642828941345, -0.1917644739151001, 0.44202643632888794, 0.43651753664016724, 0.49144652485847473, 0.7766087651252747, -0.5907078981399536, -0.49488890171051025, -0.2464124709367752, -0.3411230444908142, 0.34811460971832275, 1.1886024475097656, -0.22359809279441833, -1.0894293785095215, 0.6452269554138184, -0.35717397928237915, 0.010404524393379688, 1.8991796970367432, 0.022230025380849838, -0.8628531694412231, 0.3237500488758087, -0.8000688552856445, 2.0549211502075195, 1.6516703367233276, 1.3034038543701172, -0.22050222754478455, -0.9664616584777832, 0.6666622757911682, -0.3122793436050415, -0.395393431186676, 0.7989017367362976, 0.6295106410980225, -0.15988081693649292, -1.3419116735458374, 0.5959667563438416, 1.211383581161499, -1.0151641368865967, -0.7522872686386108, 0.1416015774011612, -0.8084912300109863, 1.089508295059204, 0.7199066281318665, 0.47474241256713867, 0.2161724865436554, 1.713814616203308, 0.7634060978889465, -0.7023765444755554, 0.4374043941497803, 0.5329074263572693, -0.12002266198396683, -2.0365326404571533, -1.0489999055862427, 0.24495428800582886, -0.42116978764533997, -1.6704517602920532, 1.412257194519043, -1.1244311332702637, -0.8225152492523193, 0.5766260623931885, 0.11316757649183273, 1.290840983390808, 0.2310703992843628, 1.546662449836731, 1.983707070350647, 0.8417798280715942, 0.3957976996898651, 1.3514058589935303, -0.17238306999206543, -0.41673627495765686, 1.7938441038131714, -0.5140844583511353, 0.5287351608276367, 1.1547030210494995, -0.45040521025657654, -1.0321128368377686, -0.7226777672767639, -1.1134848594665527, -0.6201239824295044, 1.09888756275177, 0.11570312082767487, -1.1675450801849365, 0.16187947988510132, 1.5272746086120605, 0.04588234797120094, -0.3588683605194092, 0.508216917514801, 0.4695250988006592, -0.6483850479125977, -0.06438510119915009, -0.9912132620811462, 0.5970639586448669, -0.15062803030014038, -0.34973883628845215, 0.43323662877082825, 0.4080619812011719, 1.2890583276748657, 0.052010077983140945, 0.16765163838863373, 1.2913397550582886, -1.4875390529632568, 1.5074049234390259, -0.7501160502433777, 0.20871597528457642, -2.417106866836548, 1.3365589380264282, -0.7801137566566467, 2.0272672176361084, -2.707552433013916, 0.3112308979034424, -0.6834538578987122, -0.3328409790992737, 0.3186369240283966, -0.20421066880226135, 0.0982743576169014, -0.19373977184295654, -1.123415470123291, -0.10747835785150528, -0.8539086580276489, 0.43213018774986267, 1.1388834714889526, 1.2988265752792358, -1.0788241624832153, -0.15590320527553558, -1.5748082399368286, -0.18559376895427704, -0.7683498859405518, 0.3410013020038605, -2.0294241905212402, -0.1259426474571228, -1.8799006938934326, -2.409536838531494, -1.4179463386535645, -0.8680026531219482, 1.1162536144256592, 0.04504518583416939, -0.9454774856567383, 1.1784684658050537, -0.2919345796108246, -1.7305132150650024, 1.1963318586349487, -2.0355279445648193 ]
https://github.com/huggingface/datasets/issues/4276
OpenBookQA has missing and inconsistent field names
I agree with @mariosasko . The transition to the original format could be done in one PR for the next minor release, clearly documenting all dataset changes just as @albertvillanova outlined them above and perhaps even providing a per dataset util method to convert the new valid format to the old for backward compatibility. Users who relied on the old format will update their code with either the util method for a quick fix or slightly more elaborate for the new.
## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2
775
81
OpenBookQA has missing and inconsistent field names ## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2 I agree with @mariosasko . The transition to the original format could be done in one PR for the next minor release, clearly documenting all dataset changes just as @albertvillanova outlined them above and perhaps even providing a per dataset util method to convert the new valid format to the old for backward compatibility. Users who relied on the old format will update their code with either the util method for a quick fix or slightly more elaborate for the new.
[ -1.2280917167663574, -0.8453518748283386, -0.7449106574058533, 1.4408634901046753, -0.17467541992664337, -1.2663087844848633, 0.05324982851743698, -1.1009154319763184, 1.655725359916687, -0.7793351411819458, 0.1947113573551178, -1.6548925638198853, 0.07144948095083237, -0.5539374947547913, -0.7634159922599792, -0.8872063159942627, -0.43322938680648804, -0.6924712061882019, 1.0722806453704834, 2.4408130645751953, 1.0947176218032837, -1.4355353116989136, 2.7197842597961426, 0.7112106084823608, -0.12223610281944275, -1.0335609912872314, 0.6025688052177429, 0.024577608332037926, -1.368424892425537, -0.45669299364089966, -0.9800689220428467, -0.03041280433535576, -0.5610637664794922, -0.4921290874481201, 0.012180056422948837, 0.2220894992351532, -0.23464205861091614, -0.49781370162963867, -0.4175015985965729, -0.7525593638420105, 0.336438924074173, -0.362895131111145, 0.8712049722671509, -0.32390373945236206, 1.8521071672439575, -0.5100014805793762, 0.4358825981616974, 0.7052332162857056, 1.3328824043273926, 0.20988360047340393, -0.0019762925803661346, 0.3528934717178345, 0.3891276717185974, -0.05189226567745209, 0.4465028643608093, 1.0676007270812988, 0.6644507050514221, 0.4291064143180847, 0.785429060459137, -2.2262892723083496, 1.3313055038452148, -1.0300735235214233, 0.3019598722457886, 1.4489737749099731, -1.0043665170669556, 0.4864118695259094, -1.7049633264541626, 0.02267439104616642, 0.6125193238258362, -2.275742769241333, 0.23333123326301575, -1.322716236114502, -0.4995262026786804, 0.9535750150680542, 0.29960358142852783, -1.2136485576629639, 0.11585424840450287, -0.5307447910308838, 1.0829439163208008, 0.47342950105667114, 1.1487528085708618, -1.7269408702850342, -0.00252588652074337, -0.25287559628486633, 0.11265645921230316, -1.3469533920288086, -1.5540624856948853, 0.5032876133918762, 0.6687065958976746, 0.5655192732810974, -0.002356364391744137, 0.9160566329956055, -1.04452645778656, 0.818248987197876, -0.8906261324882507, -1.71778404712677, -1.3315398693084717, -2.2836854457855225, -2.2151410579681396, 0.7067753076553345, -0.39835724234580994, -0.4528786540031433, 2.1290180683135986, -1.0430679321289062, -1.709580898284912, 1.241716742515564, 0.3512798547744751, 0.04811304807662964, 2.3975603580474854, 0.14862582087516785, -0.7315294742584229, 0.45826008915901184, -0.8078929781913757, 0.6795281171798706, -0.4938826560974121, 1.245503544807434, 0.380201131105423, -0.9389826655387878, 1.5859733819961548, -0.4395468533039093, 0.5598011016845703, -0.7202742099761963, -0.4173610806465149, -0.7873021960258484, 0.30313020944595337, 1.896989107131958, -0.2738553285598755, 1.5274171829223633, -0.37915757298469543, -1.47673761844635, -1.5595557689666748, 0.8648472428321838, 0.4752132296562195, -0.8290148973464966, 0.12419229745864868, -0.20941588282585144, 0.10668034106492996, -0.06148851662874222, 1.0646876096725464, 1.2402628660202026, 0.7669049501419067, -0.3161287009716034, -1.0191906690597534, 0.17017890512943268, -0.12074156105518341, -0.7328163385391235, -1.8204361200332642, -0.2906820476055145, 0.11161582171916962, 0.7369363903999329, -1.3305282592773438, 1.6613346338272095, 0.8882386088371277, 1.9214295148849487, 1.0093618631362915, -0.4381253123283386, 1.6095744371414185, 0.16719429194927216, 1.7987003326416016, -0.5168700218200684, 0.7937430143356323, -0.4050721526145935, -1.1252293586730957, 0.8170522451400757, -0.3230381906032562, -2.023040533065796, -0.7312579154968262, -0.9231158494949341, -0.20405252277851105, -0.7476071119308472, 1.0103687047958374, -0.2845320403575897, -1.3586589097976685, 0.3329569101333618, -0.7419658899307251, 0.10721945762634277, -1.217786192893982, 0.36034637689590454, 0.8392466306686401, -0.5087295770645142, 0.08406420797109604, -0.24368460476398468, -1.4428666830062866, -0.4578785002231598, 0.3638051152229309, 1.7752896547317505, -0.8203825950622559, 0.9233241677284241, 0.9923012852668762, -0.6788939237594604, -0.10495553910732269, 0.3335173428058624, -0.3356577455997467, 0.934790849685669, -1.0878279209136963, -0.4370077848434448, 1.102496862411499, -0.19330419600009918, -0.5815049409866333, 1.44990873336792, 0.7217128276824951, -0.9039688110351562, -0.22076304256916046, -0.1543680876493454, -0.7932436466217041, 0.02484945021569729, -1.6424895524978638, -0.15663547813892365, 0.2665943205356598, -1.5662099123001099, -0.5017037391662598, -0.20840619504451752, 1.3205463886260986, -0.14725437760353088, 1.4439735412597656, -0.313774436712265, -0.2215435951948166, -0.47344279289245605, -0.4071124792098999, 0.2025570422410965, -0.3055081069469452, -0.5553675293922424, 0.24429462850093842, -0.7641478776931763, 0.2647078037261963, 1.3460007905960083, 0.4151216149330139, 0.04207104444503784, 0.5800522565841675, 1.0446864366531372, 0.3405451774597168, -0.023627987131476402, -0.9653523564338684, -1.5882542133331299, 2.0946173667907715, -1.5276710987091064, 2.059828519821167, 0.6952710151672363, 0.007574588060379028, -1.807701587677002, -1.9198250770568848, 1.388815999031067, 1.0944201946258545, 2.243117094039917, 0.5053771734237671, 0.4812948703765869, -0.872942328453064, -0.6345428228378296, 0.2511489987373352, -0.9779236912727356, -0.7659294605255127, 0.14896366000175476, 2.494483232498169, 1.6380757093429565, -0.44185030460357666, -0.1582895815372467, -0.9373932480812073, 1.4772231578826904, -0.13234534859657288, 0.2783530354499817, 1.96004056930542, -0.18109160661697388, -1.0549678802490234, 1.127765417098999, -2.3979482650756836, 0.07297246158123016, 1.8790407180786133, 0.2169322371482849, 0.06566204875707626, -1.3496556282043457, -0.7286137938499451, -0.202935591340065, -0.4972717761993408, -1.2063606977462769, 0.5576066970825195, -0.2532820403575897, -0.8306336402893066, -1.4266935586929321, 0.13525938987731934, -1.166604995727539, -1.6268885135650635, 0.2794351279735565, 1.9489281177520752, 2.081890344619751, -0.7710850834846497, 1.5825788974761963, -0.14275814592838287, 0.18912026286125183, 1.1901758909225464, 1.1299505233764648, 3.096435785293579, 1.971236228942871, -1.2828919887542725, 0.5331078171730042, -0.05828455090522766, -0.4022468626499176, 1.1153171062469482, -1.17200767993927, 1.3562897443771362, -0.15561848878860474, -1.215921401977539, -1.1758466958999634, 0.9666529893875122, 0.4406106472015381, 0.06410305202007294, -0.4546264410018921, 1.2625946998596191, -0.04287054389715195, 1.4125200510025024, 0.5138289332389832, -0.2810194492340088, 0.5418181419372559, -0.4507569670677185, -0.5421475768089294, 1.5470932722091675, 0.04234504699707031, -1.4328869581222534, -2.320186138153076, -0.2866365313529968, -0.764535129070282, -0.002685010898858309, -0.5982247591018677, -1.0751529932022095, 1.6630834341049194, 0.49397870898246765, -1.1068161725997925, -0.32408779859542847, -0.3963397741317749, -0.6538570523262024, 2.629119873046875, -1.4813039302825928, -0.2681487798690796, -0.9477483034133911, -0.49555858969688416, 1.5290833711624146, -1.2282506227493286, -0.15325044095516205, -1.0252591371536255, -0.5936897993087769, -1.321698784828186, -0.5507796406745911, -0.15595743060112, -0.9338972568511963, 0.8468064069747925, 0.2270948588848114, -1.103031873703003, -0.2757486402988434, -0.953803300857544, 0.7685201168060303, -0.01793629676103592, 0.23203107714653015, 1.869977355003357, 0.4099181890487671, -0.23599083721637726, 0.7530463337898254, 1.1326627731323242, 0.7233650088310242, -0.662668764591217, 0.21839112043380737, -0.5697962641716003, 0.32934343814849854, -1.2896268367767334, 0.2487158626317978, -2.8947572708129883, 0.6262065172195435, 0.0195879228413105, -0.06200334429740906, -0.03707274794578552, -1.2895002365112305, 1.158547043800354, 2.6165361404418945, -1.1111738681793213, 0.4956882894039154, 0.30964311957359314, 1.299850583076477, -1.6375913619995117, 0.32427021861076355, -0.4425957500934601, 2.169757604598999, 0.12689317762851715, 1.1394445896148682, -0.46860989928245544, -2.446826696395874, 0.5789489150047302, -1.224351167678833, -1.1810815334320068, 0.7919022440910339, -0.8285734057426453, 0.14806009829044342, -1.3914151191711426, -0.2498275339603424, -0.8808979988098145, -1.2818738222122192, 0.5755214691162109, 0.13664302229881287, 0.5134860873222351, -0.6779575347900391, 0.27777087688446045, -2.2241921424865723, -1.3668625354766846, -0.16183671355247498, -0.854039192199707, 0.4646598696708679, -0.27816304564476013, 0.7547776699066162, -0.09921994805335999, 0.08865011483430862, 0.24183182418346405, 1.3949779272079468, 3.3770740032196045, 0.2231963574886322, 0.4009419083595276, -0.18203416466712952, -0.9618608951568604, 1.3495676517486572, 1.0084232091903687, -0.1757095903158188, -0.602922260761261, -1.0109601020812988, 1.31820547580719, 2.008420944213867, 0.8954245448112488, 0.058654941618442535, -0.6811400055885315, -0.5956354141235352, 0.0830465629696846, 0.24984623491764069, 0.5338313579559326, 0.9269952178001404, 0.058137938380241394, 0.10895662754774094, 1.5241096019744873, 1.3150289058685303, -0.3860796093940735, 0.3447180986404419, -0.8720507621765137, -0.496384859085083, 0.6004315614700317, 0.36358192563056946, -0.043042995035648346, 0.2917947769165039, -0.973565399646759, -0.19294419884681702, -0.39073869585990906, -0.9223614931106567, -0.6723271012306213, -0.3072832226753235, -0.32556790113449097, 1.6182910203933716, 0.19997377693653107, -0.48835182189941406, 0.015943601727485657, -0.7339400053024292, -0.058983489871025085, -1.0642303228378296, 0.28909045457839966, -0.1700935959815979, -0.015565318986773491, -0.11287565529346466, 1.8427473306655884, -0.931645393371582, -2.011885404586792, 0.09185658395290375, 0.1989804357290268, -0.34595105051994324, 0.18019543588161469, 1.6568000316619873, 0.4929547607898712, 1.5104973316192627, 1.3454481363296509, 0.9331737756729126, -0.6658881902694702, -1.3794851303100586, 0.5694679617881775, 0.9724286794662476, -1.348733901977539, 0.6913270950317383, 0.0215216726064682, -0.6588791012763977, 0.6574411392211914, 1.3345986604690552, 0.36920520663261414, -2.1303763389587402, 0.8308334350585938, -0.9435374140739441, 0.8882496953010559, 0.7579227089881897, 0.7643647193908691, 0.20235955715179443, 0.7926115989685059, -1.298390507698059, -1.061476230621338, -0.7942863702774048, -0.6426106691360474, 1.99600350856781, -0.404457151889801, 0.4966619312763214, -0.13971267640590668, -1.3143171072006226, -0.026041869074106216, 0.578414797782898, 0.38981178402900696, -0.33124926686286926, 0.8403467535972595, -0.7620136141777039, -1.26685631275177, -1.3975661993026733, -0.5050040483474731, -0.9463728070259094, -0.9694726467132568, 1.0619421005249023, 0.9099767208099365, 0.26172807812690735, 1.8949424028396606, 0.5193329453468323, 0.17511416971683502, -2.630513906478882, 0.8060551285743713, 0.3716863989830017, -0.1449863165616989, 0.7968140840530396, 0.23867817223072052, 1.0761774778366089, -0.05525929480791092, 0.45692723989486694, -2.451371192932129, 2.231999158859253, -0.2643243968486786, 0.7939507365226746, -0.061185017228126526, -0.07447963207960129, 1.0823215246200562, 0.5477397441864014, 0.7271400094032288, -1.079217791557312, 0.7264602184295654, -0.5883216261863708, 1.250407099723816, 0.951146125793457, -0.7629994750022888, -0.05540190637111664, 1.3347923755645752, 0.50627601146698, -0.6136596202850342, -0.9160631895065308, -1.007185459136963, 0.8659420609474182, 1.9129371643066406, -0.08043111115694046, 0.08825275301933289, 0.8289701342582703, 0.6391119360923767, -1.378016471862793, 0.09298331290483475, -0.7988806962966919, -0.7810932397842407, 1.6369707584381104, 2.0558078289031982, -0.10982483625411987, -0.08439470827579498, -0.6447318196296692, -1.3442662954330444, 0.7440541982650757, -0.03400030732154846, 0.13526827096939087, 0.6271233558654785, -0.6121720671653748, 1.0607811212539673, 0.8534524440765381, 0.9580379128456116, 0.17970921099185944, 0.2873222231864929, 0.29955947399139404, -0.31352418661117554, -1.139547348022461, -0.21819482743740082, -1.0292363166809082, -2.4102444648742676, 0.3874873220920563, -0.19923576712608337, -1.4796823263168335, 0.025038672611117363, -0.9206913709640503, 0.8795909881591797, -0.5410321354866028, -1.15185546875, -1.400219440460205, 0.22318628430366516, -0.0313698947429657, 0.8107661008834839, -1.5488797426223755, -0.030703844502568245, 1.2952457666397095, 0.9824604392051697, -0.5540030002593994, 1.1067030429840088, 0.28629323840141296, 1.000070571899414, 0.84002286195755, -0.4383426010608673, 0.41428840160369873, 0.15138249099254608, -1.3632475137710571, 0.5020567774772644, 1.1531436443328857, 0.16749095916748047, 1.431179404258728, -0.568133533000946, -0.07295975089073181, 0.44597530364990234, -0.3840589225292206, -0.3981740474700928, -0.6228163838386536, 0.7172719240188599, 0.01587727852165699, -0.8297562599182129, 0.036913707852363586, -0.12661132216453552, -0.28540417551994324, 0.2112269550561905, -1.5046266317367554, -0.2127520740032196, -0.39226603507995605, -0.5525146722793579, -1.2360200881958008, -0.021054986864328384, 1.3632527589797974, -0.683256983757019, -0.1772928535938263, 0.43013086915016174, 0.47261619567871094, 0.49153515696525574, 0.7891614437103271, -0.5737438797950745, -0.47084948420524597, -0.2477487474679947, -0.299360454082489, 0.3459681570529938, 1.2345551252365112, -0.24749790132045746, -1.0523862838745117, 0.6389241218566895, -0.35229820013046265, -0.0017345543019473553, 1.891956090927124, 0.10431881994009018, -0.825580894947052, 0.3229711949825287, -0.7843701243400574, 2.0100317001342773, 1.719154953956604, 1.3273067474365234, -0.22656624019145966, -1.0023865699768066, 0.6385835409164429, -0.36277371644973755, -0.4065171778202057, 0.9012009501457214, 0.6170367002487183, -0.17091092467308044, -1.3834683895111084, 0.593734622001648, 1.2115103006362915, -0.9640348553657532, -0.7594833970069885, 0.16086465120315552, -0.8070412278175354, 1.0825107097625732, 0.7106297016143799, 0.4592878222465515, 0.17550545930862427, 1.663867712020874, 0.7599366307258606, -0.6306911706924438, 0.4809306561946869, 0.5058609247207642, -0.15612775087356567, -2.052612543106079, -1.1320596933364868, 0.24189691245555878, -0.4328474700450897, -1.6198173761367798, 1.4524390697479248, -1.1199626922607422, -0.8890182971954346, 0.516992449760437, 0.06121107190847397, 1.2987065315246582, 0.28441134095191956, 1.5273313522338867, 2.065761089324951, 0.8805005550384521, 0.36843281984329224, 1.3641653060913086, -0.12539982795715332, -0.38570520281791687, 1.8233959674835205, -0.5042763352394104, 0.48203542828559875, 1.164552092552185, -0.452061265707016, -0.9919479489326477, -0.7359161376953125, -1.1365435123443604, -0.6271944046020508, 1.0998995304107666, 0.13009849190711975, -1.1059107780456543, 0.2382611632347107, 1.5059378147125244, 0.05142304301261902, -0.3615563213825226, 0.5616922378540039, 0.47724467515945435, -0.6640830636024475, -0.11134667694568634, -0.9672791957855225, 0.5662018060684204, -0.19438901543617249, -0.3183947205543518, 0.4507893919944763, 0.37923187017440796, 1.2904354333877563, 0.041761934757232666, 0.1524144560098648, 1.2703384160995483, -1.481882929801941, 1.505816102027893, -0.7229849696159363, 0.232242152094841, -2.3778116703033447, 1.3389333486557007, -0.7653409242630005, 1.9491134881973267, -2.717365264892578, 0.35960230231285095, -0.6405748724937439, -0.36885711550712585, 0.3503907024860382, -0.23097722232341766, 0.12315215170383453, -0.18884417414665222, -1.1454483270645142, -0.13075895607471466, -0.8290680646896362, 0.44051846861839294, 1.09152352809906, 1.2948029041290283, -1.0899670124053955, -0.21596592664718628, -1.5609501600265503, -0.1619168370962143, -0.7377274632453918, 0.3719683885574341, -2.021179676055908, -0.17759700119495392, -1.905004620552063, -2.4270763397216797, -1.3662643432617188, -0.8317471742630005, 1.1494593620300293, 0.06981325894594193, -0.9240106344223022, 1.1800389289855957, -0.35034826397895813, -1.782912254333496, 1.150459885597229, -2.080037832260132 ]
https://github.com/huggingface/datasets/issues/4276
OpenBookQA has missing and inconsistent field names
I don't have a strong opinion on this, besides the fact that whatever decision we agree on, should be applied to all datasets. There is always the tension between: - preserving each dataset original structure (which has the advantage of not forcing users to learn other structure for the same dataset), - and on the other hand performing some kind of standardization/harmonization depending on the task (this has the advantage that once learnt, the same structure applies to all datasets; this has been done for e.g. POS tagging: all datasets have been adapted to a certain "standard" structure). - Another advantage: datasets can easily be interchanged (or joined) to be used by the same model Recently, in the BigScience BioMedical hackathon, they adopted a different approach: - they implement a "source" config, respecting the original structure as much as possible - they implement additional config for each task, with a "standard" nested structure per task, which is most useful for users.
## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2
775
161
OpenBookQA has missing and inconsistent field names ## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2 I don't have a strong opinion on this, besides the fact that whatever decision we agree on, should be applied to all datasets. There is always the tension between: - preserving each dataset original structure (which has the advantage of not forcing users to learn other structure for the same dataset), - and on the other hand performing some kind of standardization/harmonization depending on the task (this has the advantage that once learnt, the same structure applies to all datasets; this has been done for e.g. POS tagging: all datasets have been adapted to a certain "standard" structure). - Another advantage: datasets can easily be interchanged (or joined) to be used by the same model Recently, in the BigScience BioMedical hackathon, they adopted a different approach: - they implement a "source" config, respecting the original structure as much as possible - they implement additional config for each task, with a "standard" nested structure per task, which is most useful for users.
[ -1.1962038278579712, -0.874221920967102, -0.8105416297912598, 1.4316532611846924, -0.1841830462217331, -1.2659589052200317, -0.019035642966628075, -1.126979112625122, 1.653304934501648, -0.8102425336837769, 0.21382538974285126, -1.604180932044983, 0.07267836481332779, -0.5569180250167847, -0.7458220720291138, -0.8580987453460693, -0.40817317366600037, -0.7615906000137329, 1.026551604270935, 2.525580644607544, 1.1202763319015503, -1.4615626335144043, 2.7398691177368164, 0.6828134655952454, -0.12348947674036026, -0.953772783279419, 0.614009439945221, 0.026799488812685013, -1.3617656230926514, -0.4327501952648163, -0.9936608672142029, -0.027754969894886017, -0.5596489906311035, -0.5288146734237671, 0.040238719433546066, 0.31175222992897034, -0.20795726776123047, -0.4929966628551483, -0.5053480863571167, -0.7450597882270813, 0.37134987115859985, -0.3690863251686096, 0.9155565500259399, -0.3034648299217224, 1.8401650190353394, -0.5018499493598938, 0.38889434933662415, 0.6943659782409668, 1.3287092447280884, 0.2753312289714813, -0.03533090651035309, 0.2751445770263672, 0.3844369649887085, -0.1270640790462494, 0.4638266861438751, 1.079501986503601, 0.7097452282905579, 0.48450130224227905, 0.8208839297294617, -2.230530023574829, 1.3661766052246094, -1.0808286666870117, 0.3111003339290619, 1.4200161695480347, -0.995770275592804, 0.4387168288230896, -1.7662906646728516, -0.0337916724383831, 0.5125982165336609, -2.280952215194702, 0.2591897249221802, -1.2534085512161255, -0.5279371738433838, 0.9835798740386963, 0.27364054322242737, -1.2409861087799072, 0.15023697912693024, -0.506552517414093, 1.039940595626831, 0.4459942877292633, 1.162477970123291, -1.7392199039459229, -0.018247053027153015, -0.27493610978126526, 0.10596076399087906, -1.289155125617981, -1.6102914810180664, 0.5438306331634521, 0.6164851784706116, 0.5209742188453674, -0.036999378353357315, 0.9220088720321655, -1.054147481918335, 0.7823218703269958, -0.9323030114173889, -1.7022398710250854, -1.4020705223083496, -2.2983994483947754, -2.2543821334838867, 0.7075338959693909, -0.3878569006919861, -0.4494791328907013, 2.126985788345337, -1.0058395862579346, -1.6624131202697754, 1.1863503456115723, 0.3581026792526245, 0.01197697501629591, 2.4276320934295654, 0.19439028203487396, -0.7343067526817322, 0.4660249650478363, -0.7880115509033203, 0.729881227016449, -0.44008776545524597, 1.2875691652297974, 0.3954120874404907, -0.9649924039840698, 1.5763046741485596, -0.4330136775970459, 0.58258455991745, -0.6823457479476929, -0.4193154275417328, -0.7554510831832886, 0.29154515266418457, 1.8868458271026611, -0.2479277402162552, 1.4685035943984985, -0.3395007848739624, -1.5365387201309204, -1.5209296941757202, 0.8820370435714722, 0.5223996043205261, -0.831344485282898, 0.12203880399465561, -0.28782919049263, 0.14132164418697357, -0.018472012132406235, 1.1143841743469238, 1.2417676448822021, 0.7908780574798584, -0.3107765018939972, -1.027142882347107, 0.09969531744718552, -0.08718923479318619, -0.6907859444618225, -1.7958422899246216, -0.2955619692802429, 0.0913957804441452, 0.7072897553443909, -1.3068095445632935, 1.7110164165496826, 0.8827547430992126, 1.9173250198364258, 0.9713684916496277, -0.4125928282737732, 1.579293131828308, 0.15801826119422913, 1.7694604396820068, -0.4941675364971161, 0.7210749387741089, -0.4194811284542084, -1.1961899995803833, 0.8450731039047241, -0.32916325330734253, -2.019575834274292, -0.7133265137672424, -0.890364408493042, -0.2150440514087677, -0.7200801372528076, 0.9829621315002441, -0.24545730650424957, -1.347321629524231, 0.28932127356529236, -0.6877830624580383, 0.059095531702041626, -1.173608660697937, 0.3731265664100647, 0.7614731192588806, -0.5848246812820435, 0.09993300586938858, -0.2837193012237549, -1.3965587615966797, -0.4855833947658539, 0.35340577363967896, 1.7770752906799316, -0.8178368806838989, 0.890891969203949, 1.0037109851837158, -0.6541675925254822, -0.06454997509717941, 0.3608122766017914, -0.32994014024734497, 0.9571846723556519, -1.0596414804458618, -0.47642332315444946, 1.0885263681411743, -0.18085448443889618, -0.5617161989212036, 1.4458701610565186, 0.6526128649711609, -0.96390700340271, -0.225122332572937, -0.143187016248703, -0.8642411231994629, 0.018192261457443237, -1.6143908500671387, -0.14109674096107483, 0.288137823343277, -1.5754380226135254, -0.4899607002735138, -0.22698962688446045, 1.2754154205322266, -0.1236787810921669, 1.3875592947006226, -0.3337835669517517, -0.2534697353839874, -0.45986098051071167, -0.4308488070964813, 0.1752871870994568, -0.25152432918548584, -0.5501737594604492, 0.2467087060213089, -0.8473984003067017, 0.22867585718631744, 1.4227370023727417, 0.4214540421962738, -0.040770888328552246, 0.566665768623352, 1.064956545829773, 0.39378035068511963, -0.04180584475398064, -0.9038679003715515, -1.5339043140411377, 2.0500903129577637, -1.5383341312408447, 1.9545191526412964, 0.7942619323730469, 0.061535947024822235, -1.823332667350769, -1.9127191305160522, 1.4004929065704346, 1.0844072103500366, 2.322404384613037, 0.484744131565094, 0.4616982638835907, -0.8394718170166016, -0.6161882877349854, 0.39525550603866577, -0.935386598110199, -0.777774453163147, 0.12372290343046188, 2.3983287811279297, 1.7184216976165771, -0.40652209520339966, -0.18677744269371033, -0.9506069421768188, 1.507310390472412, -0.1240786537528038, 0.20220518112182617, 1.9753096103668213, -0.22708792984485626, -1.0608025789260864, 1.2363821268081665, -2.4124746322631836, 0.1149882823228836, 1.9083524942398071, 0.2520017921924591, 0.06977740675210953, -1.412562608718872, -0.757038950920105, -0.17156583070755005, -0.506963849067688, -1.2228609323501587, 0.5673677325248718, -0.2071259617805481, -0.782348096370697, -1.4843677282333374, 0.13920068740844727, -1.2498756647109985, -1.6507138013839722, 0.23579822480678558, 1.8997365236282349, 2.1603312492370605, -0.8080903887748718, 1.5676392316818237, -0.2276943027973175, 0.1652880758047104, 1.1958938837051392, 1.1646020412445068, 3.144348382949829, 1.8871084451675415, -1.2711621522903442, 0.568028450012207, -0.07723147422075272, -0.4163261651992798, 1.1227352619171143, -1.108302354812622, 1.2943962812423706, -0.1622009426355362, -1.2002147436141968, -1.1298294067382812, 0.9051943421363831, 0.46066099405288696, 0.08300645649433136, -0.4499373435974121, 1.1492362022399902, -0.009660963900387287, 1.3269938230514526, 0.5420002937316895, -0.2724742293357849, 0.54079669713974, -0.45061036944389343, -0.5393761396408081, 1.5212079286575317, 0.10029346495866776, -1.4031428098678589, -2.3073999881744385, -0.23024176061153412, -0.746752142906189, 0.03602805733680725, -0.6612128019332886, -1.0231391191482544, 1.6539174318313599, 0.4447731375694275, -1.1548407077789307, -0.31092146039009094, -0.3998129665851593, -0.6576218008995056, 2.5752482414245605, -1.4828039407730103, -0.21271859109401703, -0.955521285533905, -0.55314701795578, 1.4974169731140137, -1.2248955965042114, -0.21675622463226318, -0.9981439709663391, -0.5093757510185242, -1.3207587003707886, -0.597224235534668, -0.08744760602712631, -0.9059030413627625, 0.8520393967628479, 0.17604218423366547, -1.1324703693389893, -0.2599385380744934, -0.8952828049659729, 0.7519723773002625, -0.0025180503726005554, 0.15144853293895721, 1.8768861293792725, 0.3803122341632843, -0.3020418584346771, 0.713654100894928, 1.1658269166946411, 0.6834266185760498, -0.6514504551887512, 0.20215636491775513, -0.6436606645584106, 0.35282206535339355, -1.271683692932129, 0.2842417359352112, -2.8945271968841553, 0.6255998015403748, 0.005533051677048206, -0.061487410217523575, 0.021117880940437317, -1.2817553281784058, 1.1101434230804443, 2.5792598724365234, -1.1084760427474976, 0.5051544904708862, 0.29740312695503235, 1.25344717502594, -1.5743051767349243, 0.2922075092792511, -0.46167758107185364, 2.104863405227661, 0.1278209686279297, 1.1535753011703491, -0.5114868879318237, -2.3820624351501465, 0.5762073993682861, -1.288615107536316, -1.168366551399231, 0.7600865364074707, -0.8142244815826416, 0.09466969966888428, -1.4196219444274902, -0.25156131386756897, -0.8638843297958374, -1.2457170486450195, 0.6195605397224426, 0.15105284750461578, 0.5092971324920654, -0.6392910480499268, 0.3072201907634735, -2.2103755474090576, -1.3641849756240845, -0.1978428214788437, -0.8716112375259399, 0.4698946475982666, -0.3231813609600067, 0.7348822355270386, -0.17813223600387573, 0.09041640907526016, 0.2737489938735962, 1.3919260501861572, 3.3773677349090576, 0.13402284681797028, 0.3870181441307068, -0.21963126957416534, -0.9814999103546143, 1.4067342281341553, 1.0227879285812378, -0.16101333498954773, -0.5920129418373108, -1.086223840713501, 1.3335752487182617, 1.996038794517517, 0.9195280075073242, 0.039431579411029816, -0.7571926116943359, -0.630874752998352, 0.015625063329935074, 0.24360691010951996, 0.5254976749420166, 0.9406089782714844, 0.055465199053287506, 0.11252602934837341, 1.5146738290786743, 1.293925166130066, -0.34367257356643677, 0.3579765260219574, -0.853319525718689, -0.4853655695915222, 0.5443580150604248, 0.3552737832069397, -0.016815941780805588, 0.32791706919670105, -1.005249261856079, -0.2357933223247528, -0.4117234945297241, -0.8895391821861267, -0.6486668586730957, -0.3553244471549988, -0.317162424325943, 1.6222484111785889, 0.18130776286125183, -0.5238586664199829, -0.011686153709888458, -0.7462900876998901, -0.08085934072732925, -1.0900447368621826, 0.30980002880096436, -0.1211499273777008, -0.07831240445375443, -0.12456879019737244, 1.83524489402771, -0.8853036165237427, -2.0328457355499268, 0.11407649517059326, 0.23191295564174652, -0.3223007321357727, 0.1843636929988861, 1.6709799766540527, 0.5259077548980713, 1.4701955318450928, 1.3521238565444946, 0.9171229600906372, -0.6760706901550293, -1.388425588607788, 0.5827676653862, 0.9966462850570679, -1.4139331579208374, 0.7283046841621399, -0.02091347984969616, -0.654004693031311, 0.6948829293251038, 1.3048094511032104, 0.3988029956817627, -2.0756990909576416, 0.8407931327819824, -0.9362547397613525, 0.814415693283081, 0.7359479665756226, 0.7758520841598511, 0.1874113231897354, 0.7082443833351135, -1.2623738050460815, -1.0719422101974487, -0.7524334788322449, -0.634975790977478, 1.9968501329421997, -0.3792639672756195, 0.5201101303100586, -0.2552877962589264, -1.3455040454864502, -0.010914050042629242, 0.5981616973876953, 0.3651447892189026, -0.3977864980697632, 0.8131774663925171, -0.7513067722320557, -1.2629653215408325, -1.3333930969238281, -0.4690617024898529, -0.9956416487693787, -0.9132717251777649, 1.071448564529419, 0.917040228843689, 0.32647016644477844, 1.9540722370147705, 0.5737199187278748, 0.20622079074382782, -2.6152637004852295, 0.815168023109436, 0.41683122515678406, -0.17358559370040894, 0.8152881860733032, 0.2502519488334656, 1.0711472034454346, -0.08608586341142654, 0.5313970446586609, -2.429243564605713, 2.3092551231384277, -0.20149824023246765, 0.8322673439979553, -0.03090677410364151, -0.053607724606990814, 1.139901041984558, 0.5824969410896301, 0.6923447847366333, -1.065899133682251, 0.69705730676651, -0.5654536485671997, 1.2243554592132568, 0.9166606664657593, -0.7729219794273376, -0.020084377378225327, 1.30221688747406, 0.5200116634368896, -0.5437381863594055, -0.9066509008407593, -0.9733468890190125, 0.929943323135376, 1.9383983612060547, -0.06234665587544441, 0.1122981458902359, 0.8075323104858398, 0.6095048189163208, -1.346755027770996, 0.07167187333106995, -0.758584201335907, -0.7602335214614868, 1.6099255084991455, 2.056809663772583, -0.1440379023551941, -0.04405374825000763, -0.6587361693382263, -1.3983038663864136, 0.7551618814468384, 0.050715792924165726, 0.16337577998638153, 0.5797664523124695, -0.6133415699005127, 1.1301172971725464, 0.9108529090881348, 0.9586395621299744, 0.20101623237133026, 0.25229325890541077, 0.28400757908821106, -0.323217511177063, -1.1214908361434937, -0.26553940773010254, -1.0372636318206787, -2.419297933578491, 0.4260093569755554, -0.15663617849349976, -1.438840627670288, 0.03159056976437569, -0.933099627494812, 0.882846474647522, -0.5277212262153625, -1.1241496801376343, -1.4558043479919434, 0.2405388504266739, -0.03128967806696892, 0.8635751008987427, -1.6189534664154053, -0.09331043064594269, 1.2518831491470337, 1.0313799381256104, -0.6086676120758057, 1.0406821966171265, 0.23070703446865082, 0.9401682019233704, 0.8704767227172852, -0.44602736830711365, 0.4414835274219513, 0.20841139554977417, -1.3391669988632202, 0.42739665508270264, 1.1866732835769653, 0.14096547663211823, 1.41537606716156, -0.5674222111701965, -0.024384329095482826, 0.4107845425605774, -0.34881311655044556, -0.3865392506122589, -0.5560518503189087, 0.6992908716201782, 0.04463857784867287, -0.8344066739082336, 0.009841007180511951, -0.06844551861286163, -0.2586143910884857, 0.2618805468082428, -1.46232008934021, -0.26026228070259094, -0.41153684258461, -0.47783163189888, -1.2497004270553589, -0.050450414419174194, 1.3861620426177979, -0.7402516603469849, -0.23615677654743195, 0.5155125856399536, 0.41985610127449036, 0.525570273399353, 0.7253119945526123, -0.6488327383995056, -0.4503176212310791, -0.22483590245246887, -0.3812193274497986, 0.2948177456855774, 1.2866822481155396, -0.2198343425989151, -1.0064541101455688, 0.6701698303222656, -0.2873271703720093, 0.048649463802576065, 1.9369792938232422, 0.08857414126396179, -0.857674777507782, 0.36565572023391724, -0.7332726716995239, 1.975260615348816, 1.7313741445541382, 1.3287369012832642, -0.19201406836509705, -0.9610647559165955, 0.6907058358192444, -0.33282095193862915, -0.37712356448173523, 0.8831692934036255, 0.540077805519104, -0.1941463053226471, -1.4174765348434448, 0.6018571853637695, 1.2578535079956055, -0.9459835886955261, -0.7762451767921448, 0.12170002609491348, -0.79119873046875, 1.113624095916748, 0.6948176026344299, 0.4546685814857483, 0.16864319145679474, 1.6918678283691406, 0.7528040409088135, -0.5983244180679321, 0.5223323106765747, 0.5295000672340393, -0.136537104845047, -2.068164110183716, -1.1259682178497314, 0.25059807300567627, -0.4617377817630768, -1.612472653388977, 1.4118508100509644, -1.1089123487472534, -0.9286186695098877, 0.578758180141449, 0.02873999997973442, 1.3329589366912842, 0.28879231214523315, 1.5419296026229858, 2.051618814468384, 0.8701955676078796, 0.36339014768600464, 1.3089020252227783, -0.16337552666664124, -0.3818511962890625, 1.8521074056625366, -0.5043622851371765, 0.5031351447105408, 1.139404296875, -0.4321439564228058, -0.9991490840911865, -0.7121618390083313, -1.1385902166366577, -0.7340421080589294, 1.1274678707122803, 0.09091366827487946, -1.080808401107788, 0.25766998529434204, 1.5352320671081543, 0.023402445018291473, -0.3427720367908478, 0.5745041370391846, 0.5107423663139343, -0.6726764440536499, -0.10256792604923248, -0.9255265593528748, 0.5447074174880981, -0.2119675874710083, -0.3852936625480652, 0.3985919654369354, 0.4126676023006439, 1.3007696866989136, 0.044578537344932556, 0.1269165426492691, 1.213810920715332, -1.4877724647521973, 1.4759023189544678, -0.7423071265220642, 0.22461888194084167, -2.395528793334961, 1.4343599081039429, -0.7817398309707642, 2.0110864639282227, -2.709939479827881, 0.35735633969306946, -0.6322835087776184, -0.37825512886047363, 0.2775172293186188, -0.2457234412431717, 0.14312909543514252, -0.17675897479057312, -1.0602954626083374, -0.13058464229106903, -0.7533102631568909, 0.49690520763397217, 1.146317481994629, 1.3361105918884277, -1.0992144346237183, -0.2379283607006073, -1.5821396112442017, -0.17131726443767548, -0.6954944729804993, 0.26222628355026245, -2.01470947265625, -0.17721953988075256, -1.8643146753311157, -2.4095871448516846, -1.3594659566879272, -0.8991648554801941, 1.1778053045272827, 0.09559831023216248, -0.9495713114738464, 1.2103558778762817, -0.36325299739837646, -1.8045475482940674, 1.1752967834472656, -2.122103452682495 ]
https://github.com/huggingface/datasets/issues/4276
OpenBookQA has missing and inconsistent field names
@albertvillanova, thanks for the detailed answer and the new perspectives. I understand the friction for the best design approach much better now. Ultimately, it is essential to include all the missing fields and the correct data first. Whatever approach is determined to be optimal is important but not as crucial once all the data is there, and users can create lambda functions to create whatever structure serves them best.
## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2
775
69
OpenBookQA has missing and inconsistent field names ## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2 @albertvillanova, thanks for the detailed answer and the new perspectives. I understand the friction for the best design approach much better now. Ultimately, it is essential to include all the missing fields and the correct data first. Whatever approach is determined to be optimal is important but not as crucial once all the data is there, and users can create lambda functions to create whatever structure serves them best.
[ -1.1739768981933594, -0.8354883790016174, -0.7478064298629761, 1.45536208152771, -0.14945922791957855, -1.282948613166809, 0.00047447439283132553, -1.0981717109680176, 1.6671518087387085, -0.8288990259170532, 0.21147426962852478, -1.5742195844650269, 0.02625589817762375, -0.5624556541442871, -0.7736415266990662, -0.8904783129692078, -0.4103783071041107, -0.6825356483459473, 1.0089428424835205, 2.467745304107666, 1.0684393644332886, -1.5008832216262817, 2.7379629611968994, 0.6692822575569153, -0.07564309984445572, -1.0612391233444214, 0.6218200922012329, 0.05066443979740143, -1.3531417846679688, -0.4417465329170227, -1.007593035697937, -0.02406451106071472, -0.566655158996582, -0.5270110964775085, 0.03799721226096153, 0.24269890785217285, -0.2621532380580902, -0.5353833436965942, -0.41631022095680237, -0.7922699451446533, 0.35834261775016785, -0.3737863600254059, 0.8712913393974304, -0.31888607144355774, 1.8191732168197632, -0.4543512165546417, 0.39909929037094116, 0.7235430479049683, 1.3465418815612793, 0.24418067932128906, -0.021597186103463173, 0.35834991931915283, 0.38336116075515747, -0.07072622328996658, 0.4443390667438507, 1.0407224893569946, 0.6338207125663757, 0.4288068413734436, 0.7986131310462952, -2.2803032398223877, 1.343469500541687, -1.0812515020370483, 0.2540847957134247, 1.401979923248291, -1.052087664604187, 0.47124436497688293, -1.7125176191329956, 0.007525700144469738, 0.5819876790046692, -2.2890331745147705, 0.23523929715156555, -1.2727992534637451, -0.504690408706665, 0.9237927198410034, 0.3347645699977875, -1.1986037492752075, 0.07792345434427261, -0.5151503682136536, 1.0393362045288086, 0.46472933888435364, 1.1040433645248413, -1.7561858892440796, -0.03455290198326111, -0.23254655301570892, 0.11235259473323822, -1.3743906021118164, -1.5795503854751587, 0.4780782461166382, 0.7066981196403503, 0.5368014574050903, 0.012452756054699421, 0.9442118406295776, -1.0844671726226807, 0.789451003074646, -0.9242582321166992, -1.7395368814468384, -1.3662748336791992, -2.295814275741577, -2.193878173828125, 0.6791294813156128, -0.37539437413215637, -0.4701553285121918, 2.1524999141693115, -1.006588339805603, -1.690223217010498, 1.2476704120635986, 0.31880074739456177, 0.06015262007713318, 2.402785539627075, 0.18744444847106934, -0.7653754353523254, 0.46620476245880127, -0.8023324012756348, 0.6535822153091431, -0.5171316862106323, 1.2321139574050903, 0.369091272354126, -0.9329402446746826, 1.624730110168457, -0.4171767830848694, 0.5326061844825745, -0.7142070531845093, -0.3948895037174225, -0.7812962532043457, 0.2760239243507385, 1.9226683378219604, -0.236904576420784, 1.4762122631072998, -0.34539109468460083, -1.4713449478149414, -1.5754791498184204, 0.8836251497268677, 0.46501660346984863, -0.8181300759315491, 0.13315564393997192, -0.23802970349788666, 0.12779006361961365, -0.09736152738332748, 1.074195146560669, 1.2561535835266113, 0.7543364763259888, -0.26924094557762146, -1.0610685348510742, 0.1808348447084427, -0.1420155167579651, -0.6827231049537659, -1.7987102270126343, -0.3099727928638458, 0.10099195688962936, 0.7615714073181152, -1.2877368927001953, 1.6675034761428833, 0.9187946319580078, 1.9028689861297607, 1.0126993656158447, -0.438126802444458, 1.565165400505066, 0.17948326468467712, 1.8315891027450562, -0.5445200800895691, 0.7907180786132812, -0.4221474528312683, -1.1496591567993164, 0.8520031571388245, -0.3705446720123291, -1.9869184494018555, -0.7157036066055298, -0.9740189909934998, -0.21753934025764465, -0.7168804407119751, 1.0270609855651855, -0.24874740839004517, -1.3366169929504395, 0.3052699863910675, -0.7634317278862, 0.1063084751367569, -1.1731895208358765, 0.4047633409500122, 0.8523721694946289, -0.5234020352363586, 0.0729145035147667, -0.28517863154411316, -1.4399893283843994, -0.45805737376213074, 0.41000938415527344, 1.8105093240737915, -0.8381293416023254, 0.9317629933357239, 0.9509168267250061, -0.7032349705696106, -0.08702892810106277, 0.32809978723526, -0.33822396397590637, 0.9451997876167297, -1.1155481338500977, -0.44648170471191406, 1.1342899799346924, -0.19199790060520172, -0.5667606592178345, 1.4597262144088745, 0.7198007702827454, -0.919512152671814, -0.2056502252817154, -0.1652800291776657, -0.7656593918800354, 0.04228511452674866, -1.6398882865905762, -0.14476358890533447, 0.2834802269935608, -1.5355278253555298, -0.5016700625419617, -0.19841605424880981, 1.2986496686935425, -0.1523519605398178, 1.4182071685791016, -0.2803455591201782, -0.2686460316181183, -0.48685818910598755, -0.4187318980693817, 0.17229488492012024, -0.33704903721809387, -0.5189847946166992, 0.25475025177001953, -0.800639271736145, 0.24885615706443787, 1.3341957330703735, 0.3940427899360657, 0.03937998786568642, 0.5877659916877747, 1.0437190532684326, 0.3450751304626465, -0.0018825605511665344, -0.9449880719184875, -1.5766597986221313, 2.0909571647644043, -1.482661247253418, 2.0589661598205566, 0.6712036728858948, 0.00473412312567234, -1.8245002031326294, -1.903249979019165, 1.4352672100067139, 1.0403636693954468, 2.263673782348633, 0.5026946663856506, 0.5106614232063293, -0.8792635798454285, -0.6583014130592346, 0.3069540858268738, -0.9680549502372742, -0.7709739804267883, 0.12037020921707153, 2.481663227081299, 1.6332204341888428, -0.39317387342453003, -0.12883466482162476, -0.9384041428565979, 1.5104684829711914, -0.10045965015888214, 0.2645999789237976, 1.9276455640792847, -0.17332381010055542, -1.1107970476150513, 1.1689398288726807, -2.4232938289642334, 0.13400258123874664, 1.8923922777175903, 0.2443893551826477, 0.0835505947470665, -1.3998417854309082, -0.7256201505661011, -0.16934503614902496, -0.5106980204582214, -1.1959218978881836, 0.5701480507850647, -0.22675442695617676, -0.8078664541244507, -1.4664844274520874, 0.1223420649766922, -1.182350516319275, -1.6491429805755615, 0.24469158053398132, 1.9077637195587158, 2.114560127258301, -0.724208652973175, 1.6244683265686035, -0.08622214943170547, 0.21448804438114166, 1.2047631740570068, 1.1554335355758667, 3.0875463485717773, 1.9452883005142212, -1.279239535331726, 0.5573273301124573, -0.004107073415070772, -0.39732682704925537, 1.1349762678146362, -1.1806271076202393, 1.324817419052124, -0.12740705907344818, -1.2223109006881714, -1.1712439060211182, 0.9667975306510925, 0.4469519555568695, 0.05515080690383911, -0.47174492478370667, 1.2695528268814087, -0.056431643664836884, 1.372314453125, 0.5277006030082703, -0.21088026463985443, 0.5518887639045715, -0.4684534966945648, -0.5579540729522705, 1.545235276222229, 0.11179476231336594, -1.400361180305481, -2.3316259384155273, -0.25642240047454834, -0.7702110409736633, 0.035392213612794876, -0.6242354512214661, -1.0695267915725708, 1.6847078800201416, 0.4349876642227173, -1.1012192964553833, -0.32659146189689636, -0.39099690318107605, -0.7082456946372986, 2.5825228691101074, -1.476054072380066, -0.2879490554332733, -0.9886736869812012, -0.49688956141471863, 1.470207929611206, -1.2935177087783813, -0.142341747879982, -1.0219871997833252, -0.5386640429496765, -1.3260661363601685, -0.5782831311225891, -0.16277973353862762, -0.8869861364364624, 0.8316666483879089, 0.2790951728820801, -1.1159064769744873, -0.25690603256225586, -0.9826180934906006, 0.7350978255271912, -0.009873089380562305, 0.20846445858478546, 1.826428771018982, 0.3898078203201294, -0.24732336401939392, 0.7308168411254883, 1.1578160524368286, 0.7416302561759949, -0.6633251905441284, 0.24527260661125183, -0.5609355568885803, 0.31375622749328613, -1.2720088958740234, 0.2580343186855316, -2.899991989135742, 0.6331153512001038, 0.0013509336858987808, -0.051413241773843765, -0.023603735491633415, -1.2634085416793823, 1.1750891208648682, 2.5931894779205322, -1.1065409183502197, 0.5400791168212891, 0.28312233090400696, 1.3430571556091309, -1.625282645225525, 0.3575877547264099, -0.4649435877799988, 2.200711250305176, 0.12883023917675018, 1.1182883977890015, -0.4365224540233612, -2.4190454483032227, 0.5831992030143738, -1.2274694442749023, -1.1134103536605835, 0.7422990202903748, -0.7987247109413147, 0.14175193011760712, -1.3553602695465088, -0.20799192786216736, -0.8729651570320129, -1.2350984811782837, 0.5726730227470398, 0.09943699091672897, 0.4685635566711426, -0.5999515056610107, 0.26933541893959045, -2.193478584289551, -1.38741135597229, -0.1834581345319748, -0.8889321088790894, 0.4700075685977936, -0.30322933197021484, 0.7898828387260437, -0.1667129397392273, 0.068048857152462, 0.2357354760169983, 1.406457781791687, 3.366070032119751, 0.16813743114471436, 0.46689456701278687, -0.21339051425457, -0.9725198149681091, 1.399155616760254, 1.0495685338974, -0.16412562131881714, -0.5792739987373352, -1.0149611234664917, 1.3290505409240723, 2.041029214859009, 0.8859241604804993, 0.07455820590257645, -0.7031705975532532, -0.6289878487586975, 0.08593117445707321, 0.2419162392616272, 0.595592737197876, 0.9115291237831116, 0.0679389163851738, 0.1075376495718956, 1.5238875150680542, 1.3469380140304565, -0.37394586205482483, 0.3049594461917877, -0.8715977072715759, -0.42840445041656494, 0.5582016706466675, 0.37287014722824097, -0.04010051116347313, 0.3190915882587433, -0.9750615954399109, -0.1774166226387024, -0.3741755783557892, -0.8671456575393677, -0.6584956049919128, -0.3797367811203003, -0.3133409023284912, 1.665697693824768, 0.24007081985473633, -0.5091556906700134, 0.026325255632400513, -0.7385103106498718, -0.007046541199088097, -1.1082723140716553, 0.3016888201236725, -0.16868752241134644, -0.04650427773594856, -0.08644841611385345, 1.8991657495498657, -0.9319855570793152, -2.008132219314575, 0.0867835134267807, 0.17997543513774872, -0.3414570689201355, 0.17397131025791168, 1.640060305595398, 0.5115218758583069, 1.4877718687057495, 1.4086945056915283, 0.9325133562088013, -0.7089744210243225, -1.3524788618087769, 0.5359352827072144, 0.9808784127235413, -1.4290995597839355, 0.6911291480064392, 0.014512327499687672, -0.6488025188446045, 0.6527816653251648, 1.3918297290802002, 0.353982150554657, -2.1040360927581787, 0.7687515616416931, -0.9287137389183044, 0.9274111986160278, 0.7513720393180847, 0.7038408517837524, 0.19901339709758759, 0.7394999861717224, -1.258878469467163, -1.0800336599349976, -0.8271158337593079, -0.6706357002258301, 1.9921461343765259, -0.45404812693595886, 0.4802841544151306, -0.16387157142162323, -1.3622485399246216, -0.018291763961315155, 0.5788028240203857, 0.36574649810791016, -0.33625125885009766, 0.8480694890022278, -0.7717376351356506, -1.3399885892868042, -1.3715146780014038, -0.5350922346115112, -0.994061291217804, -0.9861953258514404, 1.1135096549987793, 0.89410400390625, 0.2635270059108734, 1.92229425907135, 0.5853992700576782, 0.14239229261875153, -2.64496111869812, 0.8024840950965881, 0.3559005856513977, -0.10494066774845123, 0.7890109419822693, 0.20189212262630463, 1.0977888107299805, -0.12578748166561127, 0.5166427493095398, -2.4683051109313965, 2.251512289047241, -0.256491094827652, 0.8273958563804626, -0.030691787600517273, -0.05759679898619652, 1.082397222518921, 0.5606589913368225, 0.7486799955368042, -1.113144874572754, 0.7096367478370667, -0.6478317379951477, 1.2360588312149048, 0.9196521043777466, -0.7776878476142883, 0.009212835691869259, 1.3265063762664795, 0.4988987445831299, -0.6241826415061951, -0.9263913035392761, -1.040451169013977, 0.8397062420845032, 1.874342918395996, -0.08166567981243134, 0.07076430320739746, 0.870930016040802, 0.6195307374000549, -1.3743007183074951, 0.09584243595600128, -0.791083574295044, -0.7489760518074036, 1.632309913635254, 2.0556857585906982, -0.12969094514846802, -0.06066962704062462, -0.6387431621551514, -1.3929498195648193, 0.6962170004844666, 0.034088581800460815, 0.12029984593391418, 0.5573881268501282, -0.5680890679359436, 1.0513571500778198, 0.8388954401016235, 0.9440397024154663, 0.1657344251871109, 0.301061749458313, 0.32256048917770386, -0.3427450954914093, -1.0895864963531494, -0.19340042769908905, -1.0013515949249268, -2.3878471851348877, 0.38869336247444153, -0.20894251763820648, -1.4798293113708496, 0.019070830196142197, -0.9338656067848206, 0.8828255534172058, -0.5147671103477478, -1.136328101158142, -1.3860101699829102, 0.18650224804878235, -0.07713145017623901, 0.816828727722168, -1.5505934953689575, -0.058629561215639114, 1.2997052669525146, 0.9908698201179504, -0.5655957460403442, 1.149685025215149, 0.2478536069393158, 1.0340063571929932, 0.8126802444458008, -0.4527748227119446, 0.4428707957267761, 0.16381560266017914, -1.3200788497924805, 0.48857706785202026, 1.1494709253311157, 0.12400352954864502, 1.443256139755249, -0.5298925638198853, -0.12941360473632812, 0.39425674080848694, -0.33596286177635193, -0.37779203057289124, -0.6249316334724426, 0.7626657485961914, 0.03427683189511299, -0.818458080291748, 0.07482045888900757, -0.08995459973812103, -0.2716921269893646, 0.19636352360248566, -1.4953482151031494, -0.20747148990631104, -0.4219105839729309, -0.4998721778392792, -1.197293758392334, -0.03477124124765396, 1.3305550813674927, -0.692510187625885, -0.19823168218135834, 0.41600215435028076, 0.4692009389400482, 0.5108318328857422, 0.7834129929542542, -0.5736778378486633, -0.5145519375801086, -0.22198283672332764, -0.3332480192184448, 0.37827637791633606, 1.1773825883865356, -0.2291673719882965, -1.0654847621917725, 0.6594151854515076, -0.34446728229522705, 0.037393976002931595, 1.8828855752944946, 0.06858067959547043, -0.8433871269226074, 0.3282099962234497, -0.7730408310890198, 2.007319211959839, 1.70228910446167, 1.3470536470413208, -0.18763414025306702, -0.9975719451904297, 0.687092125415802, -0.34698450565338135, -0.35608458518981934, 0.8728713989257812, 0.6087715029716492, -0.18583492934703827, -1.376320242881775, 0.5756180286407471, 1.2045358419418335, -0.9619264602661133, -0.7534053325653076, 0.13344860076904297, -0.7517316937446594, 1.1006718873977661, 0.6889485716819763, 0.481447696685791, 0.17405164241790771, 1.666433334350586, 0.7887029647827148, -0.6425464153289795, 0.5171599388122559, 0.5225866436958313, -0.18128225207328796, -2.019599437713623, -1.0944815874099731, 0.242308109998703, -0.45977750420570374, -1.6428152322769165, 1.4281736612319946, -1.0944079160690308, -0.8565021753311157, 0.5360317230224609, 0.09358082711696625, 1.2987935543060303, 0.24845412373542786, 1.5688287019729614, 2.0050559043884277, 0.8407723307609558, 0.3754290044307709, 1.3524526357650757, -0.14558438956737518, -0.4262946844100952, 1.830247163772583, -0.5240891575813293, 0.4921422004699707, 1.173532485961914, -0.4203125834465027, -1.0188772678375244, -0.7156645655632019, -1.1148405075073242, -0.6347557306289673, 1.106581211090088, 0.11656840145587921, -1.125701904296875, 0.18812045454978943, 1.4962959289550781, 0.05569196492433548, -0.357891708612442, 0.5506967902183533, 0.43407371640205383, -0.6341015100479126, -0.09314408898353577, -0.9605558514595032, 0.5622440576553345, -0.2099284678697586, -0.34173065423965454, 0.4287835359573364, 0.33275800943374634, 1.265993356704712, 0.059312134981155396, 0.18509547412395477, 1.2605048418045044, -1.4901137351989746, 1.4846951961517334, -0.7354021668434143, 0.2164827138185501, -2.376236915588379, 1.332714319229126, -0.7495655417442322, 1.996043086051941, -2.7023777961730957, 0.3301604986190796, -0.6835424304008484, -0.3753005862236023, 0.3863699436187744, -0.21950559318065643, 0.1060405746102333, -0.20325706899166107, -1.1712672710418701, -0.1370863914489746, -0.8281291127204895, 0.41847607493400574, 1.0987194776535034, 1.2692230939865112, -1.0340977907180786, -0.18344075977802277, -1.592552900314331, -0.1342725157737732, -0.7702463865280151, 0.36746278405189514, -1.9997769594192505, -0.12916694581508636, -1.8951281309127808, -2.402745485305786, -1.4030733108520508, -0.8599671125411987, 1.137538194656372, 0.06513909250497818, -0.9464256763458252, 1.2219476699829102, -0.3254818618297577, -1.7568193674087524, 1.1728793382644653, -2.048529624938965 ]
https://github.com/huggingface/datasets/issues/4276
OpenBookQA has missing and inconsistent field names
Datasets are not tracked in this repository anymore. I think we must move this thread to the [discussions tab of the dataset](https://huggingface.co/datasets/openbookqa/discussions)
## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2
775
22
OpenBookQA has missing and inconsistent field names ## Describe the bug OpenBookQA implementation is inconsistent with the original dataset. We need to: 1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format. 2. Add missing additional fields: - 'fact1': row['fact1'], - 'humanScore': row['humanScore'], - 'clarity': row['clarity'], - 'turkIdAnonymized': row['turkIdAnonymized'] 3. Ensure the structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Expected results The structure and every data item in the original OpenBookQA matches our OpenBookQA version. ## Actual results TBD ## Environment info - `datasets` version: 2.1.0 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.13 - PyArrow version: 7.0.0 - Pandas version: 1.4.2 Datasets are not tracked in this repository anymore. I think we must move this thread to the [discussions tab of the dataset](https://huggingface.co/datasets/openbookqa/discussions)
[ -1.1745386123657227, -0.8170990943908691, -0.7875366806983948, 1.475058674812317, -0.1232234388589859, -1.299286961555481, -0.01610148884356022, -1.0619772672653198, 1.6374751329421997, -0.7768942713737488, 0.18954959511756897, -1.6499474048614502, 0.04717228561639786, -0.5778653025627136, -0.7946587800979614, -0.8957010507583618, -0.38867807388305664, -0.6469797492027283, 1.0366674661636353, 2.459909200668335, 1.1122210025787354, -1.4599566459655762, 2.7267565727233887, 0.6709302067756653, -0.06831134110689163, -1.0537165403366089, 0.6485459804534912, 0.06254416704177856, -1.388223648071289, -0.4207996428012848, -0.9784543514251709, -0.009355236776173115, -0.5587805509567261, -0.5082058906555176, 0.047129955142736435, 0.25115665793418884, -0.2184881865978241, -0.5085332989692688, -0.41675207018852234, -0.7638015151023865, 0.3107009828090668, -0.36222130060195923, 0.8425455689430237, -0.34089648723602295, 1.8084402084350586, -0.5431346893310547, 0.3717884123325348, 0.7047932147979736, 1.3170905113220215, 0.22909633815288544, 0.03942015394568443, 0.3251623809337616, 0.41554805636405945, -0.01539560966193676, 0.40224364399909973, 1.0697804689407349, 0.6705223321914673, 0.38418975472450256, 0.8387876152992249, -2.253570079803467, 1.3100720643997192, -1.0134764909744263, 0.270129531621933, 1.3963121175765991, -1.0370514392852783, 0.4408271908760071, -1.691001057624817, -0.007437904365360737, 0.6107279062271118, -2.286628484725952, 0.2725042402744293, -1.3630878925323486, -0.5132783651351929, 0.8797075152397156, 0.3338853716850281, -1.193557620048523, 0.06697872281074524, -0.5772398114204407, 1.0698859691619873, 0.5193057060241699, 1.1185648441314697, -1.7068947553634644, -0.015033228322863579, -0.24433965981006622, 0.0874992311000824, -1.3445533514022827, -1.5705671310424805, 0.4767577350139618, 0.668549656867981, 0.5887089967727661, 0.0023088064044713974, 0.9044795632362366, -1.0468418598175049, 0.7595966458320618, -0.8943818807601929, -1.7532304525375366, -1.3716191053390503, -2.3042044639587402, -2.198495864868164, 0.6901868581771851, -0.3418852388858795, -0.44208770990371704, 2.129246711730957, -1.0045219659805298, -1.7122620344161987, 1.2256089448928833, 0.359750896692276, 0.08522102236747742, 2.361605167388916, 0.16444148123264313, -0.7658178806304932, 0.45723575353622437, -0.8048301935195923, 0.6308972239494324, -0.4692125916481018, 1.2443336248397827, 0.4015333652496338, -0.9303506016731262, 1.6156302690505981, -0.4400842785835266, 0.524534285068512, -0.7289744019508362, -0.37204861640930176, -0.7603163123130798, 0.24172024428844452, 1.8857942819595337, -0.21826624870300293, 1.501478672027588, -0.3696000576019287, -1.5318375825881958, -1.5175085067749023, 0.8503208756446838, 0.4777267277240753, -0.8182344436645508, 0.10946999490261078, -0.2721463441848755, 0.1366186887025833, -0.07842783629894257, 1.0892657041549683, 1.213600754737854, 0.7604053616523743, -0.30062445998191833, -1.0161281824111938, 0.17514154314994812, -0.09270244836807251, -0.6985284090042114, -1.8589156866073608, -0.30421683192253113, 0.16768154501914978, 0.7534151673316956, -1.3172069787979126, 1.6607292890548706, 0.8415851593017578, 1.9600709676742554, 0.9929466843605042, -0.388859361410141, 1.5944503545761108, 0.1263311207294464, 1.8242751359939575, -0.5366973280906677, 0.794009268283844, -0.4145351052284241, -1.1287658214569092, 0.8398677110671997, -0.3785986006259918, -1.9923324584960938, -0.7155710458755493, -0.9912177324295044, -0.17630687355995178, -0.769061267375946, 1.0683908462524414, -0.2893800139427185, -1.3261955976486206, 0.27527761459350586, -0.8010426759719849, 0.10137897729873657, -1.192265272140503, 0.3344860374927521, 0.8597975969314575, -0.48993268609046936, 0.06816689670085907, -0.28274402022361755, -1.45834481716156, -0.45030444860458374, 0.43244096636772156, 1.7588096857070923, -0.8455111384391785, 0.927035391330719, 0.9256561398506165, -0.650137722492218, -0.04567606747150421, 0.3374270498752594, -0.3415374755859375, 0.924389123916626, -1.0887560844421387, -0.43478837609291077, 1.149075984954834, -0.18956208229064941, -0.6171431541442871, 1.4667407274246216, 0.8060830235481262, -0.8758212924003601, -0.18862296640872955, -0.13515117764472961, -0.8019081354141235, 0.009748829528689384, -1.626617670059204, -0.13775324821472168, 0.2952980101108551, -1.5229257345199585, -0.4986898899078369, -0.17720432579517365, 1.3404722213745117, -0.14806856215000153, 1.4133063554763794, -0.2873815596103668, -0.2477930188179016, -0.47635769844055176, -0.4692576229572296, 0.18749457597732544, -0.35119861364364624, -0.5819094777107239, 0.2686477303504944, -0.8084595799446106, 0.21504133939743042, 1.3341416120529175, 0.41287580132484436, 0.047431085258722305, 0.6315823197364807, 1.0649347305297852, 0.3271612524986267, -0.027531621977686882, -0.9199930429458618, -1.645686388015747, 2.087608814239502, -1.5109715461730957, 2.0499672889709473, 0.6782254576683044, -0.0006971675902605057, -1.7892357110977173, -1.9351884126663208, 1.4135122299194336, 1.003113031387329, 2.301189422607422, 0.4674203097820282, 0.4748208522796631, -0.8783982396125793, -0.6651793718338013, 0.266571044921875, -0.9971359372138977, -0.7695275545120239, 0.10992375016212463, 2.5075607299804688, 1.6503709554672241, -0.4158085584640503, -0.17244797945022583, -0.9522491097450256, 1.4657909870147705, -0.14049093425273895, 0.2708408534526825, 1.9464372396469116, -0.14006423950195312, -1.046001672744751, 1.1196308135986328, -2.425931453704834, 0.10220417380332947, 1.9536888599395752, 0.2229643315076828, 0.12021154165267944, -1.4383103847503662, -0.7605767846107483, -0.21501845121383667, -0.4984927475452423, -1.2177033424377441, 0.5942733883857727, -0.23208776116371155, -0.8630462884902954, -1.4080414772033691, 0.11269108951091766, -1.1681952476501465, -1.6477131843566895, 0.308866411447525, 1.9244182109832764, 2.115093946456909, -0.7773810029029846, 1.6060394048690796, -0.11095607280731201, 0.2119380235671997, 1.2328615188598633, 1.1530792713165283, 3.1055314540863037, 1.9572594165802002, -1.2909079790115356, 0.6007856726646423, -0.03004019893705845, -0.40242356061935425, 1.1411432027816772, -1.1337817907333374, 1.2682350873947144, -0.17685535550117493, -1.224428653717041, -1.1787149906158447, 0.9837840795516968, 0.4748547673225403, 0.021805834025144577, -0.4977407157421112, 1.2716106176376343, -0.11626191437244415, 1.3479975461959839, 0.570422351360321, -0.2175203263759613, 0.5078262686729431, -0.44805431365966797, -0.5561487078666687, 1.507460355758667, 0.09211660921573639, -1.4682457447052002, -2.3342761993408203, -0.24367846548557281, -0.7499659657478333, -0.06918372213840485, -0.612758219242096, -1.1147332191467285, 1.6962480545043945, 0.4690004885196686, -1.0961596965789795, -0.2700948119163513, -0.3603021800518036, -0.7307640910148621, 2.595247507095337, -1.4885008335113525, -0.3108397424221039, -0.9772329926490784, -0.5083377361297607, 1.5431159734725952, -1.2467035055160522, -0.10431024432182312, -0.9890405535697937, -0.5510060787200928, -1.3686991930007935, -0.5631704926490784, -0.10828503966331482, -0.899703860282898, 0.8542004823684692, 0.1772426962852478, -1.115765929222107, -0.24650096893310547, -1.005810260772705, 0.780985951423645, 0.004074896685779095, 0.23499025404453278, 1.9013910293579102, 0.3891051411628723, -0.22832095623016357, 0.6919911503791809, 1.1257073879241943, 0.7434545159339905, -0.6887291669845581, 0.21898183226585388, -0.5493801832199097, 0.2790790796279907, -1.352859616279602, 0.28182360529899597, -2.8679909706115723, 0.6242531538009644, 0.017231324687600136, -0.08427824079990387, -0.017557859420776367, -1.2659199237823486, 1.1989550590515137, 2.5660736560821533, -1.1478679180145264, 0.503467321395874, 0.2950918674468994, 1.32601797580719, -1.6281633377075195, 0.3548342287540436, -0.4529378116130829, 2.1761412620544434, 0.14132042229175568, 1.1745660305023193, -0.4299143850803375, -2.3685500621795654, 0.6364942193031311, -1.2396652698516846, -1.0472686290740967, 0.7685989141464233, -0.8088447451591492, 0.21535862982273102, -1.417136549949646, -0.23384186625480652, -0.9138088822364807, -1.2486021518707275, 0.5667702555656433, 0.1271679401397705, 0.4823530912399292, -0.6302465200424194, 0.28890886902809143, -2.1996567249298096, -1.3479702472686768, -0.14057393372058868, -0.8872406482696533, 0.4723413288593292, -0.24014131724834442, 0.7218186259269714, -0.1421736776828766, 0.06936725974082947, 0.22254391014575958, 1.3968212604522705, 3.373570203781128, 0.16213729977607727, 0.40666523575782776, -0.1512080430984497, -0.9659077525138855, 1.4067214727401733, 1.029982089996338, -0.13152489066123962, -0.5492261052131653, -0.9800938963890076, 1.366432785987854, 2.0500221252441406, 0.9371233582496643, 0.07132111489772797, -0.7120240926742554, -0.6902064085006714, 0.11462652683258057, 0.2451176792383194, 0.6073501706123352, 0.898647129535675, 0.04703045263886452, 0.08401310443878174, 1.528308391571045, 1.3104324340820312, -0.3458591401576996, 0.34119564294815063, -0.9655986428260803, -0.4298624098300934, 0.553943932056427, 0.3608662486076355, -0.04132983833551407, 0.325760155916214, -1.0363143682479858, -0.1901974231004715, -0.3891277611255646, -0.8515902757644653, -0.682837724685669, -0.3754497170448303, -0.3531147241592407, 1.5890922546386719, 0.21703152358531952, -0.5347492098808289, 0.015068279579281807, -0.7194391489028931, -0.05250819772481918, -1.054474949836731, 0.29683804512023926, -0.18263870477676392, 0.019886096939444542, -0.10959494113922119, 1.8595554828643799, -0.9390043020248413, -2.048903465270996, 0.09855741262435913, 0.20470282435417175, -0.37690234184265137, 0.15183328092098236, 1.652750849723816, 0.5260249972343445, 1.456176519393921, 1.3695555925369263, 0.9399967193603516, -0.6686935424804688, -1.3858000040054321, 0.5335705876350403, 0.9880836606025696, -1.400164246559143, 0.7156921029090881, -0.03603748977184296, -0.6761310696601868, 0.6712836027145386, 1.3854645490646362, 0.37267541885375977, -2.1053054332733154, 0.7579243183135986, -0.8940296173095703, 0.8916762471199036, 0.7346372008323669, 0.7531241178512573, 0.2382296323776245, 0.7679528594017029, -1.327267050743103, -1.0560863018035889, -0.8290303349494934, -0.6852353811264038, 1.9477570056915283, -0.4175485670566559, 0.46438872814178467, -0.13420794904232025, -1.3064066171646118, -0.05581875145435333, 0.5551227331161499, 0.36895936727523804, -0.33212658762931824, 0.8754876255989075, -0.7648413777351379, -1.3093944787979126, -1.3057079315185547, -0.5485251545906067, -0.9126605987548828, -0.9904749393463135, 1.057931900024414, 0.9309360980987549, 0.3761431574821472, 1.9225825071334839, 0.5287584066390991, 0.14707139134407043, -2.634140968322754, 0.7613775730133057, 0.3470603823661804, -0.063383549451828, 0.7087441682815552, 0.20377874374389648, 1.1461468935012817, -0.1086650937795639, 0.500294029712677, -2.4506118297576904, 2.230616331100464, -0.30157196521759033, 0.7964239716529846, -0.06919883191585541, -0.019696809351444244, 1.122765064239502, 0.5199254751205444, 0.7386096715927124, -1.061692476272583, 0.7285638451576233, -0.6293830275535583, 1.1921058893203735, 0.954434871673584, -0.8046374320983887, -0.005065400153398514, 1.3201149702072144, 0.505926251411438, -0.6070492267608643, -0.956802487373352, -0.9486448168754578, 0.8362828493118286, 1.831895112991333, -0.030370688065886497, 0.07603445649147034, 0.8974723219871521, 0.5798584818840027, -1.3641185760498047, 0.07079389691352844, -0.7985102534294128, -0.7034589648246765, 1.6909546852111816, 2.0612008571624756, -0.14366814494132996, -0.02167636714875698, -0.6198230385780334, -1.3491361141204834, 0.6890845894813538, -0.00013170763850212097, 0.08465026319026947, 0.628122091293335, -0.5797520279884338, 1.0357253551483154, 0.784951388835907, 0.967157244682312, 0.1454712450504303, 0.28220415115356445, 0.2752135992050171, -0.3322415351867676, -1.1519298553466797, -0.2954203486442566, -1.0291318893432617, -2.3284764289855957, 0.3716251850128174, -0.22830310463905334, -1.437017560005188, 0.045083291828632355, -1.0046772956848145, 0.9041305184364319, -0.5797486901283264, -1.0823677778244019, -1.3439196348190308, 0.24666152894496918, -0.06269565969705582, 0.7775025367736816, -1.576844573020935, -0.023972604423761368, 1.3072121143341064, 0.9852628111839294, -0.5295161008834839, 1.1232287883758545, 0.2435697764158249, 1.0302083492279053, 0.8324356079101562, -0.4323020279407501, 0.40169063210487366, 0.1887304037809372, -1.3341933488845825, 0.5192010402679443, 1.1287041902542114, 0.10743492841720581, 1.4723010063171387, -0.5584466457366943, -0.10161341726779938, 0.4438299536705017, -0.3474317193031311, -0.3479944169521332, -0.6485272645950317, 0.7561141848564148, 0.09562082588672638, -0.836251437664032, 0.008024405688047409, -0.09457182884216309, -0.2648375332355499, 0.26701751351356506, -1.5127559900283813, -0.21997635066509247, -0.35646000504493713, -0.48907142877578735, -1.2031201124191284, 0.0067807771265506744, 1.334433674812317, -0.7388616800308228, -0.2074921876192093, 0.4548017382621765, 0.40166476368904114, 0.5146642327308655, 0.7919253706932068, -0.5986095666885376, -0.45401009917259216, -0.2896338701248169, -0.3160831928253174, 0.32551345229148865, 1.1800910234451294, -0.2303694635629654, -1.061946153640747, 0.6646530032157898, -0.3719954192638397, 0.030153702944517136, 1.9168334007263184, 0.02957739308476448, -0.8569983243942261, 0.3252577781677246, -0.7921386957168579, 2.0589752197265625, 1.697622299194336, 1.3218756914138794, -0.20328719913959503, -0.9540266990661621, 0.6256667971611023, -0.3118417263031006, -0.401129812002182, 0.8006510138511658, 0.6285255551338196, -0.17197567224502563, -1.3328123092651367, 0.5745301842689514, 1.2536187171936035, -1.0349371433258057, -0.7469815611839294, 0.18422619998455048, -0.8301606178283691, 1.1036938428878784, 0.713147759437561, 0.46689239144325256, 0.2266891896724701, 1.6487140655517578, 0.738487184047699, -0.6627686023712158, 0.41578835248947144, 0.5297672152519226, -0.11544191837310791, -2.009134531021118, -1.066301703453064, 0.24687395989894867, -0.3837922513484955, -1.6649057865142822, 1.4133741855621338, -1.135887861251831, -0.8161496520042419, 0.5596026182174683, 0.11992134153842926, 1.2728054523468018, 0.24929045140743256, 1.5788910388946533, 2.0047976970672607, 0.8675956726074219, 0.39000970125198364, 1.3724910020828247, -0.12675845623016357, -0.41902023553848267, 1.7743092775344849, -0.4880378544330597, 0.5320648550987244, 1.1245121955871582, -0.44914719462394714, -1.0423043966293335, -0.7243958115577698, -1.0958973169326782, -0.606365978717804, 1.1371560096740723, 0.13556581735610962, -1.1495600938796997, 0.17162296175956726, 1.5053176879882812, 0.027248699218034744, -0.34678828716278076, 0.5471640229225159, 0.44604727625846863, -0.6234356164932251, -0.08029057085514069, -0.9820379018783569, 0.5921581983566284, -0.17462192475795746, -0.32842883467674255, 0.4043571949005127, 0.39343976974487305, 1.288698673248291, 0.05847683921456337, 0.17777635157108307, 1.3325107097625732, -1.4698795080184937, 1.5177772045135498, -0.7229997515678406, 0.2145763486623764, -2.4129409790039062, 1.3684959411621094, -0.7691464424133301, 1.9754294157028198, -2.7036430835723877, 0.32215315103530884, -0.6646369695663452, -0.35711199045181274, 0.336775541305542, -0.2499256730079651, 0.08140793442726135, -0.17655430734157562, -1.1140531301498413, -0.11018384993076324, -0.8590155243873596, 0.4159131646156311, 1.1342201232910156, 1.3250495195388794, -1.0666489601135254, -0.2007787972688675, -1.5972588062286377, -0.18308719992637634, -0.7842755317687988, 0.3781227171421051, -1.9958369731903076, -0.09198306500911713, -1.8709654808044434, -2.4510111808776855, -1.4602593183517456, -0.8433102965354919, 1.1072977781295776, 0.08801054954528809, -0.9475998878479004, 1.196328043937683, -0.3103025257587433, -1.7201423645019531, 1.164450764656067, -2.0640995502471924 ]
https://github.com/huggingface/datasets/issues/4271
A typo in docs of datasets.disable_progress_bar
Hi! Thanks for catching and reporting the typo, a PR has been opened to fix it :)
## Describe the bug in the docs of V2.1.0 datasets.disable_progress_bar, we should replace "enable" with "disable".
777
17
A typo in docs of datasets.disable_progress_bar ## Describe the bug in the docs of V2.1.0 datasets.disable_progress_bar, we should replace "enable" with "disable". Hi! Thanks for catching and reporting the typo, a PR has been opened to fix it :)
[ -1.2477343082427979, -0.9352830648422241, -0.8799794316291809, 1.4343416690826416, -0.18829888105392456, -1.3034683465957642, 0.20818637311458588, -1.1650056838989258, 1.6266173124313354, -0.9553149938583374, 0.24564479291439056, -1.6569467782974243, 0.09685659408569336, -0.5144250392913818, -0.5792786478996277, -0.9795315265655518, -0.49016696214675903, -0.47560185194015503, 1.0612908601760864, 2.5210652351379395, 1.0583559274673462, -1.1368614435195923, 2.6944029331207275, 0.923111081123352, -0.20831286907196045, -0.9469980001449585, 0.750334620475769, 0.03760113567113876, -1.2164188623428345, -0.3846104145050049, -1.0901962518692017, -0.017334213480353355, -0.37023547291755676, -0.4786961078643799, -0.13742277026176453, 0.22620056569576263, -0.30985522270202637, -0.5172290205955505, -0.5953006744384766, -0.8940209746360779, 0.27060338854789734, -0.5741587281227112, 0.8865729570388794, -0.546697735786438, 1.778088927268982, -0.5037495493888855, 0.47768646478652954, 0.7403645515441895, 1.254092812538147, 0.18774595856666565, 0.10068926215171814, 0.17520122230052948, 0.36954784393310547, -0.01231639739125967, 0.503487229347229, 1.0968656539916992, 0.40659666061401367, 0.4992414116859436, 0.6229678392410278, -2.102473497390747, 1.4079036712646484, -1.1383962631225586, 0.18839427828788757, 1.5783244371414185, -0.9960767030715942, 0.4195826053619385, -1.6214560270309448, -0.11929075419902802, 0.54121994972229, -2.3605246543884277, 0.3975139260292053, -1.3434544801712036, -0.6397033333778381, 0.8531823754310608, 0.3951873779296875, -1.174705147743225, 0.03272142633795738, -0.34529805183410645, 0.8877103328704834, 0.48558953404426575, 1.0901026725769043, -1.5365480184555054, 0.0420042984187603, -0.4152972996234894, -0.10052182525396347, -1.432377815246582, -1.3723924160003662, 0.7958706021308899, 0.7114927172660828, 0.5957488417625427, 0.008651399053633213, 0.9347596168518066, -0.9023151397705078, 0.8009893894195557, -0.7556772232055664, -1.7282127141952515, -1.4273160696029663, -2.414757251739502, -2.2594432830810547, 0.7746171355247498, -0.47299090027809143, -0.6510909795761108, 1.9093042612075806, -1.0776455402374268, -1.782761573791504, 1.1163302659988403, 0.16712182760238647, 0.02962794527411461, 2.694446325302124, 0.09346955269575119, -0.6064563393592834, 0.3752337396144867, -0.8231877684593201, 0.8265317678451538, -0.5161203145980835, 1.3412657976150513, 0.5201932191848755, -0.9126173257827759, 1.6279034614562988, -0.5257953405380249, 0.662945032119751, -0.540692925453186, -0.5769428014755249, -0.814903199672699, 0.3823702931404114, 1.6919851303100586, -0.2915324568748474, 1.4701378345489502, -0.36500227451324463, -1.4184129238128662, -1.601004719734192, 0.9917047023773193, 0.38833460211753845, -0.692867636680603, 0.20262394845485687, -0.24626505374908447, 0.0852913185954094, -0.1744171380996704, 1.2650319337844849, 1.3840097188949585, 0.7698599100112915, -0.28187933564186096, -0.9133486151695251, 0.1578739732503891, -0.0019312016665935516, -0.8992751240730286, -1.7142374515533447, -0.17549028992652893, 0.06306800991296768, 0.6228843927383423, -1.018674373626709, 1.796839952468872, 0.9884520173072815, 1.8961567878723145, 0.9827011227607727, -0.27526459097862244, 1.4485859870910645, 0.05421692505478859, 1.862815499305725, -0.4770616590976715, 0.5832244753837585, -0.35554125905036926, -1.044899821281433, 0.8252968788146973, -0.21046794950962067, -1.9852423667907715, -0.8579670190811157, -0.8783561587333679, -0.24460050463676453, -0.6452136635780334, 1.0870589017868042, -0.24150653183460236, -1.3531986474990845, 0.18940187990665436, -0.5451424717903137, 0.07461699098348618, -1.2534964084625244, 0.3736380636692047, 0.6098202466964722, -0.5093435049057007, -0.10975508391857147, -0.09319011867046356, -1.3486284017562866, -0.4885101318359375, 0.22300569713115692, 1.8563668727874756, -0.6648422479629517, 0.8471548557281494, 1.0366265773773193, -0.7787917256355286, -0.09910910576581955, 0.3473564386367798, -0.275640070438385, 0.7666869759559631, -1.0662990808486938, -0.3396407663822174, 1.2212318181991577, -0.16643184423446655, -0.5982607007026672, 1.6858201026916504, 0.8060508966445923, -0.9759986400604248, -0.09450285136699677, -0.21393728256225586, -0.7890506386756897, -0.013046332634985447, -1.530524492263794, -0.16134469211101532, 0.4431774318218231, -1.4139920473098755, -0.4760409891605377, -0.24695110321044922, 1.236410140991211, 0.016201995313167572, 1.3874015808105469, -0.37995442748069763, -0.1983530968427658, -0.415393203496933, -0.4121018052101135, 0.2843506932258606, -0.2514459788799286, -0.40861907601356506, 0.11273911595344543, -0.7419478297233582, 0.41844943165779114, 1.5498154163360596, 0.4464719295501709, 0.11422716826200485, 0.4450262188911438, 0.9887072443962097, 0.26160064339637756, -0.2548016905784607, -0.9194194674491882, -1.4960741996765137, 1.913102388381958, -1.370530366897583, 1.9449127912521362, 0.7128737568855286, -0.024758271872997284, -1.786685585975647, -2.062467575073242, 1.2373992204666138, 1.0753048658370972, 2.160973310470581, 0.4156116247177124, 0.3432637155056, -0.8129750490188599, -0.8088728189468384, 0.29020512104034424, -1.0541696548461914, -0.6567366719245911, 0.1576593965291977, 2.190929651260376, 1.8273717164993286, -0.5104334950447083, -0.11050810664892197, -1.090460181236267, 1.4368245601654053, -0.08364623039960861, 0.10467801243066788, 1.9770581722259521, -0.4696190357208252, -1.092539668083191, 1.1983144283294678, -2.2566821575164795, 0.11771536618471146, 2.0006613731384277, 0.34579458832740784, 0.1232956126332283, -1.1984971761703491, -0.710616946220398, -0.3623875081539154, -0.3492991030216217, -1.239364504814148, 0.6075372695922852, -0.34915363788604736, -0.7753065824508667, -1.3758779764175415, 0.22059354186058044, -1.0372380018234253, -1.6273256540298462, 0.2821884751319885, 1.741410732269287, 2.1058592796325684, -0.9508098363876343, 1.4162461757659912, -0.18222711980342865, -0.03667353466153145, 1.1884121894836426, 1.1970908641815186, 2.9757537841796875, 2.013868570327759, -1.258830189704895, 0.8002736568450928, -0.06208718940615654, -0.46862083673477173, 1.211091160774231, -1.1993435621261597, 1.3542778491973877, -0.1660059690475464, -1.0108650922775269, -1.1419930458068848, 0.8596534132957458, 0.4359092712402344, 0.23241400718688965, -0.3854310214519501, 1.201204776763916, 0.11417041718959808, 1.4096524715423584, 0.564871072769165, -0.3652602732181549, 0.6528998017311096, -0.5114724636077881, -0.3838057816028595, 1.5412908792495728, 0.20259526371955872, -1.5116078853607178, -2.2230825424194336, -0.2524275481700897, -0.6682904362678528, 0.023249365389347076, -0.5690475106239319, -1.0542402267456055, 1.7687057256698608, 0.47355860471725464, -1.2025845050811768, -0.35822784900665283, -0.36537399888038635, -0.681320071220398, 2.673670530319214, -1.430457592010498, -0.14653143286705017, -0.8494018912315369, -0.5229026079177856, 1.6632674932479858, -1.1773462295532227, -0.06573653966188431, -1.0156469345092773, -0.4804700016975403, -1.3255268335342407, -0.4837840497493744, 0.14728465676307678, -1.030747413635254, 0.8963302969932556, 0.14174078404903412, -1.1361738443374634, -0.4117474853992462, -0.7807468771934509, 0.7827890515327454, -0.11863938719034195, 0.34935709834098816, 1.8511378765106201, 0.3914977014064789, -0.44811132550239563, 0.58915776014328, 1.2295405864715576, 0.5363423228263855, -0.8166976571083069, 0.20908507704734802, -0.8011198043823242, 0.5479372143745422, -1.1394493579864502, 0.35568541288375854, -2.9356675148010254, 0.4865780472755432, -0.17975068092346191, -0.13643164932727814, -0.16247786581516266, -1.3325389623641968, 1.2545675039291382, 2.535768985748291, -1.2446582317352295, 0.45371362566947937, 0.14193204045295715, 1.2938979864120483, -1.493053674697876, 0.39533159136772156, -0.42100080847740173, 2.0074117183685303, 0.15942443907260895, 1.0056160688400269, -0.38076305389404297, -2.2756519317626953, 0.8542191386222839, -1.2502241134643555, -1.230314016342163, 0.7744079828262329, -1.0327543020248413, -0.1118210181593895, -1.4264280796051025, -0.17701049149036407, -0.9438349604606628, -1.112594723701477, 0.6484901309013367, 0.1918521225452423, 0.5531113147735596, -0.7433657646179199, 0.31628841161727905, -2.399813175201416, -1.3315576314926147, -0.33545807003974915, -0.825968861579895, 0.6047785878181458, -0.44845739006996155, 0.5991374254226685, -0.1414424031972885, 0.11112764477729797, 0.4790268838405609, 1.445892572402954, 3.2315003871917725, 0.10291127115488052, 0.4120869040489197, -0.1308758705854416, -0.9031921029090881, 1.3787611722946167, 0.8851245641708374, 0.036700211465358734, -0.6446199417114258, -1.0079461336135864, 1.2851225137710571, 1.8114417791366577, 0.9083209037780762, 0.07041063904762268, -0.8245956301689148, -0.576663613319397, -0.19738490879535675, 0.1961875706911087, 0.2958735525608063, 1.1480863094329834, 0.02576107531785965, -0.006744272541254759, 1.5882110595703125, 1.3863492012023926, -0.44250836968421936, 0.20810014009475708, -0.8695768713951111, -0.3294089436531067, 0.6095284223556519, 0.24207507073879242, -0.10314667969942093, 0.4393119215965271, -0.9325252771377563, -0.3477117717266083, -0.2980967164039612, -0.84996497631073, -0.6673711538314819, -0.3978991210460663, -0.5538522005081177, 1.6189059019088745, 0.2672712802886963, -0.7375936508178711, -0.10287478566169739, -0.7448675632476807, -0.03001752868294716, -1.1960610151290894, 0.23175056278705597, -0.1657940149307251, -0.15135397017002106, -0.2578042149543762, 1.7791938781738281, -1.051634430885315, -2.02594256401062, 0.3155076205730438, 0.16340792179107666, -0.20988327264785767, 0.17371699213981628, 1.5842368602752686, 0.513353168964386, 1.640235185623169, 1.2647991180419922, 0.8938581347465515, -0.8005485534667969, -1.3178753852844238, 0.7974433302879333, 0.9821985960006714, -1.4347306489944458, 0.706744909286499, 0.002159683033823967, -0.605584442615509, 0.5831113457679749, 1.0458670854568481, 0.2739717960357666, -1.8796056509017944, 0.793054461479187, -1.1811851263046265, 0.936445951461792, 0.6032505631446838, 0.7213195562362671, 0.17360997200012207, 0.7991212010383606, -1.1245700120925903, -1.2231239080429077, -0.7488947510719299, -0.7460941672325134, 1.9864009618759155, -0.3793945908546448, 0.7247063517570496, -0.16607017815113068, -1.0417314767837524, 0.02542414888739586, 0.6435499787330627, 0.3367680609226227, -0.3745952248573303, 0.7388318181037903, -0.7254917025566101, -1.1304224729537964, -1.3854076862335205, -0.5348864197731018, -1.1612364053726196, -0.7916082739830017, 1.0900424718856812, 0.8213084936141968, 0.3501136302947998, 1.9636263847351074, 0.6127808690071106, 0.3744348883628845, -2.5792160034179688, 0.8600181341171265, 0.19146521389484406, 0.06687282770872116, 0.8242815732955933, 0.30718034505844116, 0.9450973868370056, -0.2291051596403122, 0.344757616519928, -2.3705673217773438, 2.4007067680358887, -0.33224207162857056, 0.8574715852737427, -0.07464473694562912, -0.04872274398803711, 0.9788614511489868, 0.623547375202179, 0.6638603210449219, -1.0896247625350952, 0.69753098487854, -0.43524712324142456, 1.3980082273483276, 0.8662829399108887, -0.6491742134094238, -0.05444340035319328, 1.4584825038909912, 0.663345456123352, -0.32546937465667725, -0.8839119672775269, -0.8672402501106262, 0.8404883742332458, 1.7449642419815063, -0.0629609003663063, 0.12940333783626556, 0.7309470772743225, 0.6310887336730957, -1.2408666610717773, -0.21086668968200684, -0.7361419200897217, -0.6389408111572266, 1.6326686143875122, 2.1939597129821777, -0.00491793267428875, -0.08868429809808731, -0.7172327637672424, -1.3173547983169556, 0.7405598759651184, 0.02355949580669403, 0.02789463847875595, 0.5502711534500122, -0.7184470295906067, 1.1362587213516235, 0.7420505881309509, 0.8364649415016174, 0.27361249923706055, 0.3005603551864624, 0.5336836576461792, -0.36631956696510315, -1.0961642265319824, -0.14372363686561584, -1.095337152481079, -2.586012840270996, 0.4779793322086334, -0.3554871380329132, -1.6907583475112915, -0.059264957904815674, -1.1370218992233276, 1.0723352432250977, -0.5156952738761902, -1.0175139904022217, -1.479532241821289, 0.20258815586566925, -0.007379234302788973, 1.0353366136550903, -1.5975145101547241, -0.24558669328689575, 1.2444840669631958, 0.9570906758308411, -0.6376190185546875, 1.0872880220413208, 0.25662854313850403, 1.1393988132476807, 0.7407304644584656, -0.4010224938392639, 0.41503989696502686, -0.033721353858709335, -1.4949450492858887, 0.32468757033348083, 1.372883915901184, 0.06258265674114227, 1.5446009635925293, -0.5070413947105408, 0.025661226361989975, 0.4763133227825165, -0.5736175179481506, -0.3932250738143921, -0.3975234925746918, 0.7058849930763245, 0.030742939561605453, -1.0483105182647705, -0.13511736690998077, -0.14082610607147217, -0.2738150358200073, 0.17203861474990845, -1.2746844291687012, -0.3642507791519165, -0.5348168611526489, -0.470170259475708, -1.358512282371521, -0.008330069482326508, 1.3545924425125122, -0.6979005336761475, 0.05807441473007202, 0.45049798488616943, 0.3373619616031647, 0.4909491539001465, 0.6515769362449646, -0.6601256132125854, -0.11017204076051712, -0.38488924503326416, -0.2986062169075012, 0.33573251962661743, 1.450148105621338, -0.32312917709350586, -0.9262851476669312, 0.6830273866653442, -0.3283812701702118, -0.0066849892027676105, 2.001743793487549, 0.22059722244739532, -0.7444626092910767, 0.380838543176651, -0.7112563252449036, 1.9922864437103271, 1.6798707246780396, 1.2942732572555542, -0.1419072300195694, -0.9332878589630127, 0.5560314059257507, -0.29774484038352966, -0.32863813638687134, 0.7530994415283203, 0.37402817606925964, -0.3726714551448822, -1.4355156421661377, 0.6103836894035339, 1.1436784267425537, -0.9395720362663269, -0.8144325613975525, -0.013757668435573578, -0.6333965063095093, 1.0945533514022827, 0.8906205296516418, 0.42228978872299194, 0.4185658097267151, 1.758386492729187, 0.8268077373504639, -0.7155055403709412, 0.5522357821464539, 0.7104256749153137, -0.05894080176949501, -2.088340997695923, -1.0409209728240967, 0.3242988586425781, -0.6495883464813232, -1.4461145401000977, 1.2411370277404785, -0.9202283024787903, -1.1590150594711304, 0.6183393597602844, 0.13935700058937073, 1.5579887628555298, 0.5108914375305176, 1.4871052503585815, 2.032417058944702, 0.8645479083061218, 0.417460173368454, 1.4506829977035522, -0.2980089783668518, -0.36117708683013916, 1.9142905473709106, -0.43563273549079895, 0.4639568030834198, 1.0779132843017578, -0.32740968465805054, -0.9864516258239746, -0.8815505504608154, -1.0967848300933838, -0.6997905969619751, 1.278048038482666, 0.07925213128328323, -0.8893837928771973, 0.1637369692325592, 1.496970772743225, -0.02149944007396698, -0.40033236145973206, 0.6038491725921631, 0.4669979214668274, -0.7514845728874207, -0.12649983167648315, -1.1141560077667236, 0.6918349266052246, -0.2295253425836563, -0.42566898465156555, 0.3995036482810974, 0.6106840968132019, 1.3117462396621704, -0.22692207992076874, 0.10128117352724075, 1.1314057111740112, -1.3487170934677124, 1.5327682495117188, -0.6999282836914062, 0.04862133786082268, -2.292649030685425, 1.5291845798492432, -0.8648052215576172, 1.898524284362793, -2.7895805835723877, 0.435009628534317, -0.41849344968795776, -0.5485999584197998, 0.22805340588092804, -0.5478031635284424, 0.09011112153530121, -0.12191887944936752, -1.162459373474121, 0.08164849132299423, -0.5808048248291016, 0.5404936075210571, 1.1037102937698364, 1.3228116035461426, -1.1143361330032349, -0.344344824552536, -1.6165457963943481, -0.20931388437747955, -0.934101402759552, 0.3912534713745117, -2.0773427486419678, -0.3219709098339081, -1.9512165784835815, -2.4061522483825684, -1.2457878589630127, -0.8389524817466736, 1.2014368772506714, 0.13778144121170044, -0.9109229445457458, 1.1219969987869263, -0.3996436893939972, -1.8972514867782593, 1.224561095237732, -2.2215187549591064 ]
https://github.com/huggingface/datasets/issues/4268
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
It would help a lot to be able to preview the dataset - I'd like to see if the pronunciations are in the dataset, eg. for ["word"](https://en.wiktionary.org/wiki/word), Pronunciation ([Received Pronunciation](https://en.wikipedia.org/wiki/Received_Pronunciation)) [IPA](https://en.wiktionary.org/wiki/Wiktionary:International_Phonetic_Alphabet)([key](https://en.wiktionary.org/wiki/Appendix:English_pronunciation)): /wɜːd/ ([General American](https://en.wikipedia.org/wiki/General_American)) [enPR](https://en.wiktionary.org/wiki/Appendix:English_pronunciation): wûrd, [IPA](https://en.wiktionary.org/wiki/Wiktionary:International_Phonetic_Alphabet)([key](https://en.wiktionary.org/wiki/Appendix:English_pronunciation)): /wɝd/
## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1
778
38
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered ## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 It would help a lot to be able to preview the dataset - I'd like to see if the pronunciations are in the dataset, eg. for ["word"](https://en.wiktionary.org/wiki/word), Pronunciation ([Received Pronunciation](https://en.wikipedia.org/wiki/Received_Pronunciation)) [IPA](https://en.wiktionary.org/wiki/Wiktionary:International_Phonetic_Alphabet)([key](https://en.wiktionary.org/wiki/Appendix:English_pronunciation)): /wɜːd/ ([General American](https://en.wikipedia.org/wiki/General_American)) [enPR](https://en.wiktionary.org/wiki/Appendix:English_pronunciation): wûrd, [IPA](https://en.wiktionary.org/wiki/Wiktionary:International_Phonetic_Alphabet)([key](https://en.wiktionary.org/wiki/Appendix:English_pronunciation)): /wɝd/
[ -1.1990233659744263, -0.8957808613777161, -0.5553922057151794, 1.5229593515396118, -0.015718523412942886, -1.2148336172103882, 0.15458449721336365, -0.8494728207588196, 1.5672435760498047, -0.7683069109916687, 0.31513142585754395, -1.7033722400665283, -0.08553937077522278, -0.6861419677734375, -0.6468722224235535, -0.7637218832969666, -0.3360680937767029, -0.6797414422035217, 1.1117461919784546, 2.450892210006714, 1.2112962007522583, -1.315347671508789, 2.851334571838379, 0.6115646958351135, -0.26941946148872375, -0.9720991849899292, 0.4527497887611389, -0.06568319350481033, -1.2825795412063599, -0.42922186851501465, -0.9387310743331909, 0.05017196014523506, -0.6371411085128784, -0.41232192516326904, 0.05096922814846039, 0.5329998135566711, -0.18167755007743835, -0.4174066483974457, -0.5576015710830688, -0.793667733669281, 0.6091086268424988, -0.33032873272895813, 0.8631244897842407, -0.2409064620733261, 1.7331210374832153, -0.6495529413223267, 0.4314590394496918, 0.5862082242965698, 1.30210542678833, 0.20762120187282562, -0.001097826287150383, 0.5028837323188782, 0.26725056767463684, 0.07434693723917007, 0.6128495931625366, 1.3064788579940796, 0.5805995464324951, 0.5009498596191406, 0.6737491488456726, -2.2182724475860596, 1.293518304824829, -0.920720636844635, 0.2925782799720764, 1.2310538291931152, -0.9905564188957214, 0.4141044318675995, -1.8009095191955566, -0.1222124695777893, 0.4928274154663086, -2.294926166534424, 0.1536043882369995, -1.318913221359253, -0.46251168847084045, 0.9855093359947205, 0.41025060415267944, -1.250145673751831, 0.029059171676635742, -0.47390052676200867, 1.1276129484176636, 0.2969587743282318, 1.0294737815856934, -1.6223410367965698, -0.09914530813694, -0.19558541476726532, 0.16703881323337555, -1.2789340019226074, -1.6604217290878296, 0.5993474721908569, 0.6461816430091858, 0.6956180334091187, -0.11004123091697693, 1.0160374641418457, -1.04658043384552, 0.8239628672599792, -0.9994975328445435, -1.6967366933822632, -1.4060893058776855, -2.339139461517334, -2.243123769760132, 0.7989183068275452, -0.4648526608943939, -0.4781413972377777, 2.1037497520446777, -1.0253804922103882, -1.8868186473846436, 1.0843756198883057, 0.2941414713859558, -0.03012191131711006, 2.342768430709839, 0.23660911619663239, -0.8665853142738342, 0.5378608107566833, -0.7293978333473206, 0.8201204538345337, -0.28409671783447266, 1.3888059854507446, 0.4558120667934418, -0.9804372191429138, 1.5578992366790771, -0.35052916407585144, 0.5545902252197266, -0.685906708240509, -0.6187509298324585, -0.6915484070777893, 0.1970779448747635, 1.951901912689209, -0.2979552149772644, 1.5634640455245972, -0.29882121086120605, -1.636893630027771, -1.5309782028198242, 0.8478824496269226, 0.5087317824363708, -0.9192197918891907, 0.1446504145860672, -0.5450360178947449, 0.24452747404575348, 0.053815290331840515, 1.1786452531814575, 1.2443251609802246, 0.6879216432571411, -0.2676737904548645, -0.8254741430282593, 0.2122209519147873, -0.0062087224796414375, -0.5367746949195862, -1.747894287109375, -0.313602089881897, 0.19167469441890717, 0.6131377816200256, -1.1519161462783813, 1.8285942077636719, 0.9303130507469177, 1.9551851749420166, 1.0595029592514038, -0.2817258834838867, 1.5525462627410889, 0.05714356154203415, 1.8422547578811646, -0.4603600800037384, 0.5134714245796204, -0.3686843812465668, -1.171957015991211, 0.7633115649223328, -0.36045190691947937, -2.0872962474823, -0.6780816912651062, -0.7784592509269714, -0.11860138922929764, -0.8466216325759888, 0.9245932102203369, -0.33157363533973694, -1.4339882135391235, 0.09017979353666306, -0.7875352501869202, 0.2495417445898056, -1.2211334705352783, 0.24530352652072906, 0.717534065246582, -0.7346965670585632, 0.03612159565091133, -0.25663042068481445, -1.2890503406524658, -0.4853668510913849, 0.45049548149108887, 1.8471990823745728, -0.7261180281639099, 0.9900142550468445, 1.0024882555007935, -0.6670195460319519, 0.1060299500823021, 0.2264121025800705, -0.3362750709056854, 0.9342957735061646, -1.102738380432129, -0.37797820568084717, 1.2013319730758667, -0.28147903084754944, -0.6127007603645325, 1.4672471284866333, 0.7681050896644592, -1.0525462627410889, -0.34989917278289795, -0.15894265472888947, -0.8627018332481384, -0.03181831166148186, -1.7171821594238281, -0.24300023913383484, 0.44789114594459534, -1.4803333282470703, -0.4384573698043823, -0.15211664140224457, 1.3633612394332886, -0.07235762476921082, 1.4288606643676758, -0.3084636330604553, -0.03825861215591431, -0.3821871876716614, -0.4779393970966339, 0.14526928961277008, -0.20483794808387756, -0.5818444490432739, 0.14891736209392548, -0.7849331498146057, 0.2591698467731476, 1.5681648254394531, 0.35406753420829773, 0.0697990283370018, 0.5815097093582153, 1.2038798332214355, 0.36703115701675415, -0.11445920169353485, -0.7925378084182739, -1.6329528093338013, 2.02340030670166, -1.4983083009719849, 1.9453556537628174, 0.7575538158416748, -0.10441303253173828, -1.7417433261871338, -1.9448304176330566, 1.3298697471618652, 1.125482201576233, 2.38096022605896, 0.43533214926719666, 0.5487986207008362, -0.8407365083694458, -0.6753260493278503, 0.36836856603622437, -0.8810439705848694, -0.74672532081604, 0.1786981076002121, 2.347870111465454, 1.8133455514907837, -0.4719218909740448, -0.23155653476715088, -0.8736153244972229, 1.328147053718567, -0.3395238220691681, 0.27178388833999634, 1.9501968622207642, -0.29173585772514343, -1.049621820449829, 1.2484768629074097, -2.375221014022827, 0.2973145544528961, 2.0918662548065186, 0.27064037322998047, 0.10642877221107483, -1.3494131565093994, -0.609524667263031, -0.2606731951236725, -0.44221338629722595, -1.2541550397872925, 0.6076463460922241, -0.21926547586917877, -0.8362693786621094, -1.2960540056228638, 0.08073918521404266, -1.0594671964645386, -1.7724499702453613, 0.3244912326335907, 1.8467333316802979, 2.114509105682373, -0.7292345762252808, 1.4205925464630127, -0.3401484191417694, 0.2715861201286316, 1.201985478401184, 1.3624999523162842, 3.1717233657836914, 1.9561614990234375, -1.2548938989639282, 0.6964289546012878, -0.14586450159549713, -0.5780549049377441, 1.14557683467865, -1.1724753379821777, 1.1254886388778687, -0.20821994543075562, -1.3756864070892334, -1.2222156524658203, 1.0210504531860352, 0.4574700593948364, -0.100543312728405, -0.549275279045105, 1.2487667798995972, 0.12168349325656891, 1.3298892974853516, 0.5514640212059021, -0.39989593625068665, 0.5250030755996704, -0.3808242976665497, -0.5903235673904419, 1.5501818656921387, 0.119384765625, -1.518349289894104, -2.2669765949249268, -0.1322677582502365, -0.9391239881515503, 0.06479042768478394, -0.7222344875335693, -1.014644742012024, 1.5700657367706299, 0.41049304604530334, -1.2601460218429565, -0.26389482617378235, -0.3647613525390625, -0.5088456869125366, 2.6437065601348877, -1.3095022439956665, -0.23028209805488586, -0.9620513319969177, -0.5507001280784607, 1.6673078536987305, -1.2663978338241577, -0.2734106183052063, -1.0534933805465698, -0.644216775894165, -1.2473620176315308, -0.5498023629188538, -0.044060107320547104, -0.9242474436759949, 0.8164928555488586, 0.06692255288362503, -1.1742439270019531, -0.1878969520330429, -0.9265879988670349, 1.109756350517273, -0.2993927597999573, 0.09086081385612488, 1.793633222579956, 0.26392725110054016, -0.48340898752212524, 0.8701772093772888, 1.2394999265670776, 0.6206048727035522, -0.5378766655921936, 0.11632989346981049, -0.6064546704292297, 0.3989616632461548, -1.4147615432739258, 0.26076793670654297, -2.936448574066162, 0.7365278005599976, -0.05429968982934952, -0.1440046727657318, -0.1868789792060852, -1.4278122186660767, 0.9558550715446472, 2.520159959793091, -1.2327489852905273, 0.5139995217323303, 0.44286611676216125, 1.1781368255615234, -1.5993006229400635, 0.1240755170583725, -0.5785102844238281, 2.0920093059539795, 0.139259472489357, 1.259838581085205, -0.42407795786857605, -2.2500598430633545, 0.6185932755470276, -1.2578574419021606, -0.9888980984687805, 0.7330723404884338, -0.9692687392234802, 0.26003119349479675, -1.3213480710983276, -0.22342388331890106, -0.9266787171363831, -1.127966046333313, 0.5955075025558472, 0.12524005770683289, 0.41234803199768066, -0.5149561166763306, 0.24099253118038177, -2.207242488861084, -1.3324466943740845, -0.21284762024879456, -1.0155682563781738, 0.5166295170783997, -0.48472172021865845, 0.6111303567886353, -0.16556072235107422, 0.03194214403629303, 0.32813915610313416, 1.4405815601348877, 3.270660638809204, 0.15515123307704926, 0.2536108195781708, -0.28056800365448, -0.9296516180038452, 1.434804916381836, 0.872495174407959, -0.3052152693271637, -0.5932182669639587, -0.9552929401397705, 1.4172828197479248, 1.881219506263733, 1.0554670095443726, 0.07191967964172363, -0.875927746295929, -0.8053994178771973, -0.028934244066476822, 0.16536322236061096, 0.5627651810646057, 0.8936094045639038, 0.08642784506082535, 0.19132821261882782, 1.2736421823501587, 1.0509980916976929, -0.30316317081451416, 0.4847984313964844, -0.9123693108558655, -0.4259227216243744, 0.35155344009399414, 0.16827689111232758, -0.08528018742799759, 0.4063124358654022, -0.9702907800674438, -0.24753254652023315, -0.30992329120635986, -0.8751206994056702, -0.8303424119949341, -0.3221437335014343, -0.38367152214050293, 1.6882339715957642, 0.0633319839835167, -0.5760657787322998, 0.005010581575334072, -0.671747088432312, -0.25466790795326233, -0.9732089042663574, 0.2485978752374649, -0.08954402059316635, -0.04386177659034729, -0.08873418718576431, 1.595923900604248, -0.9669590592384338, -2.1480815410614014, 0.1900404542684555, 0.22655938565731049, -0.2712012529373169, 0.01774066686630249, 1.7301404476165771, 0.5892680883407593, 1.383470058441162, 1.397810459136963, 0.929836630821228, -0.5929279923439026, -1.156711459159851, 0.8172399997711182, 0.9171524047851562, -1.3993682861328125, 0.8803480863571167, -0.24359603226184845, -0.5041109323501587, 0.5979090929031372, 1.3169082403182983, 0.5531110763549805, -1.9760558605194092, 0.894767701625824, -1.058482050895691, 0.8283146023750305, 0.7197646498680115, 0.7185285687446594, 0.25446489453315735, 0.9480339884757996, -1.2233508825302124, -1.1666533946990967, -0.6215291619300842, -0.6825792789459229, 1.9964945316314697, -0.3163243234157562, 0.4616781175136566, -0.19782774150371552, -1.255709171295166, -0.026298046112060547, 0.7382723093032837, 0.29133158922195435, -0.4249456226825714, 0.8035914301872253, -0.6319945454597473, -0.9873574376106262, -1.3117884397506714, -0.4433801770210266, -1.064483880996704, -0.9656195640563965, 1.0461715459823608, 0.7819143533706665, 0.3428860008716583, 1.8259727954864502, 0.642905592918396, 0.28599458932876587, -2.5699515342712402, 0.9083846211433411, 0.34358006715774536, -0.1275034248828888, 0.8240265846252441, 0.2815369963645935, 1.0996177196502686, -0.054998185485601425, 0.663957953453064, -2.317692518234253, 2.2301902770996094, -0.20427708327770233, 0.7479924559593201, -0.03770735114812851, -0.12299147993326187, 0.9838789701461792, 0.5339950323104858, 0.6095167994499207, -1.0257004499435425, 0.8113679885864258, -0.6054295897483826, 1.0774731636047363, 0.8844106197357178, -0.8916172981262207, 0.1788683980703354, 1.4292750358581543, 0.4385538399219513, -0.6225461959838867, -1.0254513025283813, -0.8334137201309204, 1.0392582416534424, 1.7782398462295532, -0.001743169967085123, 0.011220625601708889, 0.8497872948646545, 0.7626949548721313, -1.2005069255828857, 0.11643892526626587, -0.5126129984855652, -0.7363325953483582, 1.6709593534469604, 2.0951054096221924, -0.12891674041748047, -0.14682011306285858, -0.6551443338394165, -1.3784304857254028, 0.7829177379608154, -0.016780249774456024, -0.004652871750295162, 0.7442923784255981, -0.7196267247200012, 1.1777689456939697, 0.7274385690689087, 0.9415699243545532, 0.08518941700458527, 0.20374515652656555, 0.3532402813434601, -0.2848753333091736, -1.2356146574020386, -0.3835545480251312, -1.1042670011520386, -2.567582607269287, 0.37353983521461487, -0.24171386659145355, -1.3722827434539795, 0.10358533263206482, -1.0243358612060547, 0.8078116774559021, -0.6594932675361633, -1.194045066833496, -1.4453325271606445, 0.3006480932235718, -0.08996719121932983, 0.8695356845855713, -1.6651257276535034, -0.24048246443271637, 1.120582938194275, 0.9349530935287476, -0.6536492109298706, 0.9003618359565735, 0.2969471514225006, 0.9560858607292175, 0.7952395677566528, -0.40476229786872864, 0.6327993273735046, 0.11713328957557678, -1.3709721565246582, 0.5978963971138, 1.3030537366867065, 0.14179761707782745, 1.4592781066894531, -0.45448553562164307, 0.006299859844148159, 0.4580332338809967, -0.5319796800613403, -0.5964683890342712, -0.5723126530647278, 0.6828959584236145, -0.013083115220069885, -0.9456802606582642, -0.15110346674919128, -0.011659674346446991, -0.2601096034049988, 0.2294551283121109, -1.5384411811828613, -0.16238465905189514, -0.3812033236026764, -0.6290916800498962, -1.3190627098083496, -0.1017732173204422, 1.3684916496276855, -0.859092652797699, -0.19989140331745148, 0.5271735787391663, 0.28121230006217957, 0.5577439069747925, 0.6132935881614685, -0.7755064368247986, -0.23976178467273712, -0.19037653505802155, -0.3215605318546295, 0.3167901337146759, 1.2279545068740845, 0.019527576863765717, -0.9504874348640442, 0.6329277753829956, -0.339210569858551, 0.22094500064849854, 1.9040664434432983, 0.011131617240607738, -0.6936047077178955, 0.3620806634426117, -0.7438568472862244, 1.8232448101043701, 1.6272833347320557, 1.3493859767913818, -0.09231259673833847, -0.9228463768959045, 0.6427798271179199, -0.3260515332221985, -0.38138216733932495, 0.9334446787834167, 0.39806708693504333, -0.2479589879512787, -1.4111589193344116, 0.8087048530578613, 1.172680139541626, -0.8161857724189758, -0.7845970392227173, 0.06687641143798828, -0.8322240114212036, 1.197318196296692, 0.567795991897583, 0.1876465380191803, 0.17733940482139587, 1.5849008560180664, 0.728211522102356, -0.44903334975242615, 0.4228561222553253, 0.5366859436035156, -0.1547601819038391, -2.1454358100891113, -1.1041460037231445, 0.3006618022918701, -0.35625699162483215, -1.5822798013687134, 1.3917438983917236, -1.109709620475769, -0.9347190260887146, 0.5412353873252869, 0.09290436655282974, 1.4148674011230469, 0.2437177151441574, 1.7126532793045044, 2.0813143253326416, 0.854221761226654, 0.44111791253089905, 1.1718922853469849, -0.1840573251247406, -0.2721021771430969, 1.7547045946121216, -0.38901287317276, 0.6274775862693787, 0.9846977591514587, -0.48934119939804077, -1.2402762174606323, -0.7781250476837158, -1.3427337408065796, -0.7492443323135376, 1.1083897352218628, 0.03559911623597145, -1.0433536767959595, 0.2546002268791199, 1.5347338914871216, 0.18252107501029968, -0.1666029393672943, 0.7005612850189209, 0.3322710394859314, -0.6884878873825073, -0.11290930211544037, -0.9801447987556458, 0.5358548760414124, -0.2403978854417801, -0.3488035500049591, 0.2142668068408966, 0.511970579624176, 1.2795429229736328, 0.11233033239841461, 0.0733102560043335, 1.169647455215454, -1.3971366882324219, 1.3801487684249878, -0.7187628746032715, 0.28642937541007996, -2.3900492191314697, 1.4575330018997192, -0.861338198184967, 1.9513773918151855, -2.6439249515533447, 0.5504835247993469, -0.5823490619659424, -0.5404542088508606, 0.28840169310569763, -0.23916780948638916, 0.1075851321220398, -0.06369707733392715, -1.0773450136184692, -0.042689770460128784, -0.5971252918243408, 0.7068778872489929, 1.2613029479980469, 1.3502343893051147, -1.0390154123306274, -0.22465115785598755, -1.719718098640442, -0.11078952997922897, -0.7275450825691223, 0.25847625732421875, -1.9515451192855835, -0.14508703351020813, -2.003761053085327, -2.431550979614258, -1.177341103553772, -0.869615375995636, 1.0999343395233154, 0.19912604987621307, -0.8531667590141296, 1.2769604921340942, -0.37647056579589844, -1.6609117984771729, 1.0940546989440918, -2.23064923286438 ]
https://github.com/huggingface/datasets/issues/4268
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
Hi @i-am-neo, thanks for reporting. Normally this dataset should be private and not accessible for public use. @cakiki, @lvwerra, any reason why is it public? I see many other Wikimedia datasets are also public. Also note that last commit "Add metadata" (https://huggingface.co/datasets/bigscience-catalogue-lm-data/lm_en_wiktionary_filtered/commit/dc2f458dab50e00f35c94efb3cd4009996858609) introduced buggy data files (`data/file-01.jsonl.gz.lock`, `data/file-01.jsonl.gz.lock.lock`). The same bug appears in other datasets as well. @i-am-neo, please note that in the near future we are planning to make public all datasets used for the BigScience project (at least all of them whose license allows to do that). Once public, they will be accessible for all the NLP community.
## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1
778
100
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered ## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 Hi @i-am-neo, thanks for reporting. Normally this dataset should be private and not accessible for public use. @cakiki, @lvwerra, any reason why is it public? I see many other Wikimedia datasets are also public. Also note that last commit "Add metadata" (https://huggingface.co/datasets/bigscience-catalogue-lm-data/lm_en_wiktionary_filtered/commit/dc2f458dab50e00f35c94efb3cd4009996858609) introduced buggy data files (`data/file-01.jsonl.gz.lock`, `data/file-01.jsonl.gz.lock.lock`). The same bug appears in other datasets as well. @i-am-neo, please note that in the near future we are planning to make public all datasets used for the BigScience project (at least all of them whose license allows to do that). Once public, they will be accessible for all the NLP community.
[ -1.1990233659744263, -0.8957808613777161, -0.5553922057151794, 1.5229593515396118, -0.015718523412942886, -1.2148336172103882, 0.15458449721336365, -0.8494728207588196, 1.5672435760498047, -0.7683069109916687, 0.31513142585754395, -1.7033722400665283, -0.08553937077522278, -0.6861419677734375, -0.6468722224235535, -0.7637218832969666, -0.3360680937767029, -0.6797414422035217, 1.1117461919784546, 2.450892210006714, 1.2112962007522583, -1.315347671508789, 2.851334571838379, 0.6115646958351135, -0.26941946148872375, -0.9720991849899292, 0.4527497887611389, -0.06568319350481033, -1.2825795412063599, -0.42922186851501465, -0.9387310743331909, 0.05017196014523506, -0.6371411085128784, -0.41232192516326904, 0.05096922814846039, 0.5329998135566711, -0.18167755007743835, -0.4174066483974457, -0.5576015710830688, -0.793667733669281, 0.6091086268424988, -0.33032873272895813, 0.8631244897842407, -0.2409064620733261, 1.7331210374832153, -0.6495529413223267, 0.4314590394496918, 0.5862082242965698, 1.30210542678833, 0.20762120187282562, -0.001097826287150383, 0.5028837323188782, 0.26725056767463684, 0.07434693723917007, 0.6128495931625366, 1.3064788579940796, 0.5805995464324951, 0.5009498596191406, 0.6737491488456726, -2.2182724475860596, 1.293518304824829, -0.920720636844635, 0.2925782799720764, 1.2310538291931152, -0.9905564188957214, 0.4141044318675995, -1.8009095191955566, -0.1222124695777893, 0.4928274154663086, -2.294926166534424, 0.1536043882369995, -1.318913221359253, -0.46251168847084045, 0.9855093359947205, 0.41025060415267944, -1.250145673751831, 0.029059171676635742, -0.47390052676200867, 1.1276129484176636, 0.2969587743282318, 1.0294737815856934, -1.6223410367965698, -0.09914530813694, -0.19558541476726532, 0.16703881323337555, -1.2789340019226074, -1.6604217290878296, 0.5993474721908569, 0.6461816430091858, 0.6956180334091187, -0.11004123091697693, 1.0160374641418457, -1.04658043384552, 0.8239628672599792, -0.9994975328445435, -1.6967366933822632, -1.4060893058776855, -2.339139461517334, -2.243123769760132, 0.7989183068275452, -0.4648526608943939, -0.4781413972377777, 2.1037497520446777, -1.0253804922103882, -1.8868186473846436, 1.0843756198883057, 0.2941414713859558, -0.03012191131711006, 2.342768430709839, 0.23660911619663239, -0.8665853142738342, 0.5378608107566833, -0.7293978333473206, 0.8201204538345337, -0.28409671783447266, 1.3888059854507446, 0.4558120667934418, -0.9804372191429138, 1.5578992366790771, -0.35052916407585144, 0.5545902252197266, -0.685906708240509, -0.6187509298324585, -0.6915484070777893, 0.1970779448747635, 1.951901912689209, -0.2979552149772644, 1.5634640455245972, -0.29882121086120605, -1.636893630027771, -1.5309782028198242, 0.8478824496269226, 0.5087317824363708, -0.9192197918891907, 0.1446504145860672, -0.5450360178947449, 0.24452747404575348, 0.053815290331840515, 1.1786452531814575, 1.2443251609802246, 0.6879216432571411, -0.2676737904548645, -0.8254741430282593, 0.2122209519147873, -0.0062087224796414375, -0.5367746949195862, -1.747894287109375, -0.313602089881897, 0.19167469441890717, 0.6131377816200256, -1.1519161462783813, 1.8285942077636719, 0.9303130507469177, 1.9551851749420166, 1.0595029592514038, -0.2817258834838867, 1.5525462627410889, 0.05714356154203415, 1.8422547578811646, -0.4603600800037384, 0.5134714245796204, -0.3686843812465668, -1.171957015991211, 0.7633115649223328, -0.36045190691947937, -2.0872962474823, -0.6780816912651062, -0.7784592509269714, -0.11860138922929764, -0.8466216325759888, 0.9245932102203369, -0.33157363533973694, -1.4339882135391235, 0.09017979353666306, -0.7875352501869202, 0.2495417445898056, -1.2211334705352783, 0.24530352652072906, 0.717534065246582, -0.7346965670585632, 0.03612159565091133, -0.25663042068481445, -1.2890503406524658, -0.4853668510913849, 0.45049548149108887, 1.8471990823745728, -0.7261180281639099, 0.9900142550468445, 1.0024882555007935, -0.6670195460319519, 0.1060299500823021, 0.2264121025800705, -0.3362750709056854, 0.9342957735061646, -1.102738380432129, -0.37797820568084717, 1.2013319730758667, -0.28147903084754944, -0.6127007603645325, 1.4672471284866333, 0.7681050896644592, -1.0525462627410889, -0.34989917278289795, -0.15894265472888947, -0.8627018332481384, -0.03181831166148186, -1.7171821594238281, -0.24300023913383484, 0.44789114594459534, -1.4803333282470703, -0.4384573698043823, -0.15211664140224457, 1.3633612394332886, -0.07235762476921082, 1.4288606643676758, -0.3084636330604553, -0.03825861215591431, -0.3821871876716614, -0.4779393970966339, 0.14526928961277008, -0.20483794808387756, -0.5818444490432739, 0.14891736209392548, -0.7849331498146057, 0.2591698467731476, 1.5681648254394531, 0.35406753420829773, 0.0697990283370018, 0.5815097093582153, 1.2038798332214355, 0.36703115701675415, -0.11445920169353485, -0.7925378084182739, -1.6329528093338013, 2.02340030670166, -1.4983083009719849, 1.9453556537628174, 0.7575538158416748, -0.10441303253173828, -1.7417433261871338, -1.9448304176330566, 1.3298697471618652, 1.125482201576233, 2.38096022605896, 0.43533214926719666, 0.5487986207008362, -0.8407365083694458, -0.6753260493278503, 0.36836856603622437, -0.8810439705848694, -0.74672532081604, 0.1786981076002121, 2.347870111465454, 1.8133455514907837, -0.4719218909740448, -0.23155653476715088, -0.8736153244972229, 1.328147053718567, -0.3395238220691681, 0.27178388833999634, 1.9501968622207642, -0.29173585772514343, -1.049621820449829, 1.2484768629074097, -2.375221014022827, 0.2973145544528961, 2.0918662548065186, 0.27064037322998047, 0.10642877221107483, -1.3494131565093994, -0.609524667263031, -0.2606731951236725, -0.44221338629722595, -1.2541550397872925, 0.6076463460922241, -0.21926547586917877, -0.8362693786621094, -1.2960540056228638, 0.08073918521404266, -1.0594671964645386, -1.7724499702453613, 0.3244912326335907, 1.8467333316802979, 2.114509105682373, -0.7292345762252808, 1.4205925464630127, -0.3401484191417694, 0.2715861201286316, 1.201985478401184, 1.3624999523162842, 3.1717233657836914, 1.9561614990234375, -1.2548938989639282, 0.6964289546012878, -0.14586450159549713, -0.5780549049377441, 1.14557683467865, -1.1724753379821777, 1.1254886388778687, -0.20821994543075562, -1.3756864070892334, -1.2222156524658203, 1.0210504531860352, 0.4574700593948364, -0.100543312728405, -0.549275279045105, 1.2487667798995972, 0.12168349325656891, 1.3298892974853516, 0.5514640212059021, -0.39989593625068665, 0.5250030755996704, -0.3808242976665497, -0.5903235673904419, 1.5501818656921387, 0.119384765625, -1.518349289894104, -2.2669765949249268, -0.1322677582502365, -0.9391239881515503, 0.06479042768478394, -0.7222344875335693, -1.014644742012024, 1.5700657367706299, 0.41049304604530334, -1.2601460218429565, -0.26389482617378235, -0.3647613525390625, -0.5088456869125366, 2.6437065601348877, -1.3095022439956665, -0.23028209805488586, -0.9620513319969177, -0.5507001280784607, 1.6673078536987305, -1.2663978338241577, -0.2734106183052063, -1.0534933805465698, -0.644216775894165, -1.2473620176315308, -0.5498023629188538, -0.044060107320547104, -0.9242474436759949, 0.8164928555488586, 0.06692255288362503, -1.1742439270019531, -0.1878969520330429, -0.9265879988670349, 1.109756350517273, -0.2993927597999573, 0.09086081385612488, 1.793633222579956, 0.26392725110054016, -0.48340898752212524, 0.8701772093772888, 1.2394999265670776, 0.6206048727035522, -0.5378766655921936, 0.11632989346981049, -0.6064546704292297, 0.3989616632461548, -1.4147615432739258, 0.26076793670654297, -2.936448574066162, 0.7365278005599976, -0.05429968982934952, -0.1440046727657318, -0.1868789792060852, -1.4278122186660767, 0.9558550715446472, 2.520159959793091, -1.2327489852905273, 0.5139995217323303, 0.44286611676216125, 1.1781368255615234, -1.5993006229400635, 0.1240755170583725, -0.5785102844238281, 2.0920093059539795, 0.139259472489357, 1.259838581085205, -0.42407795786857605, -2.2500598430633545, 0.6185932755470276, -1.2578574419021606, -0.9888980984687805, 0.7330723404884338, -0.9692687392234802, 0.26003119349479675, -1.3213480710983276, -0.22342388331890106, -0.9266787171363831, -1.127966046333313, 0.5955075025558472, 0.12524005770683289, 0.41234803199768066, -0.5149561166763306, 0.24099253118038177, -2.207242488861084, -1.3324466943740845, -0.21284762024879456, -1.0155682563781738, 0.5166295170783997, -0.48472172021865845, 0.6111303567886353, -0.16556072235107422, 0.03194214403629303, 0.32813915610313416, 1.4405815601348877, 3.270660638809204, 0.15515123307704926, 0.2536108195781708, -0.28056800365448, -0.9296516180038452, 1.434804916381836, 0.872495174407959, -0.3052152693271637, -0.5932182669639587, -0.9552929401397705, 1.4172828197479248, 1.881219506263733, 1.0554670095443726, 0.07191967964172363, -0.875927746295929, -0.8053994178771973, -0.028934244066476822, 0.16536322236061096, 0.5627651810646057, 0.8936094045639038, 0.08642784506082535, 0.19132821261882782, 1.2736421823501587, 1.0509980916976929, -0.30316317081451416, 0.4847984313964844, -0.9123693108558655, -0.4259227216243744, 0.35155344009399414, 0.16827689111232758, -0.08528018742799759, 0.4063124358654022, -0.9702907800674438, -0.24753254652023315, -0.30992329120635986, -0.8751206994056702, -0.8303424119949341, -0.3221437335014343, -0.38367152214050293, 1.6882339715957642, 0.0633319839835167, -0.5760657787322998, 0.005010581575334072, -0.671747088432312, -0.25466790795326233, -0.9732089042663574, 0.2485978752374649, -0.08954402059316635, -0.04386177659034729, -0.08873418718576431, 1.595923900604248, -0.9669590592384338, -2.1480815410614014, 0.1900404542684555, 0.22655938565731049, -0.2712012529373169, 0.01774066686630249, 1.7301404476165771, 0.5892680883407593, 1.383470058441162, 1.397810459136963, 0.929836630821228, -0.5929279923439026, -1.156711459159851, 0.8172399997711182, 0.9171524047851562, -1.3993682861328125, 0.8803480863571167, -0.24359603226184845, -0.5041109323501587, 0.5979090929031372, 1.3169082403182983, 0.5531110763549805, -1.9760558605194092, 0.894767701625824, -1.058482050895691, 0.8283146023750305, 0.7197646498680115, 0.7185285687446594, 0.25446489453315735, 0.9480339884757996, -1.2233508825302124, -1.1666533946990967, -0.6215291619300842, -0.6825792789459229, 1.9964945316314697, -0.3163243234157562, 0.4616781175136566, -0.19782774150371552, -1.255709171295166, -0.026298046112060547, 0.7382723093032837, 0.29133158922195435, -0.4249456226825714, 0.8035914301872253, -0.6319945454597473, -0.9873574376106262, -1.3117884397506714, -0.4433801770210266, -1.064483880996704, -0.9656195640563965, 1.0461715459823608, 0.7819143533706665, 0.3428860008716583, 1.8259727954864502, 0.642905592918396, 0.28599458932876587, -2.5699515342712402, 0.9083846211433411, 0.34358006715774536, -0.1275034248828888, 0.8240265846252441, 0.2815369963645935, 1.0996177196502686, -0.054998185485601425, 0.663957953453064, -2.317692518234253, 2.2301902770996094, -0.20427708327770233, 0.7479924559593201, -0.03770735114812851, -0.12299147993326187, 0.9838789701461792, 0.5339950323104858, 0.6095167994499207, -1.0257004499435425, 0.8113679885864258, -0.6054295897483826, 1.0774731636047363, 0.8844106197357178, -0.8916172981262207, 0.1788683980703354, 1.4292750358581543, 0.4385538399219513, -0.6225461959838867, -1.0254513025283813, -0.8334137201309204, 1.0392582416534424, 1.7782398462295532, -0.001743169967085123, 0.011220625601708889, 0.8497872948646545, 0.7626949548721313, -1.2005069255828857, 0.11643892526626587, -0.5126129984855652, -0.7363325953483582, 1.6709593534469604, 2.0951054096221924, -0.12891674041748047, -0.14682011306285858, -0.6551443338394165, -1.3784304857254028, 0.7829177379608154, -0.016780249774456024, -0.004652871750295162, 0.7442923784255981, -0.7196267247200012, 1.1777689456939697, 0.7274385690689087, 0.9415699243545532, 0.08518941700458527, 0.20374515652656555, 0.3532402813434601, -0.2848753333091736, -1.2356146574020386, -0.3835545480251312, -1.1042670011520386, -2.567582607269287, 0.37353983521461487, -0.24171386659145355, -1.3722827434539795, 0.10358533263206482, -1.0243358612060547, 0.8078116774559021, -0.6594932675361633, -1.194045066833496, -1.4453325271606445, 0.3006480932235718, -0.08996719121932983, 0.8695356845855713, -1.6651257276535034, -0.24048246443271637, 1.120582938194275, 0.9349530935287476, -0.6536492109298706, 0.9003618359565735, 0.2969471514225006, 0.9560858607292175, 0.7952395677566528, -0.40476229786872864, 0.6327993273735046, 0.11713328957557678, -1.3709721565246582, 0.5978963971138, 1.3030537366867065, 0.14179761707782745, 1.4592781066894531, -0.45448553562164307, 0.006299859844148159, 0.4580332338809967, -0.5319796800613403, -0.5964683890342712, -0.5723126530647278, 0.6828959584236145, -0.013083115220069885, -0.9456802606582642, -0.15110346674919128, -0.011659674346446991, -0.2601096034049988, 0.2294551283121109, -1.5384411811828613, -0.16238465905189514, -0.3812033236026764, -0.6290916800498962, -1.3190627098083496, -0.1017732173204422, 1.3684916496276855, -0.859092652797699, -0.19989140331745148, 0.5271735787391663, 0.28121230006217957, 0.5577439069747925, 0.6132935881614685, -0.7755064368247986, -0.23976178467273712, -0.19037653505802155, -0.3215605318546295, 0.3167901337146759, 1.2279545068740845, 0.019527576863765717, -0.9504874348640442, 0.6329277753829956, -0.339210569858551, 0.22094500064849854, 1.9040664434432983, 0.011131617240607738, -0.6936047077178955, 0.3620806634426117, -0.7438568472862244, 1.8232448101043701, 1.6272833347320557, 1.3493859767913818, -0.09231259673833847, -0.9228463768959045, 0.6427798271179199, -0.3260515332221985, -0.38138216733932495, 0.9334446787834167, 0.39806708693504333, -0.2479589879512787, -1.4111589193344116, 0.8087048530578613, 1.172680139541626, -0.8161857724189758, -0.7845970392227173, 0.06687641143798828, -0.8322240114212036, 1.197318196296692, 0.567795991897583, 0.1876465380191803, 0.17733940482139587, 1.5849008560180664, 0.728211522102356, -0.44903334975242615, 0.4228561222553253, 0.5366859436035156, -0.1547601819038391, -2.1454358100891113, -1.1041460037231445, 0.3006618022918701, -0.35625699162483215, -1.5822798013687134, 1.3917438983917236, -1.109709620475769, -0.9347190260887146, 0.5412353873252869, 0.09290436655282974, 1.4148674011230469, 0.2437177151441574, 1.7126532793045044, 2.0813143253326416, 0.854221761226654, 0.44111791253089905, 1.1718922853469849, -0.1840573251247406, -0.2721021771430969, 1.7547045946121216, -0.38901287317276, 0.6274775862693787, 0.9846977591514587, -0.48934119939804077, -1.2402762174606323, -0.7781250476837158, -1.3427337408065796, -0.7492443323135376, 1.1083897352218628, 0.03559911623597145, -1.0433536767959595, 0.2546002268791199, 1.5347338914871216, 0.18252107501029968, -0.1666029393672943, 0.7005612850189209, 0.3322710394859314, -0.6884878873825073, -0.11290930211544037, -0.9801447987556458, 0.5358548760414124, -0.2403978854417801, -0.3488035500049591, 0.2142668068408966, 0.511970579624176, 1.2795429229736328, 0.11233033239841461, 0.0733102560043335, 1.169647455215454, -1.3971366882324219, 1.3801487684249878, -0.7187628746032715, 0.28642937541007996, -2.3900492191314697, 1.4575330018997192, -0.861338198184967, 1.9513773918151855, -2.6439249515533447, 0.5504835247993469, -0.5823490619659424, -0.5404542088508606, 0.28840169310569763, -0.23916780948638916, 0.1075851321220398, -0.06369707733392715, -1.0773450136184692, -0.042689770460128784, -0.5971252918243408, 0.7068778872489929, 1.2613029479980469, 1.3502343893051147, -1.0390154123306274, -0.22465115785598755, -1.719718098640442, -0.11078952997922897, -0.7275450825691223, 0.25847625732421875, -1.9515451192855835, -0.14508703351020813, -2.003761053085327, -2.431550979614258, -1.177341103553772, -0.869615375995636, 1.0999343395233154, 0.19912604987621307, -0.8531667590141296, 1.2769604921340942, -0.37647056579589844, -1.6609117984771729, 1.0940546989440918, -2.23064923286438 ]
https://github.com/huggingface/datasets/issues/4268
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
Ah this must be a bug introduced at creation time since the repos were created programmatically; I'll go ahead and make them private; sorry about that!
## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1
778
26
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered ## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 Ah this must be a bug introduced at creation time since the repos were created programmatically; I'll go ahead and make them private; sorry about that!
[ -1.1990233659744263, -0.8957808613777161, -0.5553922057151794, 1.5229593515396118, -0.015718523412942886, -1.2148336172103882, 0.15458449721336365, -0.8494728207588196, 1.5672435760498047, -0.7683069109916687, 0.31513142585754395, -1.7033722400665283, -0.08553937077522278, -0.6861419677734375, -0.6468722224235535, -0.7637218832969666, -0.3360680937767029, -0.6797414422035217, 1.1117461919784546, 2.450892210006714, 1.2112962007522583, -1.315347671508789, 2.851334571838379, 0.6115646958351135, -0.26941946148872375, -0.9720991849899292, 0.4527497887611389, -0.06568319350481033, -1.2825795412063599, -0.42922186851501465, -0.9387310743331909, 0.05017196014523506, -0.6371411085128784, -0.41232192516326904, 0.05096922814846039, 0.5329998135566711, -0.18167755007743835, -0.4174066483974457, -0.5576015710830688, -0.793667733669281, 0.6091086268424988, -0.33032873272895813, 0.8631244897842407, -0.2409064620733261, 1.7331210374832153, -0.6495529413223267, 0.4314590394496918, 0.5862082242965698, 1.30210542678833, 0.20762120187282562, -0.001097826287150383, 0.5028837323188782, 0.26725056767463684, 0.07434693723917007, 0.6128495931625366, 1.3064788579940796, 0.5805995464324951, 0.5009498596191406, 0.6737491488456726, -2.2182724475860596, 1.293518304824829, -0.920720636844635, 0.2925782799720764, 1.2310538291931152, -0.9905564188957214, 0.4141044318675995, -1.8009095191955566, -0.1222124695777893, 0.4928274154663086, -2.294926166534424, 0.1536043882369995, -1.318913221359253, -0.46251168847084045, 0.9855093359947205, 0.41025060415267944, -1.250145673751831, 0.029059171676635742, -0.47390052676200867, 1.1276129484176636, 0.2969587743282318, 1.0294737815856934, -1.6223410367965698, -0.09914530813694, -0.19558541476726532, 0.16703881323337555, -1.2789340019226074, -1.6604217290878296, 0.5993474721908569, 0.6461816430091858, 0.6956180334091187, -0.11004123091697693, 1.0160374641418457, -1.04658043384552, 0.8239628672599792, -0.9994975328445435, -1.6967366933822632, -1.4060893058776855, -2.339139461517334, -2.243123769760132, 0.7989183068275452, -0.4648526608943939, -0.4781413972377777, 2.1037497520446777, -1.0253804922103882, -1.8868186473846436, 1.0843756198883057, 0.2941414713859558, -0.03012191131711006, 2.342768430709839, 0.23660911619663239, -0.8665853142738342, 0.5378608107566833, -0.7293978333473206, 0.8201204538345337, -0.28409671783447266, 1.3888059854507446, 0.4558120667934418, -0.9804372191429138, 1.5578992366790771, -0.35052916407585144, 0.5545902252197266, -0.685906708240509, -0.6187509298324585, -0.6915484070777893, 0.1970779448747635, 1.951901912689209, -0.2979552149772644, 1.5634640455245972, -0.29882121086120605, -1.636893630027771, -1.5309782028198242, 0.8478824496269226, 0.5087317824363708, -0.9192197918891907, 0.1446504145860672, -0.5450360178947449, 0.24452747404575348, 0.053815290331840515, 1.1786452531814575, 1.2443251609802246, 0.6879216432571411, -0.2676737904548645, -0.8254741430282593, 0.2122209519147873, -0.0062087224796414375, -0.5367746949195862, -1.747894287109375, -0.313602089881897, 0.19167469441890717, 0.6131377816200256, -1.1519161462783813, 1.8285942077636719, 0.9303130507469177, 1.9551851749420166, 1.0595029592514038, -0.2817258834838867, 1.5525462627410889, 0.05714356154203415, 1.8422547578811646, -0.4603600800037384, 0.5134714245796204, -0.3686843812465668, -1.171957015991211, 0.7633115649223328, -0.36045190691947937, -2.0872962474823, -0.6780816912651062, -0.7784592509269714, -0.11860138922929764, -0.8466216325759888, 0.9245932102203369, -0.33157363533973694, -1.4339882135391235, 0.09017979353666306, -0.7875352501869202, 0.2495417445898056, -1.2211334705352783, 0.24530352652072906, 0.717534065246582, -0.7346965670585632, 0.03612159565091133, -0.25663042068481445, -1.2890503406524658, -0.4853668510913849, 0.45049548149108887, 1.8471990823745728, -0.7261180281639099, 0.9900142550468445, 1.0024882555007935, -0.6670195460319519, 0.1060299500823021, 0.2264121025800705, -0.3362750709056854, 0.9342957735061646, -1.102738380432129, -0.37797820568084717, 1.2013319730758667, -0.28147903084754944, -0.6127007603645325, 1.4672471284866333, 0.7681050896644592, -1.0525462627410889, -0.34989917278289795, -0.15894265472888947, -0.8627018332481384, -0.03181831166148186, -1.7171821594238281, -0.24300023913383484, 0.44789114594459534, -1.4803333282470703, -0.4384573698043823, -0.15211664140224457, 1.3633612394332886, -0.07235762476921082, 1.4288606643676758, -0.3084636330604553, -0.03825861215591431, -0.3821871876716614, -0.4779393970966339, 0.14526928961277008, -0.20483794808387756, -0.5818444490432739, 0.14891736209392548, -0.7849331498146057, 0.2591698467731476, 1.5681648254394531, 0.35406753420829773, 0.0697990283370018, 0.5815097093582153, 1.2038798332214355, 0.36703115701675415, -0.11445920169353485, -0.7925378084182739, -1.6329528093338013, 2.02340030670166, -1.4983083009719849, 1.9453556537628174, 0.7575538158416748, -0.10441303253173828, -1.7417433261871338, -1.9448304176330566, 1.3298697471618652, 1.125482201576233, 2.38096022605896, 0.43533214926719666, 0.5487986207008362, -0.8407365083694458, -0.6753260493278503, 0.36836856603622437, -0.8810439705848694, -0.74672532081604, 0.1786981076002121, 2.347870111465454, 1.8133455514907837, -0.4719218909740448, -0.23155653476715088, -0.8736153244972229, 1.328147053718567, -0.3395238220691681, 0.27178388833999634, 1.9501968622207642, -0.29173585772514343, -1.049621820449829, 1.2484768629074097, -2.375221014022827, 0.2973145544528961, 2.0918662548065186, 0.27064037322998047, 0.10642877221107483, -1.3494131565093994, -0.609524667263031, -0.2606731951236725, -0.44221338629722595, -1.2541550397872925, 0.6076463460922241, -0.21926547586917877, -0.8362693786621094, -1.2960540056228638, 0.08073918521404266, -1.0594671964645386, -1.7724499702453613, 0.3244912326335907, 1.8467333316802979, 2.114509105682373, -0.7292345762252808, 1.4205925464630127, -0.3401484191417694, 0.2715861201286316, 1.201985478401184, 1.3624999523162842, 3.1717233657836914, 1.9561614990234375, -1.2548938989639282, 0.6964289546012878, -0.14586450159549713, -0.5780549049377441, 1.14557683467865, -1.1724753379821777, 1.1254886388778687, -0.20821994543075562, -1.3756864070892334, -1.2222156524658203, 1.0210504531860352, 0.4574700593948364, -0.100543312728405, -0.549275279045105, 1.2487667798995972, 0.12168349325656891, 1.3298892974853516, 0.5514640212059021, -0.39989593625068665, 0.5250030755996704, -0.3808242976665497, -0.5903235673904419, 1.5501818656921387, 0.119384765625, -1.518349289894104, -2.2669765949249268, -0.1322677582502365, -0.9391239881515503, 0.06479042768478394, -0.7222344875335693, -1.014644742012024, 1.5700657367706299, 0.41049304604530334, -1.2601460218429565, -0.26389482617378235, -0.3647613525390625, -0.5088456869125366, 2.6437065601348877, -1.3095022439956665, -0.23028209805488586, -0.9620513319969177, -0.5507001280784607, 1.6673078536987305, -1.2663978338241577, -0.2734106183052063, -1.0534933805465698, -0.644216775894165, -1.2473620176315308, -0.5498023629188538, -0.044060107320547104, -0.9242474436759949, 0.8164928555488586, 0.06692255288362503, -1.1742439270019531, -0.1878969520330429, -0.9265879988670349, 1.109756350517273, -0.2993927597999573, 0.09086081385612488, 1.793633222579956, 0.26392725110054016, -0.48340898752212524, 0.8701772093772888, 1.2394999265670776, 0.6206048727035522, -0.5378766655921936, 0.11632989346981049, -0.6064546704292297, 0.3989616632461548, -1.4147615432739258, 0.26076793670654297, -2.936448574066162, 0.7365278005599976, -0.05429968982934952, -0.1440046727657318, -0.1868789792060852, -1.4278122186660767, 0.9558550715446472, 2.520159959793091, -1.2327489852905273, 0.5139995217323303, 0.44286611676216125, 1.1781368255615234, -1.5993006229400635, 0.1240755170583725, -0.5785102844238281, 2.0920093059539795, 0.139259472489357, 1.259838581085205, -0.42407795786857605, -2.2500598430633545, 0.6185932755470276, -1.2578574419021606, -0.9888980984687805, 0.7330723404884338, -0.9692687392234802, 0.26003119349479675, -1.3213480710983276, -0.22342388331890106, -0.9266787171363831, -1.127966046333313, 0.5955075025558472, 0.12524005770683289, 0.41234803199768066, -0.5149561166763306, 0.24099253118038177, -2.207242488861084, -1.3324466943740845, -0.21284762024879456, -1.0155682563781738, 0.5166295170783997, -0.48472172021865845, 0.6111303567886353, -0.16556072235107422, 0.03194214403629303, 0.32813915610313416, 1.4405815601348877, 3.270660638809204, 0.15515123307704926, 0.2536108195781708, -0.28056800365448, -0.9296516180038452, 1.434804916381836, 0.872495174407959, -0.3052152693271637, -0.5932182669639587, -0.9552929401397705, 1.4172828197479248, 1.881219506263733, 1.0554670095443726, 0.07191967964172363, -0.875927746295929, -0.8053994178771973, -0.028934244066476822, 0.16536322236061096, 0.5627651810646057, 0.8936094045639038, 0.08642784506082535, 0.19132821261882782, 1.2736421823501587, 1.0509980916976929, -0.30316317081451416, 0.4847984313964844, -0.9123693108558655, -0.4259227216243744, 0.35155344009399414, 0.16827689111232758, -0.08528018742799759, 0.4063124358654022, -0.9702907800674438, -0.24753254652023315, -0.30992329120635986, -0.8751206994056702, -0.8303424119949341, -0.3221437335014343, -0.38367152214050293, 1.6882339715957642, 0.0633319839835167, -0.5760657787322998, 0.005010581575334072, -0.671747088432312, -0.25466790795326233, -0.9732089042663574, 0.2485978752374649, -0.08954402059316635, -0.04386177659034729, -0.08873418718576431, 1.595923900604248, -0.9669590592384338, -2.1480815410614014, 0.1900404542684555, 0.22655938565731049, -0.2712012529373169, 0.01774066686630249, 1.7301404476165771, 0.5892680883407593, 1.383470058441162, 1.397810459136963, 0.929836630821228, -0.5929279923439026, -1.156711459159851, 0.8172399997711182, 0.9171524047851562, -1.3993682861328125, 0.8803480863571167, -0.24359603226184845, -0.5041109323501587, 0.5979090929031372, 1.3169082403182983, 0.5531110763549805, -1.9760558605194092, 0.894767701625824, -1.058482050895691, 0.8283146023750305, 0.7197646498680115, 0.7185285687446594, 0.25446489453315735, 0.9480339884757996, -1.2233508825302124, -1.1666533946990967, -0.6215291619300842, -0.6825792789459229, 1.9964945316314697, -0.3163243234157562, 0.4616781175136566, -0.19782774150371552, -1.255709171295166, -0.026298046112060547, 0.7382723093032837, 0.29133158922195435, -0.4249456226825714, 0.8035914301872253, -0.6319945454597473, -0.9873574376106262, -1.3117884397506714, -0.4433801770210266, -1.064483880996704, -0.9656195640563965, 1.0461715459823608, 0.7819143533706665, 0.3428860008716583, 1.8259727954864502, 0.642905592918396, 0.28599458932876587, -2.5699515342712402, 0.9083846211433411, 0.34358006715774536, -0.1275034248828888, 0.8240265846252441, 0.2815369963645935, 1.0996177196502686, -0.054998185485601425, 0.663957953453064, -2.317692518234253, 2.2301902770996094, -0.20427708327770233, 0.7479924559593201, -0.03770735114812851, -0.12299147993326187, 0.9838789701461792, 0.5339950323104858, 0.6095167994499207, -1.0257004499435425, 0.8113679885864258, -0.6054295897483826, 1.0774731636047363, 0.8844106197357178, -0.8916172981262207, 0.1788683980703354, 1.4292750358581543, 0.4385538399219513, -0.6225461959838867, -1.0254513025283813, -0.8334137201309204, 1.0392582416534424, 1.7782398462295532, -0.001743169967085123, 0.011220625601708889, 0.8497872948646545, 0.7626949548721313, -1.2005069255828857, 0.11643892526626587, -0.5126129984855652, -0.7363325953483582, 1.6709593534469604, 2.0951054096221924, -0.12891674041748047, -0.14682011306285858, -0.6551443338394165, -1.3784304857254028, 0.7829177379608154, -0.016780249774456024, -0.004652871750295162, 0.7442923784255981, -0.7196267247200012, 1.1777689456939697, 0.7274385690689087, 0.9415699243545532, 0.08518941700458527, 0.20374515652656555, 0.3532402813434601, -0.2848753333091736, -1.2356146574020386, -0.3835545480251312, -1.1042670011520386, -2.567582607269287, 0.37353983521461487, -0.24171386659145355, -1.3722827434539795, 0.10358533263206482, -1.0243358612060547, 0.8078116774559021, -0.6594932675361633, -1.194045066833496, -1.4453325271606445, 0.3006480932235718, -0.08996719121932983, 0.8695356845855713, -1.6651257276535034, -0.24048246443271637, 1.120582938194275, 0.9349530935287476, -0.6536492109298706, 0.9003618359565735, 0.2969471514225006, 0.9560858607292175, 0.7952395677566528, -0.40476229786872864, 0.6327993273735046, 0.11713328957557678, -1.3709721565246582, 0.5978963971138, 1.3030537366867065, 0.14179761707782745, 1.4592781066894531, -0.45448553562164307, 0.006299859844148159, 0.4580332338809967, -0.5319796800613403, -0.5964683890342712, -0.5723126530647278, 0.6828959584236145, -0.013083115220069885, -0.9456802606582642, -0.15110346674919128, -0.011659674346446991, -0.2601096034049988, 0.2294551283121109, -1.5384411811828613, -0.16238465905189514, -0.3812033236026764, -0.6290916800498962, -1.3190627098083496, -0.1017732173204422, 1.3684916496276855, -0.859092652797699, -0.19989140331745148, 0.5271735787391663, 0.28121230006217957, 0.5577439069747925, 0.6132935881614685, -0.7755064368247986, -0.23976178467273712, -0.19037653505802155, -0.3215605318546295, 0.3167901337146759, 1.2279545068740845, 0.019527576863765717, -0.9504874348640442, 0.6329277753829956, -0.339210569858551, 0.22094500064849854, 1.9040664434432983, 0.011131617240607738, -0.6936047077178955, 0.3620806634426117, -0.7438568472862244, 1.8232448101043701, 1.6272833347320557, 1.3493859767913818, -0.09231259673833847, -0.9228463768959045, 0.6427798271179199, -0.3260515332221985, -0.38138216733932495, 0.9334446787834167, 0.39806708693504333, -0.2479589879512787, -1.4111589193344116, 0.8087048530578613, 1.172680139541626, -0.8161857724189758, -0.7845970392227173, 0.06687641143798828, -0.8322240114212036, 1.197318196296692, 0.567795991897583, 0.1876465380191803, 0.17733940482139587, 1.5849008560180664, 0.728211522102356, -0.44903334975242615, 0.4228561222553253, 0.5366859436035156, -0.1547601819038391, -2.1454358100891113, -1.1041460037231445, 0.3006618022918701, -0.35625699162483215, -1.5822798013687134, 1.3917438983917236, -1.109709620475769, -0.9347190260887146, 0.5412353873252869, 0.09290436655282974, 1.4148674011230469, 0.2437177151441574, 1.7126532793045044, 2.0813143253326416, 0.854221761226654, 0.44111791253089905, 1.1718922853469849, -0.1840573251247406, -0.2721021771430969, 1.7547045946121216, -0.38901287317276, 0.6274775862693787, 0.9846977591514587, -0.48934119939804077, -1.2402762174606323, -0.7781250476837158, -1.3427337408065796, -0.7492443323135376, 1.1083897352218628, 0.03559911623597145, -1.0433536767959595, 0.2546002268791199, 1.5347338914871216, 0.18252107501029968, -0.1666029393672943, 0.7005612850189209, 0.3322710394859314, -0.6884878873825073, -0.11290930211544037, -0.9801447987556458, 0.5358548760414124, -0.2403978854417801, -0.3488035500049591, 0.2142668068408966, 0.511970579624176, 1.2795429229736328, 0.11233033239841461, 0.0733102560043335, 1.169647455215454, -1.3971366882324219, 1.3801487684249878, -0.7187628746032715, 0.28642937541007996, -2.3900492191314697, 1.4575330018997192, -0.861338198184967, 1.9513773918151855, -2.6439249515533447, 0.5504835247993469, -0.5823490619659424, -0.5404542088508606, 0.28840169310569763, -0.23916780948638916, 0.1075851321220398, -0.06369707733392715, -1.0773450136184692, -0.042689770460128784, -0.5971252918243408, 0.7068778872489929, 1.2613029479980469, 1.3502343893051147, -1.0390154123306274, -0.22465115785598755, -1.719718098640442, -0.11078952997922897, -0.7275450825691223, 0.25847625732421875, -1.9515451192855835, -0.14508703351020813, -2.003761053085327, -2.431550979614258, -1.177341103553772, -0.869615375995636, 1.0999343395233154, 0.19912604987621307, -0.8531667590141296, 1.2769604921340942, -0.37647056579589844, -1.6609117984771729, 1.0940546989440918, -2.23064923286438 ]
https://github.com/huggingface/datasets/issues/4268
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
All datasets are private now. Re:that bug I think we're currently avoiding it by avoiding verifications. (i.e. `ignore_verifications=True`)
## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1
778
18
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered ## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 All datasets are private now. Re:that bug I think we're currently avoiding it by avoiding verifications. (i.e. `ignore_verifications=True`)
[ -1.1990233659744263, -0.8957808613777161, -0.5553922057151794, 1.5229593515396118, -0.015718523412942886, -1.2148336172103882, 0.15458449721336365, -0.8494728207588196, 1.5672435760498047, -0.7683069109916687, 0.31513142585754395, -1.7033722400665283, -0.08553937077522278, -0.6861419677734375, -0.6468722224235535, -0.7637218832969666, -0.3360680937767029, -0.6797414422035217, 1.1117461919784546, 2.450892210006714, 1.2112962007522583, -1.315347671508789, 2.851334571838379, 0.6115646958351135, -0.26941946148872375, -0.9720991849899292, 0.4527497887611389, -0.06568319350481033, -1.2825795412063599, -0.42922186851501465, -0.9387310743331909, 0.05017196014523506, -0.6371411085128784, -0.41232192516326904, 0.05096922814846039, 0.5329998135566711, -0.18167755007743835, -0.4174066483974457, -0.5576015710830688, -0.793667733669281, 0.6091086268424988, -0.33032873272895813, 0.8631244897842407, -0.2409064620733261, 1.7331210374832153, -0.6495529413223267, 0.4314590394496918, 0.5862082242965698, 1.30210542678833, 0.20762120187282562, -0.001097826287150383, 0.5028837323188782, 0.26725056767463684, 0.07434693723917007, 0.6128495931625366, 1.3064788579940796, 0.5805995464324951, 0.5009498596191406, 0.6737491488456726, -2.2182724475860596, 1.293518304824829, -0.920720636844635, 0.2925782799720764, 1.2310538291931152, -0.9905564188957214, 0.4141044318675995, -1.8009095191955566, -0.1222124695777893, 0.4928274154663086, -2.294926166534424, 0.1536043882369995, -1.318913221359253, -0.46251168847084045, 0.9855093359947205, 0.41025060415267944, -1.250145673751831, 0.029059171676635742, -0.47390052676200867, 1.1276129484176636, 0.2969587743282318, 1.0294737815856934, -1.6223410367965698, -0.09914530813694, -0.19558541476726532, 0.16703881323337555, -1.2789340019226074, -1.6604217290878296, 0.5993474721908569, 0.6461816430091858, 0.6956180334091187, -0.11004123091697693, 1.0160374641418457, -1.04658043384552, 0.8239628672599792, -0.9994975328445435, -1.6967366933822632, -1.4060893058776855, -2.339139461517334, -2.243123769760132, 0.7989183068275452, -0.4648526608943939, -0.4781413972377777, 2.1037497520446777, -1.0253804922103882, -1.8868186473846436, 1.0843756198883057, 0.2941414713859558, -0.03012191131711006, 2.342768430709839, 0.23660911619663239, -0.8665853142738342, 0.5378608107566833, -0.7293978333473206, 0.8201204538345337, -0.28409671783447266, 1.3888059854507446, 0.4558120667934418, -0.9804372191429138, 1.5578992366790771, -0.35052916407585144, 0.5545902252197266, -0.685906708240509, -0.6187509298324585, -0.6915484070777893, 0.1970779448747635, 1.951901912689209, -0.2979552149772644, 1.5634640455245972, -0.29882121086120605, -1.636893630027771, -1.5309782028198242, 0.8478824496269226, 0.5087317824363708, -0.9192197918891907, 0.1446504145860672, -0.5450360178947449, 0.24452747404575348, 0.053815290331840515, 1.1786452531814575, 1.2443251609802246, 0.6879216432571411, -0.2676737904548645, -0.8254741430282593, 0.2122209519147873, -0.0062087224796414375, -0.5367746949195862, -1.747894287109375, -0.313602089881897, 0.19167469441890717, 0.6131377816200256, -1.1519161462783813, 1.8285942077636719, 0.9303130507469177, 1.9551851749420166, 1.0595029592514038, -0.2817258834838867, 1.5525462627410889, 0.05714356154203415, 1.8422547578811646, -0.4603600800037384, 0.5134714245796204, -0.3686843812465668, -1.171957015991211, 0.7633115649223328, -0.36045190691947937, -2.0872962474823, -0.6780816912651062, -0.7784592509269714, -0.11860138922929764, -0.8466216325759888, 0.9245932102203369, -0.33157363533973694, -1.4339882135391235, 0.09017979353666306, -0.7875352501869202, 0.2495417445898056, -1.2211334705352783, 0.24530352652072906, 0.717534065246582, -0.7346965670585632, 0.03612159565091133, -0.25663042068481445, -1.2890503406524658, -0.4853668510913849, 0.45049548149108887, 1.8471990823745728, -0.7261180281639099, 0.9900142550468445, 1.0024882555007935, -0.6670195460319519, 0.1060299500823021, 0.2264121025800705, -0.3362750709056854, 0.9342957735061646, -1.102738380432129, -0.37797820568084717, 1.2013319730758667, -0.28147903084754944, -0.6127007603645325, 1.4672471284866333, 0.7681050896644592, -1.0525462627410889, -0.34989917278289795, -0.15894265472888947, -0.8627018332481384, -0.03181831166148186, -1.7171821594238281, -0.24300023913383484, 0.44789114594459534, -1.4803333282470703, -0.4384573698043823, -0.15211664140224457, 1.3633612394332886, -0.07235762476921082, 1.4288606643676758, -0.3084636330604553, -0.03825861215591431, -0.3821871876716614, -0.4779393970966339, 0.14526928961277008, -0.20483794808387756, -0.5818444490432739, 0.14891736209392548, -0.7849331498146057, 0.2591698467731476, 1.5681648254394531, 0.35406753420829773, 0.0697990283370018, 0.5815097093582153, 1.2038798332214355, 0.36703115701675415, -0.11445920169353485, -0.7925378084182739, -1.6329528093338013, 2.02340030670166, -1.4983083009719849, 1.9453556537628174, 0.7575538158416748, -0.10441303253173828, -1.7417433261871338, -1.9448304176330566, 1.3298697471618652, 1.125482201576233, 2.38096022605896, 0.43533214926719666, 0.5487986207008362, -0.8407365083694458, -0.6753260493278503, 0.36836856603622437, -0.8810439705848694, -0.74672532081604, 0.1786981076002121, 2.347870111465454, 1.8133455514907837, -0.4719218909740448, -0.23155653476715088, -0.8736153244972229, 1.328147053718567, -0.3395238220691681, 0.27178388833999634, 1.9501968622207642, -0.29173585772514343, -1.049621820449829, 1.2484768629074097, -2.375221014022827, 0.2973145544528961, 2.0918662548065186, 0.27064037322998047, 0.10642877221107483, -1.3494131565093994, -0.609524667263031, -0.2606731951236725, -0.44221338629722595, -1.2541550397872925, 0.6076463460922241, -0.21926547586917877, -0.8362693786621094, -1.2960540056228638, 0.08073918521404266, -1.0594671964645386, -1.7724499702453613, 0.3244912326335907, 1.8467333316802979, 2.114509105682373, -0.7292345762252808, 1.4205925464630127, -0.3401484191417694, 0.2715861201286316, 1.201985478401184, 1.3624999523162842, 3.1717233657836914, 1.9561614990234375, -1.2548938989639282, 0.6964289546012878, -0.14586450159549713, -0.5780549049377441, 1.14557683467865, -1.1724753379821777, 1.1254886388778687, -0.20821994543075562, -1.3756864070892334, -1.2222156524658203, 1.0210504531860352, 0.4574700593948364, -0.100543312728405, -0.549275279045105, 1.2487667798995972, 0.12168349325656891, 1.3298892974853516, 0.5514640212059021, -0.39989593625068665, 0.5250030755996704, -0.3808242976665497, -0.5903235673904419, 1.5501818656921387, 0.119384765625, -1.518349289894104, -2.2669765949249268, -0.1322677582502365, -0.9391239881515503, 0.06479042768478394, -0.7222344875335693, -1.014644742012024, 1.5700657367706299, 0.41049304604530334, -1.2601460218429565, -0.26389482617378235, -0.3647613525390625, -0.5088456869125366, 2.6437065601348877, -1.3095022439956665, -0.23028209805488586, -0.9620513319969177, -0.5507001280784607, 1.6673078536987305, -1.2663978338241577, -0.2734106183052063, -1.0534933805465698, -0.644216775894165, -1.2473620176315308, -0.5498023629188538, -0.044060107320547104, -0.9242474436759949, 0.8164928555488586, 0.06692255288362503, -1.1742439270019531, -0.1878969520330429, -0.9265879988670349, 1.109756350517273, -0.2993927597999573, 0.09086081385612488, 1.793633222579956, 0.26392725110054016, -0.48340898752212524, 0.8701772093772888, 1.2394999265670776, 0.6206048727035522, -0.5378766655921936, 0.11632989346981049, -0.6064546704292297, 0.3989616632461548, -1.4147615432739258, 0.26076793670654297, -2.936448574066162, 0.7365278005599976, -0.05429968982934952, -0.1440046727657318, -0.1868789792060852, -1.4278122186660767, 0.9558550715446472, 2.520159959793091, -1.2327489852905273, 0.5139995217323303, 0.44286611676216125, 1.1781368255615234, -1.5993006229400635, 0.1240755170583725, -0.5785102844238281, 2.0920093059539795, 0.139259472489357, 1.259838581085205, -0.42407795786857605, -2.2500598430633545, 0.6185932755470276, -1.2578574419021606, -0.9888980984687805, 0.7330723404884338, -0.9692687392234802, 0.26003119349479675, -1.3213480710983276, -0.22342388331890106, -0.9266787171363831, -1.127966046333313, 0.5955075025558472, 0.12524005770683289, 0.41234803199768066, -0.5149561166763306, 0.24099253118038177, -2.207242488861084, -1.3324466943740845, -0.21284762024879456, -1.0155682563781738, 0.5166295170783997, -0.48472172021865845, 0.6111303567886353, -0.16556072235107422, 0.03194214403629303, 0.32813915610313416, 1.4405815601348877, 3.270660638809204, 0.15515123307704926, 0.2536108195781708, -0.28056800365448, -0.9296516180038452, 1.434804916381836, 0.872495174407959, -0.3052152693271637, -0.5932182669639587, -0.9552929401397705, 1.4172828197479248, 1.881219506263733, 1.0554670095443726, 0.07191967964172363, -0.875927746295929, -0.8053994178771973, -0.028934244066476822, 0.16536322236061096, 0.5627651810646057, 0.8936094045639038, 0.08642784506082535, 0.19132821261882782, 1.2736421823501587, 1.0509980916976929, -0.30316317081451416, 0.4847984313964844, -0.9123693108558655, -0.4259227216243744, 0.35155344009399414, 0.16827689111232758, -0.08528018742799759, 0.4063124358654022, -0.9702907800674438, -0.24753254652023315, -0.30992329120635986, -0.8751206994056702, -0.8303424119949341, -0.3221437335014343, -0.38367152214050293, 1.6882339715957642, 0.0633319839835167, -0.5760657787322998, 0.005010581575334072, -0.671747088432312, -0.25466790795326233, -0.9732089042663574, 0.2485978752374649, -0.08954402059316635, -0.04386177659034729, -0.08873418718576431, 1.595923900604248, -0.9669590592384338, -2.1480815410614014, 0.1900404542684555, 0.22655938565731049, -0.2712012529373169, 0.01774066686630249, 1.7301404476165771, 0.5892680883407593, 1.383470058441162, 1.397810459136963, 0.929836630821228, -0.5929279923439026, -1.156711459159851, 0.8172399997711182, 0.9171524047851562, -1.3993682861328125, 0.8803480863571167, -0.24359603226184845, -0.5041109323501587, 0.5979090929031372, 1.3169082403182983, 0.5531110763549805, -1.9760558605194092, 0.894767701625824, -1.058482050895691, 0.8283146023750305, 0.7197646498680115, 0.7185285687446594, 0.25446489453315735, 0.9480339884757996, -1.2233508825302124, -1.1666533946990967, -0.6215291619300842, -0.6825792789459229, 1.9964945316314697, -0.3163243234157562, 0.4616781175136566, -0.19782774150371552, -1.255709171295166, -0.026298046112060547, 0.7382723093032837, 0.29133158922195435, -0.4249456226825714, 0.8035914301872253, -0.6319945454597473, -0.9873574376106262, -1.3117884397506714, -0.4433801770210266, -1.064483880996704, -0.9656195640563965, 1.0461715459823608, 0.7819143533706665, 0.3428860008716583, 1.8259727954864502, 0.642905592918396, 0.28599458932876587, -2.5699515342712402, 0.9083846211433411, 0.34358006715774536, -0.1275034248828888, 0.8240265846252441, 0.2815369963645935, 1.0996177196502686, -0.054998185485601425, 0.663957953453064, -2.317692518234253, 2.2301902770996094, -0.20427708327770233, 0.7479924559593201, -0.03770735114812851, -0.12299147993326187, 0.9838789701461792, 0.5339950323104858, 0.6095167994499207, -1.0257004499435425, 0.8113679885864258, -0.6054295897483826, 1.0774731636047363, 0.8844106197357178, -0.8916172981262207, 0.1788683980703354, 1.4292750358581543, 0.4385538399219513, -0.6225461959838867, -1.0254513025283813, -0.8334137201309204, 1.0392582416534424, 1.7782398462295532, -0.001743169967085123, 0.011220625601708889, 0.8497872948646545, 0.7626949548721313, -1.2005069255828857, 0.11643892526626587, -0.5126129984855652, -0.7363325953483582, 1.6709593534469604, 2.0951054096221924, -0.12891674041748047, -0.14682011306285858, -0.6551443338394165, -1.3784304857254028, 0.7829177379608154, -0.016780249774456024, -0.004652871750295162, 0.7442923784255981, -0.7196267247200012, 1.1777689456939697, 0.7274385690689087, 0.9415699243545532, 0.08518941700458527, 0.20374515652656555, 0.3532402813434601, -0.2848753333091736, -1.2356146574020386, -0.3835545480251312, -1.1042670011520386, -2.567582607269287, 0.37353983521461487, -0.24171386659145355, -1.3722827434539795, 0.10358533263206482, -1.0243358612060547, 0.8078116774559021, -0.6594932675361633, -1.194045066833496, -1.4453325271606445, 0.3006480932235718, -0.08996719121932983, 0.8695356845855713, -1.6651257276535034, -0.24048246443271637, 1.120582938194275, 0.9349530935287476, -0.6536492109298706, 0.9003618359565735, 0.2969471514225006, 0.9560858607292175, 0.7952395677566528, -0.40476229786872864, 0.6327993273735046, 0.11713328957557678, -1.3709721565246582, 0.5978963971138, 1.3030537366867065, 0.14179761707782745, 1.4592781066894531, -0.45448553562164307, 0.006299859844148159, 0.4580332338809967, -0.5319796800613403, -0.5964683890342712, -0.5723126530647278, 0.6828959584236145, -0.013083115220069885, -0.9456802606582642, -0.15110346674919128, -0.011659674346446991, -0.2601096034049988, 0.2294551283121109, -1.5384411811828613, -0.16238465905189514, -0.3812033236026764, -0.6290916800498962, -1.3190627098083496, -0.1017732173204422, 1.3684916496276855, -0.859092652797699, -0.19989140331745148, 0.5271735787391663, 0.28121230006217957, 0.5577439069747925, 0.6132935881614685, -0.7755064368247986, -0.23976178467273712, -0.19037653505802155, -0.3215605318546295, 0.3167901337146759, 1.2279545068740845, 0.019527576863765717, -0.9504874348640442, 0.6329277753829956, -0.339210569858551, 0.22094500064849854, 1.9040664434432983, 0.011131617240607738, -0.6936047077178955, 0.3620806634426117, -0.7438568472862244, 1.8232448101043701, 1.6272833347320557, 1.3493859767913818, -0.09231259673833847, -0.9228463768959045, 0.6427798271179199, -0.3260515332221985, -0.38138216733932495, 0.9334446787834167, 0.39806708693504333, -0.2479589879512787, -1.4111589193344116, 0.8087048530578613, 1.172680139541626, -0.8161857724189758, -0.7845970392227173, 0.06687641143798828, -0.8322240114212036, 1.197318196296692, 0.567795991897583, 0.1876465380191803, 0.17733940482139587, 1.5849008560180664, 0.728211522102356, -0.44903334975242615, 0.4228561222553253, 0.5366859436035156, -0.1547601819038391, -2.1454358100891113, -1.1041460037231445, 0.3006618022918701, -0.35625699162483215, -1.5822798013687134, 1.3917438983917236, -1.109709620475769, -0.9347190260887146, 0.5412353873252869, 0.09290436655282974, 1.4148674011230469, 0.2437177151441574, 1.7126532793045044, 2.0813143253326416, 0.854221761226654, 0.44111791253089905, 1.1718922853469849, -0.1840573251247406, -0.2721021771430969, 1.7547045946121216, -0.38901287317276, 0.6274775862693787, 0.9846977591514587, -0.48934119939804077, -1.2402762174606323, -0.7781250476837158, -1.3427337408065796, -0.7492443323135376, 1.1083897352218628, 0.03559911623597145, -1.0433536767959595, 0.2546002268791199, 1.5347338914871216, 0.18252107501029968, -0.1666029393672943, 0.7005612850189209, 0.3322710394859314, -0.6884878873825073, -0.11290930211544037, -0.9801447987556458, 0.5358548760414124, -0.2403978854417801, -0.3488035500049591, 0.2142668068408966, 0.511970579624176, 1.2795429229736328, 0.11233033239841461, 0.0733102560043335, 1.169647455215454, -1.3971366882324219, 1.3801487684249878, -0.7187628746032715, 0.28642937541007996, -2.3900492191314697, 1.4575330018997192, -0.861338198184967, 1.9513773918151855, -2.6439249515533447, 0.5504835247993469, -0.5823490619659424, -0.5404542088508606, 0.28840169310569763, -0.23916780948638916, 0.1075851321220398, -0.06369707733392715, -1.0773450136184692, -0.042689770460128784, -0.5971252918243408, 0.7068778872489929, 1.2613029479980469, 1.3502343893051147, -1.0390154123306274, -0.22465115785598755, -1.719718098640442, -0.11078952997922897, -0.7275450825691223, 0.25847625732421875, -1.9515451192855835, -0.14508703351020813, -2.003761053085327, -2.431550979614258, -1.177341103553772, -0.869615375995636, 1.0999343395233154, 0.19912604987621307, -0.8531667590141296, 1.2769604921340942, -0.37647056579589844, -1.6609117984771729, 1.0940546989440918, -2.23064923286438 ]
https://github.com/huggingface/datasets/issues/4268
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
Thanks a lot, @cakiki. @i-am-neo, I'm closing this issue for now because the dataset is not publicly available yet. Just stay tuned, as we will soon release all the BigScience open-license datasets.
## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1
778
32
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered ## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 Thanks a lot, @cakiki. @i-am-neo, I'm closing this issue for now because the dataset is not publicly available yet. Just stay tuned, as we will soon release all the BigScience open-license datasets.
[ -1.1990233659744263, -0.8957808613777161, -0.5553922057151794, 1.5229593515396118, -0.015718523412942886, -1.2148336172103882, 0.15458449721336365, -0.8494728207588196, 1.5672435760498047, -0.7683069109916687, 0.31513142585754395, -1.7033722400665283, -0.08553937077522278, -0.6861419677734375, -0.6468722224235535, -0.7637218832969666, -0.3360680937767029, -0.6797414422035217, 1.1117461919784546, 2.450892210006714, 1.2112962007522583, -1.315347671508789, 2.851334571838379, 0.6115646958351135, -0.26941946148872375, -0.9720991849899292, 0.4527497887611389, -0.06568319350481033, -1.2825795412063599, -0.42922186851501465, -0.9387310743331909, 0.05017196014523506, -0.6371411085128784, -0.41232192516326904, 0.05096922814846039, 0.5329998135566711, -0.18167755007743835, -0.4174066483974457, -0.5576015710830688, -0.793667733669281, 0.6091086268424988, -0.33032873272895813, 0.8631244897842407, -0.2409064620733261, 1.7331210374832153, -0.6495529413223267, 0.4314590394496918, 0.5862082242965698, 1.30210542678833, 0.20762120187282562, -0.001097826287150383, 0.5028837323188782, 0.26725056767463684, 0.07434693723917007, 0.6128495931625366, 1.3064788579940796, 0.5805995464324951, 0.5009498596191406, 0.6737491488456726, -2.2182724475860596, 1.293518304824829, -0.920720636844635, 0.2925782799720764, 1.2310538291931152, -0.9905564188957214, 0.4141044318675995, -1.8009095191955566, -0.1222124695777893, 0.4928274154663086, -2.294926166534424, 0.1536043882369995, -1.318913221359253, -0.46251168847084045, 0.9855093359947205, 0.41025060415267944, -1.250145673751831, 0.029059171676635742, -0.47390052676200867, 1.1276129484176636, 0.2969587743282318, 1.0294737815856934, -1.6223410367965698, -0.09914530813694, -0.19558541476726532, 0.16703881323337555, -1.2789340019226074, -1.6604217290878296, 0.5993474721908569, 0.6461816430091858, 0.6956180334091187, -0.11004123091697693, 1.0160374641418457, -1.04658043384552, 0.8239628672599792, -0.9994975328445435, -1.6967366933822632, -1.4060893058776855, -2.339139461517334, -2.243123769760132, 0.7989183068275452, -0.4648526608943939, -0.4781413972377777, 2.1037497520446777, -1.0253804922103882, -1.8868186473846436, 1.0843756198883057, 0.2941414713859558, -0.03012191131711006, 2.342768430709839, 0.23660911619663239, -0.8665853142738342, 0.5378608107566833, -0.7293978333473206, 0.8201204538345337, -0.28409671783447266, 1.3888059854507446, 0.4558120667934418, -0.9804372191429138, 1.5578992366790771, -0.35052916407585144, 0.5545902252197266, -0.685906708240509, -0.6187509298324585, -0.6915484070777893, 0.1970779448747635, 1.951901912689209, -0.2979552149772644, 1.5634640455245972, -0.29882121086120605, -1.636893630027771, -1.5309782028198242, 0.8478824496269226, 0.5087317824363708, -0.9192197918891907, 0.1446504145860672, -0.5450360178947449, 0.24452747404575348, 0.053815290331840515, 1.1786452531814575, 1.2443251609802246, 0.6879216432571411, -0.2676737904548645, -0.8254741430282593, 0.2122209519147873, -0.0062087224796414375, -0.5367746949195862, -1.747894287109375, -0.313602089881897, 0.19167469441890717, 0.6131377816200256, -1.1519161462783813, 1.8285942077636719, 0.9303130507469177, 1.9551851749420166, 1.0595029592514038, -0.2817258834838867, 1.5525462627410889, 0.05714356154203415, 1.8422547578811646, -0.4603600800037384, 0.5134714245796204, -0.3686843812465668, -1.171957015991211, 0.7633115649223328, -0.36045190691947937, -2.0872962474823, -0.6780816912651062, -0.7784592509269714, -0.11860138922929764, -0.8466216325759888, 0.9245932102203369, -0.33157363533973694, -1.4339882135391235, 0.09017979353666306, -0.7875352501869202, 0.2495417445898056, -1.2211334705352783, 0.24530352652072906, 0.717534065246582, -0.7346965670585632, 0.03612159565091133, -0.25663042068481445, -1.2890503406524658, -0.4853668510913849, 0.45049548149108887, 1.8471990823745728, -0.7261180281639099, 0.9900142550468445, 1.0024882555007935, -0.6670195460319519, 0.1060299500823021, 0.2264121025800705, -0.3362750709056854, 0.9342957735061646, -1.102738380432129, -0.37797820568084717, 1.2013319730758667, -0.28147903084754944, -0.6127007603645325, 1.4672471284866333, 0.7681050896644592, -1.0525462627410889, -0.34989917278289795, -0.15894265472888947, -0.8627018332481384, -0.03181831166148186, -1.7171821594238281, -0.24300023913383484, 0.44789114594459534, -1.4803333282470703, -0.4384573698043823, -0.15211664140224457, 1.3633612394332886, -0.07235762476921082, 1.4288606643676758, -0.3084636330604553, -0.03825861215591431, -0.3821871876716614, -0.4779393970966339, 0.14526928961277008, -0.20483794808387756, -0.5818444490432739, 0.14891736209392548, -0.7849331498146057, 0.2591698467731476, 1.5681648254394531, 0.35406753420829773, 0.0697990283370018, 0.5815097093582153, 1.2038798332214355, 0.36703115701675415, -0.11445920169353485, -0.7925378084182739, -1.6329528093338013, 2.02340030670166, -1.4983083009719849, 1.9453556537628174, 0.7575538158416748, -0.10441303253173828, -1.7417433261871338, -1.9448304176330566, 1.3298697471618652, 1.125482201576233, 2.38096022605896, 0.43533214926719666, 0.5487986207008362, -0.8407365083694458, -0.6753260493278503, 0.36836856603622437, -0.8810439705848694, -0.74672532081604, 0.1786981076002121, 2.347870111465454, 1.8133455514907837, -0.4719218909740448, -0.23155653476715088, -0.8736153244972229, 1.328147053718567, -0.3395238220691681, 0.27178388833999634, 1.9501968622207642, -0.29173585772514343, -1.049621820449829, 1.2484768629074097, -2.375221014022827, 0.2973145544528961, 2.0918662548065186, 0.27064037322998047, 0.10642877221107483, -1.3494131565093994, -0.609524667263031, -0.2606731951236725, -0.44221338629722595, -1.2541550397872925, 0.6076463460922241, -0.21926547586917877, -0.8362693786621094, -1.2960540056228638, 0.08073918521404266, -1.0594671964645386, -1.7724499702453613, 0.3244912326335907, 1.8467333316802979, 2.114509105682373, -0.7292345762252808, 1.4205925464630127, -0.3401484191417694, 0.2715861201286316, 1.201985478401184, 1.3624999523162842, 3.1717233657836914, 1.9561614990234375, -1.2548938989639282, 0.6964289546012878, -0.14586450159549713, -0.5780549049377441, 1.14557683467865, -1.1724753379821777, 1.1254886388778687, -0.20821994543075562, -1.3756864070892334, -1.2222156524658203, 1.0210504531860352, 0.4574700593948364, -0.100543312728405, -0.549275279045105, 1.2487667798995972, 0.12168349325656891, 1.3298892974853516, 0.5514640212059021, -0.39989593625068665, 0.5250030755996704, -0.3808242976665497, -0.5903235673904419, 1.5501818656921387, 0.119384765625, -1.518349289894104, -2.2669765949249268, -0.1322677582502365, -0.9391239881515503, 0.06479042768478394, -0.7222344875335693, -1.014644742012024, 1.5700657367706299, 0.41049304604530334, -1.2601460218429565, -0.26389482617378235, -0.3647613525390625, -0.5088456869125366, 2.6437065601348877, -1.3095022439956665, -0.23028209805488586, -0.9620513319969177, -0.5507001280784607, 1.6673078536987305, -1.2663978338241577, -0.2734106183052063, -1.0534933805465698, -0.644216775894165, -1.2473620176315308, -0.5498023629188538, -0.044060107320547104, -0.9242474436759949, 0.8164928555488586, 0.06692255288362503, -1.1742439270019531, -0.1878969520330429, -0.9265879988670349, 1.109756350517273, -0.2993927597999573, 0.09086081385612488, 1.793633222579956, 0.26392725110054016, -0.48340898752212524, 0.8701772093772888, 1.2394999265670776, 0.6206048727035522, -0.5378766655921936, 0.11632989346981049, -0.6064546704292297, 0.3989616632461548, -1.4147615432739258, 0.26076793670654297, -2.936448574066162, 0.7365278005599976, -0.05429968982934952, -0.1440046727657318, -0.1868789792060852, -1.4278122186660767, 0.9558550715446472, 2.520159959793091, -1.2327489852905273, 0.5139995217323303, 0.44286611676216125, 1.1781368255615234, -1.5993006229400635, 0.1240755170583725, -0.5785102844238281, 2.0920093059539795, 0.139259472489357, 1.259838581085205, -0.42407795786857605, -2.2500598430633545, 0.6185932755470276, -1.2578574419021606, -0.9888980984687805, 0.7330723404884338, -0.9692687392234802, 0.26003119349479675, -1.3213480710983276, -0.22342388331890106, -0.9266787171363831, -1.127966046333313, 0.5955075025558472, 0.12524005770683289, 0.41234803199768066, -0.5149561166763306, 0.24099253118038177, -2.207242488861084, -1.3324466943740845, -0.21284762024879456, -1.0155682563781738, 0.5166295170783997, -0.48472172021865845, 0.6111303567886353, -0.16556072235107422, 0.03194214403629303, 0.32813915610313416, 1.4405815601348877, 3.270660638809204, 0.15515123307704926, 0.2536108195781708, -0.28056800365448, -0.9296516180038452, 1.434804916381836, 0.872495174407959, -0.3052152693271637, -0.5932182669639587, -0.9552929401397705, 1.4172828197479248, 1.881219506263733, 1.0554670095443726, 0.07191967964172363, -0.875927746295929, -0.8053994178771973, -0.028934244066476822, 0.16536322236061096, 0.5627651810646057, 0.8936094045639038, 0.08642784506082535, 0.19132821261882782, 1.2736421823501587, 1.0509980916976929, -0.30316317081451416, 0.4847984313964844, -0.9123693108558655, -0.4259227216243744, 0.35155344009399414, 0.16827689111232758, -0.08528018742799759, 0.4063124358654022, -0.9702907800674438, -0.24753254652023315, -0.30992329120635986, -0.8751206994056702, -0.8303424119949341, -0.3221437335014343, -0.38367152214050293, 1.6882339715957642, 0.0633319839835167, -0.5760657787322998, 0.005010581575334072, -0.671747088432312, -0.25466790795326233, -0.9732089042663574, 0.2485978752374649, -0.08954402059316635, -0.04386177659034729, -0.08873418718576431, 1.595923900604248, -0.9669590592384338, -2.1480815410614014, 0.1900404542684555, 0.22655938565731049, -0.2712012529373169, 0.01774066686630249, 1.7301404476165771, 0.5892680883407593, 1.383470058441162, 1.397810459136963, 0.929836630821228, -0.5929279923439026, -1.156711459159851, 0.8172399997711182, 0.9171524047851562, -1.3993682861328125, 0.8803480863571167, -0.24359603226184845, -0.5041109323501587, 0.5979090929031372, 1.3169082403182983, 0.5531110763549805, -1.9760558605194092, 0.894767701625824, -1.058482050895691, 0.8283146023750305, 0.7197646498680115, 0.7185285687446594, 0.25446489453315735, 0.9480339884757996, -1.2233508825302124, -1.1666533946990967, -0.6215291619300842, -0.6825792789459229, 1.9964945316314697, -0.3163243234157562, 0.4616781175136566, -0.19782774150371552, -1.255709171295166, -0.026298046112060547, 0.7382723093032837, 0.29133158922195435, -0.4249456226825714, 0.8035914301872253, -0.6319945454597473, -0.9873574376106262, -1.3117884397506714, -0.4433801770210266, -1.064483880996704, -0.9656195640563965, 1.0461715459823608, 0.7819143533706665, 0.3428860008716583, 1.8259727954864502, 0.642905592918396, 0.28599458932876587, -2.5699515342712402, 0.9083846211433411, 0.34358006715774536, -0.1275034248828888, 0.8240265846252441, 0.2815369963645935, 1.0996177196502686, -0.054998185485601425, 0.663957953453064, -2.317692518234253, 2.2301902770996094, -0.20427708327770233, 0.7479924559593201, -0.03770735114812851, -0.12299147993326187, 0.9838789701461792, 0.5339950323104858, 0.6095167994499207, -1.0257004499435425, 0.8113679885864258, -0.6054295897483826, 1.0774731636047363, 0.8844106197357178, -0.8916172981262207, 0.1788683980703354, 1.4292750358581543, 0.4385538399219513, -0.6225461959838867, -1.0254513025283813, -0.8334137201309204, 1.0392582416534424, 1.7782398462295532, -0.001743169967085123, 0.011220625601708889, 0.8497872948646545, 0.7626949548721313, -1.2005069255828857, 0.11643892526626587, -0.5126129984855652, -0.7363325953483582, 1.6709593534469604, 2.0951054096221924, -0.12891674041748047, -0.14682011306285858, -0.6551443338394165, -1.3784304857254028, 0.7829177379608154, -0.016780249774456024, -0.004652871750295162, 0.7442923784255981, -0.7196267247200012, 1.1777689456939697, 0.7274385690689087, 0.9415699243545532, 0.08518941700458527, 0.20374515652656555, 0.3532402813434601, -0.2848753333091736, -1.2356146574020386, -0.3835545480251312, -1.1042670011520386, -2.567582607269287, 0.37353983521461487, -0.24171386659145355, -1.3722827434539795, 0.10358533263206482, -1.0243358612060547, 0.8078116774559021, -0.6594932675361633, -1.194045066833496, -1.4453325271606445, 0.3006480932235718, -0.08996719121932983, 0.8695356845855713, -1.6651257276535034, -0.24048246443271637, 1.120582938194275, 0.9349530935287476, -0.6536492109298706, 0.9003618359565735, 0.2969471514225006, 0.9560858607292175, 0.7952395677566528, -0.40476229786872864, 0.6327993273735046, 0.11713328957557678, -1.3709721565246582, 0.5978963971138, 1.3030537366867065, 0.14179761707782745, 1.4592781066894531, -0.45448553562164307, 0.006299859844148159, 0.4580332338809967, -0.5319796800613403, -0.5964683890342712, -0.5723126530647278, 0.6828959584236145, -0.013083115220069885, -0.9456802606582642, -0.15110346674919128, -0.011659674346446991, -0.2601096034049988, 0.2294551283121109, -1.5384411811828613, -0.16238465905189514, -0.3812033236026764, -0.6290916800498962, -1.3190627098083496, -0.1017732173204422, 1.3684916496276855, -0.859092652797699, -0.19989140331745148, 0.5271735787391663, 0.28121230006217957, 0.5577439069747925, 0.6132935881614685, -0.7755064368247986, -0.23976178467273712, -0.19037653505802155, -0.3215605318546295, 0.3167901337146759, 1.2279545068740845, 0.019527576863765717, -0.9504874348640442, 0.6329277753829956, -0.339210569858551, 0.22094500064849854, 1.9040664434432983, 0.011131617240607738, -0.6936047077178955, 0.3620806634426117, -0.7438568472862244, 1.8232448101043701, 1.6272833347320557, 1.3493859767913818, -0.09231259673833847, -0.9228463768959045, 0.6427798271179199, -0.3260515332221985, -0.38138216733932495, 0.9334446787834167, 0.39806708693504333, -0.2479589879512787, -1.4111589193344116, 0.8087048530578613, 1.172680139541626, -0.8161857724189758, -0.7845970392227173, 0.06687641143798828, -0.8322240114212036, 1.197318196296692, 0.567795991897583, 0.1876465380191803, 0.17733940482139587, 1.5849008560180664, 0.728211522102356, -0.44903334975242615, 0.4228561222553253, 0.5366859436035156, -0.1547601819038391, -2.1454358100891113, -1.1041460037231445, 0.3006618022918701, -0.35625699162483215, -1.5822798013687134, 1.3917438983917236, -1.109709620475769, -0.9347190260887146, 0.5412353873252869, 0.09290436655282974, 1.4148674011230469, 0.2437177151441574, 1.7126532793045044, 2.0813143253326416, 0.854221761226654, 0.44111791253089905, 1.1718922853469849, -0.1840573251247406, -0.2721021771430969, 1.7547045946121216, -0.38901287317276, 0.6274775862693787, 0.9846977591514587, -0.48934119939804077, -1.2402762174606323, -0.7781250476837158, -1.3427337408065796, -0.7492443323135376, 1.1083897352218628, 0.03559911623597145, -1.0433536767959595, 0.2546002268791199, 1.5347338914871216, 0.18252107501029968, -0.1666029393672943, 0.7005612850189209, 0.3322710394859314, -0.6884878873825073, -0.11290930211544037, -0.9801447987556458, 0.5358548760414124, -0.2403978854417801, -0.3488035500049591, 0.2142668068408966, 0.511970579624176, 1.2795429229736328, 0.11233033239841461, 0.0733102560043335, 1.169647455215454, -1.3971366882324219, 1.3801487684249878, -0.7187628746032715, 0.28642937541007996, -2.3900492191314697, 1.4575330018997192, -0.861338198184967, 1.9513773918151855, -2.6439249515533447, 0.5504835247993469, -0.5823490619659424, -0.5404542088508606, 0.28840169310569763, -0.23916780948638916, 0.1075851321220398, -0.06369707733392715, -1.0773450136184692, -0.042689770460128784, -0.5971252918243408, 0.7068778872489929, 1.2613029479980469, 1.3502343893051147, -1.0390154123306274, -0.22465115785598755, -1.719718098640442, -0.11078952997922897, -0.7275450825691223, 0.25847625732421875, -1.9515451192855835, -0.14508703351020813, -2.003761053085327, -2.431550979614258, -1.177341103553772, -0.869615375995636, 1.0999343395233154, 0.19912604987621307, -0.8531667590141296, 1.2769604921340942, -0.37647056579589844, -1.6609117984771729, 1.0940546989440918, -2.23064923286438 ]
https://github.com/huggingface/datasets/issues/4268
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
Thanks for letting me know, @albertvillanova @cakiki. Any chance of having a subset alpha version in the meantime? I only need two dicts out of wiktionary: 1) phoneme(as key): word, and 2) word(as key): its phonemes. Would like to use it for a mini-poc [Robust ASR](https://github.com/huggingface/transformers/issues/13162#issuecomment-1096881290) decoding, cc @patrickvonplaten. (Patrick, possible to email you so as not to litter github with comments? I have some observations after experiments training hubert on some YT AMI-like data (11.44% wer). Also wonder if a robust ASR is on your/HG's roadmap). Thanks!
## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1
778
88
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered ## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 Thanks for letting me know, @albertvillanova @cakiki. Any chance of having a subset alpha version in the meantime? I only need two dicts out of wiktionary: 1) phoneme(as key): word, and 2) word(as key): its phonemes. Would like to use it for a mini-poc [Robust ASR](https://github.com/huggingface/transformers/issues/13162#issuecomment-1096881290) decoding, cc @patrickvonplaten. (Patrick, possible to email you so as not to litter github with comments? I have some observations after experiments training hubert on some YT AMI-like data (11.44% wer). Also wonder if a robust ASR is on your/HG's roadmap). Thanks!
[ -1.1990233659744263, -0.8957808613777161, -0.5553922057151794, 1.5229593515396118, -0.015718523412942886, -1.2148336172103882, 0.15458449721336365, -0.8494728207588196, 1.5672435760498047, -0.7683069109916687, 0.31513142585754395, -1.7033722400665283, -0.08553937077522278, -0.6861419677734375, -0.6468722224235535, -0.7637218832969666, -0.3360680937767029, -0.6797414422035217, 1.1117461919784546, 2.450892210006714, 1.2112962007522583, -1.315347671508789, 2.851334571838379, 0.6115646958351135, -0.26941946148872375, -0.9720991849899292, 0.4527497887611389, -0.06568319350481033, -1.2825795412063599, -0.42922186851501465, -0.9387310743331909, 0.05017196014523506, -0.6371411085128784, -0.41232192516326904, 0.05096922814846039, 0.5329998135566711, -0.18167755007743835, -0.4174066483974457, -0.5576015710830688, -0.793667733669281, 0.6091086268424988, -0.33032873272895813, 0.8631244897842407, -0.2409064620733261, 1.7331210374832153, -0.6495529413223267, 0.4314590394496918, 0.5862082242965698, 1.30210542678833, 0.20762120187282562, -0.001097826287150383, 0.5028837323188782, 0.26725056767463684, 0.07434693723917007, 0.6128495931625366, 1.3064788579940796, 0.5805995464324951, 0.5009498596191406, 0.6737491488456726, -2.2182724475860596, 1.293518304824829, -0.920720636844635, 0.2925782799720764, 1.2310538291931152, -0.9905564188957214, 0.4141044318675995, -1.8009095191955566, -0.1222124695777893, 0.4928274154663086, -2.294926166534424, 0.1536043882369995, -1.318913221359253, -0.46251168847084045, 0.9855093359947205, 0.41025060415267944, -1.250145673751831, 0.029059171676635742, -0.47390052676200867, 1.1276129484176636, 0.2969587743282318, 1.0294737815856934, -1.6223410367965698, -0.09914530813694, -0.19558541476726532, 0.16703881323337555, -1.2789340019226074, -1.6604217290878296, 0.5993474721908569, 0.6461816430091858, 0.6956180334091187, -0.11004123091697693, 1.0160374641418457, -1.04658043384552, 0.8239628672599792, -0.9994975328445435, -1.6967366933822632, -1.4060893058776855, -2.339139461517334, -2.243123769760132, 0.7989183068275452, -0.4648526608943939, -0.4781413972377777, 2.1037497520446777, -1.0253804922103882, -1.8868186473846436, 1.0843756198883057, 0.2941414713859558, -0.03012191131711006, 2.342768430709839, 0.23660911619663239, -0.8665853142738342, 0.5378608107566833, -0.7293978333473206, 0.8201204538345337, -0.28409671783447266, 1.3888059854507446, 0.4558120667934418, -0.9804372191429138, 1.5578992366790771, -0.35052916407585144, 0.5545902252197266, -0.685906708240509, -0.6187509298324585, -0.6915484070777893, 0.1970779448747635, 1.951901912689209, -0.2979552149772644, 1.5634640455245972, -0.29882121086120605, -1.636893630027771, -1.5309782028198242, 0.8478824496269226, 0.5087317824363708, -0.9192197918891907, 0.1446504145860672, -0.5450360178947449, 0.24452747404575348, 0.053815290331840515, 1.1786452531814575, 1.2443251609802246, 0.6879216432571411, -0.2676737904548645, -0.8254741430282593, 0.2122209519147873, -0.0062087224796414375, -0.5367746949195862, -1.747894287109375, -0.313602089881897, 0.19167469441890717, 0.6131377816200256, -1.1519161462783813, 1.8285942077636719, 0.9303130507469177, 1.9551851749420166, 1.0595029592514038, -0.2817258834838867, 1.5525462627410889, 0.05714356154203415, 1.8422547578811646, -0.4603600800037384, 0.5134714245796204, -0.3686843812465668, -1.171957015991211, 0.7633115649223328, -0.36045190691947937, -2.0872962474823, -0.6780816912651062, -0.7784592509269714, -0.11860138922929764, -0.8466216325759888, 0.9245932102203369, -0.33157363533973694, -1.4339882135391235, 0.09017979353666306, -0.7875352501869202, 0.2495417445898056, -1.2211334705352783, 0.24530352652072906, 0.717534065246582, -0.7346965670585632, 0.03612159565091133, -0.25663042068481445, -1.2890503406524658, -0.4853668510913849, 0.45049548149108887, 1.8471990823745728, -0.7261180281639099, 0.9900142550468445, 1.0024882555007935, -0.6670195460319519, 0.1060299500823021, 0.2264121025800705, -0.3362750709056854, 0.9342957735061646, -1.102738380432129, -0.37797820568084717, 1.2013319730758667, -0.28147903084754944, -0.6127007603645325, 1.4672471284866333, 0.7681050896644592, -1.0525462627410889, -0.34989917278289795, -0.15894265472888947, -0.8627018332481384, -0.03181831166148186, -1.7171821594238281, -0.24300023913383484, 0.44789114594459534, -1.4803333282470703, -0.4384573698043823, -0.15211664140224457, 1.3633612394332886, -0.07235762476921082, 1.4288606643676758, -0.3084636330604553, -0.03825861215591431, -0.3821871876716614, -0.4779393970966339, 0.14526928961277008, -0.20483794808387756, -0.5818444490432739, 0.14891736209392548, -0.7849331498146057, 0.2591698467731476, 1.5681648254394531, 0.35406753420829773, 0.0697990283370018, 0.5815097093582153, 1.2038798332214355, 0.36703115701675415, -0.11445920169353485, -0.7925378084182739, -1.6329528093338013, 2.02340030670166, -1.4983083009719849, 1.9453556537628174, 0.7575538158416748, -0.10441303253173828, -1.7417433261871338, -1.9448304176330566, 1.3298697471618652, 1.125482201576233, 2.38096022605896, 0.43533214926719666, 0.5487986207008362, -0.8407365083694458, -0.6753260493278503, 0.36836856603622437, -0.8810439705848694, -0.74672532081604, 0.1786981076002121, 2.347870111465454, 1.8133455514907837, -0.4719218909740448, -0.23155653476715088, -0.8736153244972229, 1.328147053718567, -0.3395238220691681, 0.27178388833999634, 1.9501968622207642, -0.29173585772514343, -1.049621820449829, 1.2484768629074097, -2.375221014022827, 0.2973145544528961, 2.0918662548065186, 0.27064037322998047, 0.10642877221107483, -1.3494131565093994, -0.609524667263031, -0.2606731951236725, -0.44221338629722595, -1.2541550397872925, 0.6076463460922241, -0.21926547586917877, -0.8362693786621094, -1.2960540056228638, 0.08073918521404266, -1.0594671964645386, -1.7724499702453613, 0.3244912326335907, 1.8467333316802979, 2.114509105682373, -0.7292345762252808, 1.4205925464630127, -0.3401484191417694, 0.2715861201286316, 1.201985478401184, 1.3624999523162842, 3.1717233657836914, 1.9561614990234375, -1.2548938989639282, 0.6964289546012878, -0.14586450159549713, -0.5780549049377441, 1.14557683467865, -1.1724753379821777, 1.1254886388778687, -0.20821994543075562, -1.3756864070892334, -1.2222156524658203, 1.0210504531860352, 0.4574700593948364, -0.100543312728405, -0.549275279045105, 1.2487667798995972, 0.12168349325656891, 1.3298892974853516, 0.5514640212059021, -0.39989593625068665, 0.5250030755996704, -0.3808242976665497, -0.5903235673904419, 1.5501818656921387, 0.119384765625, -1.518349289894104, -2.2669765949249268, -0.1322677582502365, -0.9391239881515503, 0.06479042768478394, -0.7222344875335693, -1.014644742012024, 1.5700657367706299, 0.41049304604530334, -1.2601460218429565, -0.26389482617378235, -0.3647613525390625, -0.5088456869125366, 2.6437065601348877, -1.3095022439956665, -0.23028209805488586, -0.9620513319969177, -0.5507001280784607, 1.6673078536987305, -1.2663978338241577, -0.2734106183052063, -1.0534933805465698, -0.644216775894165, -1.2473620176315308, -0.5498023629188538, -0.044060107320547104, -0.9242474436759949, 0.8164928555488586, 0.06692255288362503, -1.1742439270019531, -0.1878969520330429, -0.9265879988670349, 1.109756350517273, -0.2993927597999573, 0.09086081385612488, 1.793633222579956, 0.26392725110054016, -0.48340898752212524, 0.8701772093772888, 1.2394999265670776, 0.6206048727035522, -0.5378766655921936, 0.11632989346981049, -0.6064546704292297, 0.3989616632461548, -1.4147615432739258, 0.26076793670654297, -2.936448574066162, 0.7365278005599976, -0.05429968982934952, -0.1440046727657318, -0.1868789792060852, -1.4278122186660767, 0.9558550715446472, 2.520159959793091, -1.2327489852905273, 0.5139995217323303, 0.44286611676216125, 1.1781368255615234, -1.5993006229400635, 0.1240755170583725, -0.5785102844238281, 2.0920093059539795, 0.139259472489357, 1.259838581085205, -0.42407795786857605, -2.2500598430633545, 0.6185932755470276, -1.2578574419021606, -0.9888980984687805, 0.7330723404884338, -0.9692687392234802, 0.26003119349479675, -1.3213480710983276, -0.22342388331890106, -0.9266787171363831, -1.127966046333313, 0.5955075025558472, 0.12524005770683289, 0.41234803199768066, -0.5149561166763306, 0.24099253118038177, -2.207242488861084, -1.3324466943740845, -0.21284762024879456, -1.0155682563781738, 0.5166295170783997, -0.48472172021865845, 0.6111303567886353, -0.16556072235107422, 0.03194214403629303, 0.32813915610313416, 1.4405815601348877, 3.270660638809204, 0.15515123307704926, 0.2536108195781708, -0.28056800365448, -0.9296516180038452, 1.434804916381836, 0.872495174407959, -0.3052152693271637, -0.5932182669639587, -0.9552929401397705, 1.4172828197479248, 1.881219506263733, 1.0554670095443726, 0.07191967964172363, -0.875927746295929, -0.8053994178771973, -0.028934244066476822, 0.16536322236061096, 0.5627651810646057, 0.8936094045639038, 0.08642784506082535, 0.19132821261882782, 1.2736421823501587, 1.0509980916976929, -0.30316317081451416, 0.4847984313964844, -0.9123693108558655, -0.4259227216243744, 0.35155344009399414, 0.16827689111232758, -0.08528018742799759, 0.4063124358654022, -0.9702907800674438, -0.24753254652023315, -0.30992329120635986, -0.8751206994056702, -0.8303424119949341, -0.3221437335014343, -0.38367152214050293, 1.6882339715957642, 0.0633319839835167, -0.5760657787322998, 0.005010581575334072, -0.671747088432312, -0.25466790795326233, -0.9732089042663574, 0.2485978752374649, -0.08954402059316635, -0.04386177659034729, -0.08873418718576431, 1.595923900604248, -0.9669590592384338, -2.1480815410614014, 0.1900404542684555, 0.22655938565731049, -0.2712012529373169, 0.01774066686630249, 1.7301404476165771, 0.5892680883407593, 1.383470058441162, 1.397810459136963, 0.929836630821228, -0.5929279923439026, -1.156711459159851, 0.8172399997711182, 0.9171524047851562, -1.3993682861328125, 0.8803480863571167, -0.24359603226184845, -0.5041109323501587, 0.5979090929031372, 1.3169082403182983, 0.5531110763549805, -1.9760558605194092, 0.894767701625824, -1.058482050895691, 0.8283146023750305, 0.7197646498680115, 0.7185285687446594, 0.25446489453315735, 0.9480339884757996, -1.2233508825302124, -1.1666533946990967, -0.6215291619300842, -0.6825792789459229, 1.9964945316314697, -0.3163243234157562, 0.4616781175136566, -0.19782774150371552, -1.255709171295166, -0.026298046112060547, 0.7382723093032837, 0.29133158922195435, -0.4249456226825714, 0.8035914301872253, -0.6319945454597473, -0.9873574376106262, -1.3117884397506714, -0.4433801770210266, -1.064483880996704, -0.9656195640563965, 1.0461715459823608, 0.7819143533706665, 0.3428860008716583, 1.8259727954864502, 0.642905592918396, 0.28599458932876587, -2.5699515342712402, 0.9083846211433411, 0.34358006715774536, -0.1275034248828888, 0.8240265846252441, 0.2815369963645935, 1.0996177196502686, -0.054998185485601425, 0.663957953453064, -2.317692518234253, 2.2301902770996094, -0.20427708327770233, 0.7479924559593201, -0.03770735114812851, -0.12299147993326187, 0.9838789701461792, 0.5339950323104858, 0.6095167994499207, -1.0257004499435425, 0.8113679885864258, -0.6054295897483826, 1.0774731636047363, 0.8844106197357178, -0.8916172981262207, 0.1788683980703354, 1.4292750358581543, 0.4385538399219513, -0.6225461959838867, -1.0254513025283813, -0.8334137201309204, 1.0392582416534424, 1.7782398462295532, -0.001743169967085123, 0.011220625601708889, 0.8497872948646545, 0.7626949548721313, -1.2005069255828857, 0.11643892526626587, -0.5126129984855652, -0.7363325953483582, 1.6709593534469604, 2.0951054096221924, -0.12891674041748047, -0.14682011306285858, -0.6551443338394165, -1.3784304857254028, 0.7829177379608154, -0.016780249774456024, -0.004652871750295162, 0.7442923784255981, -0.7196267247200012, 1.1777689456939697, 0.7274385690689087, 0.9415699243545532, 0.08518941700458527, 0.20374515652656555, 0.3532402813434601, -0.2848753333091736, -1.2356146574020386, -0.3835545480251312, -1.1042670011520386, -2.567582607269287, 0.37353983521461487, -0.24171386659145355, -1.3722827434539795, 0.10358533263206482, -1.0243358612060547, 0.8078116774559021, -0.6594932675361633, -1.194045066833496, -1.4453325271606445, 0.3006480932235718, -0.08996719121932983, 0.8695356845855713, -1.6651257276535034, -0.24048246443271637, 1.120582938194275, 0.9349530935287476, -0.6536492109298706, 0.9003618359565735, 0.2969471514225006, 0.9560858607292175, 0.7952395677566528, -0.40476229786872864, 0.6327993273735046, 0.11713328957557678, -1.3709721565246582, 0.5978963971138, 1.3030537366867065, 0.14179761707782745, 1.4592781066894531, -0.45448553562164307, 0.006299859844148159, 0.4580332338809967, -0.5319796800613403, -0.5964683890342712, -0.5723126530647278, 0.6828959584236145, -0.013083115220069885, -0.9456802606582642, -0.15110346674919128, -0.011659674346446991, -0.2601096034049988, 0.2294551283121109, -1.5384411811828613, -0.16238465905189514, -0.3812033236026764, -0.6290916800498962, -1.3190627098083496, -0.1017732173204422, 1.3684916496276855, -0.859092652797699, -0.19989140331745148, 0.5271735787391663, 0.28121230006217957, 0.5577439069747925, 0.6132935881614685, -0.7755064368247986, -0.23976178467273712, -0.19037653505802155, -0.3215605318546295, 0.3167901337146759, 1.2279545068740845, 0.019527576863765717, -0.9504874348640442, 0.6329277753829956, -0.339210569858551, 0.22094500064849854, 1.9040664434432983, 0.011131617240607738, -0.6936047077178955, 0.3620806634426117, -0.7438568472862244, 1.8232448101043701, 1.6272833347320557, 1.3493859767913818, -0.09231259673833847, -0.9228463768959045, 0.6427798271179199, -0.3260515332221985, -0.38138216733932495, 0.9334446787834167, 0.39806708693504333, -0.2479589879512787, -1.4111589193344116, 0.8087048530578613, 1.172680139541626, -0.8161857724189758, -0.7845970392227173, 0.06687641143798828, -0.8322240114212036, 1.197318196296692, 0.567795991897583, 0.1876465380191803, 0.17733940482139587, 1.5849008560180664, 0.728211522102356, -0.44903334975242615, 0.4228561222553253, 0.5366859436035156, -0.1547601819038391, -2.1454358100891113, -1.1041460037231445, 0.3006618022918701, -0.35625699162483215, -1.5822798013687134, 1.3917438983917236, -1.109709620475769, -0.9347190260887146, 0.5412353873252869, 0.09290436655282974, 1.4148674011230469, 0.2437177151441574, 1.7126532793045044, 2.0813143253326416, 0.854221761226654, 0.44111791253089905, 1.1718922853469849, -0.1840573251247406, -0.2721021771430969, 1.7547045946121216, -0.38901287317276, 0.6274775862693787, 0.9846977591514587, -0.48934119939804077, -1.2402762174606323, -0.7781250476837158, -1.3427337408065796, -0.7492443323135376, 1.1083897352218628, 0.03559911623597145, -1.0433536767959595, 0.2546002268791199, 1.5347338914871216, 0.18252107501029968, -0.1666029393672943, 0.7005612850189209, 0.3322710394859314, -0.6884878873825073, -0.11290930211544037, -0.9801447987556458, 0.5358548760414124, -0.2403978854417801, -0.3488035500049591, 0.2142668068408966, 0.511970579624176, 1.2795429229736328, 0.11233033239841461, 0.0733102560043335, 1.169647455215454, -1.3971366882324219, 1.3801487684249878, -0.7187628746032715, 0.28642937541007996, -2.3900492191314697, 1.4575330018997192, -0.861338198184967, 1.9513773918151855, -2.6439249515533447, 0.5504835247993469, -0.5823490619659424, -0.5404542088508606, 0.28840169310569763, -0.23916780948638916, 0.1075851321220398, -0.06369707733392715, -1.0773450136184692, -0.042689770460128784, -0.5971252918243408, 0.7068778872489929, 1.2613029479980469, 1.3502343893051147, -1.0390154123306274, -0.22465115785598755, -1.719718098640442, -0.11078952997922897, -0.7275450825691223, 0.25847625732421875, -1.9515451192855835, -0.14508703351020813, -2.003761053085327, -2.431550979614258, -1.177341103553772, -0.869615375995636, 1.0999343395233154, 0.19912604987621307, -0.8531667590141296, 1.2769604921340942, -0.37647056579589844, -1.6609117984771729, 1.0940546989440918, -2.23064923286438 ]
https://github.com/huggingface/datasets/issues/4268
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
Hey @i-am-neo, Cool to hear that you're working on Robust ASR! Feel free to drop me a mail :-)
## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1
778
19
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered ## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 Hey @i-am-neo, Cool to hear that you're working on Robust ASR! Feel free to drop me a mail :-)
[ -1.1990233659744263, -0.8957808613777161, -0.5553922057151794, 1.5229593515396118, -0.015718523412942886, -1.2148336172103882, 0.15458449721336365, -0.8494728207588196, 1.5672435760498047, -0.7683069109916687, 0.31513142585754395, -1.7033722400665283, -0.08553937077522278, -0.6861419677734375, -0.6468722224235535, -0.7637218832969666, -0.3360680937767029, -0.6797414422035217, 1.1117461919784546, 2.450892210006714, 1.2112962007522583, -1.315347671508789, 2.851334571838379, 0.6115646958351135, -0.26941946148872375, -0.9720991849899292, 0.4527497887611389, -0.06568319350481033, -1.2825795412063599, -0.42922186851501465, -0.9387310743331909, 0.05017196014523506, -0.6371411085128784, -0.41232192516326904, 0.05096922814846039, 0.5329998135566711, -0.18167755007743835, -0.4174066483974457, -0.5576015710830688, -0.793667733669281, 0.6091086268424988, -0.33032873272895813, 0.8631244897842407, -0.2409064620733261, 1.7331210374832153, -0.6495529413223267, 0.4314590394496918, 0.5862082242965698, 1.30210542678833, 0.20762120187282562, -0.001097826287150383, 0.5028837323188782, 0.26725056767463684, 0.07434693723917007, 0.6128495931625366, 1.3064788579940796, 0.5805995464324951, 0.5009498596191406, 0.6737491488456726, -2.2182724475860596, 1.293518304824829, -0.920720636844635, 0.2925782799720764, 1.2310538291931152, -0.9905564188957214, 0.4141044318675995, -1.8009095191955566, -0.1222124695777893, 0.4928274154663086, -2.294926166534424, 0.1536043882369995, -1.318913221359253, -0.46251168847084045, 0.9855093359947205, 0.41025060415267944, -1.250145673751831, 0.029059171676635742, -0.47390052676200867, 1.1276129484176636, 0.2969587743282318, 1.0294737815856934, -1.6223410367965698, -0.09914530813694, -0.19558541476726532, 0.16703881323337555, -1.2789340019226074, -1.6604217290878296, 0.5993474721908569, 0.6461816430091858, 0.6956180334091187, -0.11004123091697693, 1.0160374641418457, -1.04658043384552, 0.8239628672599792, -0.9994975328445435, -1.6967366933822632, -1.4060893058776855, -2.339139461517334, -2.243123769760132, 0.7989183068275452, -0.4648526608943939, -0.4781413972377777, 2.1037497520446777, -1.0253804922103882, -1.8868186473846436, 1.0843756198883057, 0.2941414713859558, -0.03012191131711006, 2.342768430709839, 0.23660911619663239, -0.8665853142738342, 0.5378608107566833, -0.7293978333473206, 0.8201204538345337, -0.28409671783447266, 1.3888059854507446, 0.4558120667934418, -0.9804372191429138, 1.5578992366790771, -0.35052916407585144, 0.5545902252197266, -0.685906708240509, -0.6187509298324585, -0.6915484070777893, 0.1970779448747635, 1.951901912689209, -0.2979552149772644, 1.5634640455245972, -0.29882121086120605, -1.636893630027771, -1.5309782028198242, 0.8478824496269226, 0.5087317824363708, -0.9192197918891907, 0.1446504145860672, -0.5450360178947449, 0.24452747404575348, 0.053815290331840515, 1.1786452531814575, 1.2443251609802246, 0.6879216432571411, -0.2676737904548645, -0.8254741430282593, 0.2122209519147873, -0.0062087224796414375, -0.5367746949195862, -1.747894287109375, -0.313602089881897, 0.19167469441890717, 0.6131377816200256, -1.1519161462783813, 1.8285942077636719, 0.9303130507469177, 1.9551851749420166, 1.0595029592514038, -0.2817258834838867, 1.5525462627410889, 0.05714356154203415, 1.8422547578811646, -0.4603600800037384, 0.5134714245796204, -0.3686843812465668, -1.171957015991211, 0.7633115649223328, -0.36045190691947937, -2.0872962474823, -0.6780816912651062, -0.7784592509269714, -0.11860138922929764, -0.8466216325759888, 0.9245932102203369, -0.33157363533973694, -1.4339882135391235, 0.09017979353666306, -0.7875352501869202, 0.2495417445898056, -1.2211334705352783, 0.24530352652072906, 0.717534065246582, -0.7346965670585632, 0.03612159565091133, -0.25663042068481445, -1.2890503406524658, -0.4853668510913849, 0.45049548149108887, 1.8471990823745728, -0.7261180281639099, 0.9900142550468445, 1.0024882555007935, -0.6670195460319519, 0.1060299500823021, 0.2264121025800705, -0.3362750709056854, 0.9342957735061646, -1.102738380432129, -0.37797820568084717, 1.2013319730758667, -0.28147903084754944, -0.6127007603645325, 1.4672471284866333, 0.7681050896644592, -1.0525462627410889, -0.34989917278289795, -0.15894265472888947, -0.8627018332481384, -0.03181831166148186, -1.7171821594238281, -0.24300023913383484, 0.44789114594459534, -1.4803333282470703, -0.4384573698043823, -0.15211664140224457, 1.3633612394332886, -0.07235762476921082, 1.4288606643676758, -0.3084636330604553, -0.03825861215591431, -0.3821871876716614, -0.4779393970966339, 0.14526928961277008, -0.20483794808387756, -0.5818444490432739, 0.14891736209392548, -0.7849331498146057, 0.2591698467731476, 1.5681648254394531, 0.35406753420829773, 0.0697990283370018, 0.5815097093582153, 1.2038798332214355, 0.36703115701675415, -0.11445920169353485, -0.7925378084182739, -1.6329528093338013, 2.02340030670166, -1.4983083009719849, 1.9453556537628174, 0.7575538158416748, -0.10441303253173828, -1.7417433261871338, -1.9448304176330566, 1.3298697471618652, 1.125482201576233, 2.38096022605896, 0.43533214926719666, 0.5487986207008362, -0.8407365083694458, -0.6753260493278503, 0.36836856603622437, -0.8810439705848694, -0.74672532081604, 0.1786981076002121, 2.347870111465454, 1.8133455514907837, -0.4719218909740448, -0.23155653476715088, -0.8736153244972229, 1.328147053718567, -0.3395238220691681, 0.27178388833999634, 1.9501968622207642, -0.29173585772514343, -1.049621820449829, 1.2484768629074097, -2.375221014022827, 0.2973145544528961, 2.0918662548065186, 0.27064037322998047, 0.10642877221107483, -1.3494131565093994, -0.609524667263031, -0.2606731951236725, -0.44221338629722595, -1.2541550397872925, 0.6076463460922241, -0.21926547586917877, -0.8362693786621094, -1.2960540056228638, 0.08073918521404266, -1.0594671964645386, -1.7724499702453613, 0.3244912326335907, 1.8467333316802979, 2.114509105682373, -0.7292345762252808, 1.4205925464630127, -0.3401484191417694, 0.2715861201286316, 1.201985478401184, 1.3624999523162842, 3.1717233657836914, 1.9561614990234375, -1.2548938989639282, 0.6964289546012878, -0.14586450159549713, -0.5780549049377441, 1.14557683467865, -1.1724753379821777, 1.1254886388778687, -0.20821994543075562, -1.3756864070892334, -1.2222156524658203, 1.0210504531860352, 0.4574700593948364, -0.100543312728405, -0.549275279045105, 1.2487667798995972, 0.12168349325656891, 1.3298892974853516, 0.5514640212059021, -0.39989593625068665, 0.5250030755996704, -0.3808242976665497, -0.5903235673904419, 1.5501818656921387, 0.119384765625, -1.518349289894104, -2.2669765949249268, -0.1322677582502365, -0.9391239881515503, 0.06479042768478394, -0.7222344875335693, -1.014644742012024, 1.5700657367706299, 0.41049304604530334, -1.2601460218429565, -0.26389482617378235, -0.3647613525390625, -0.5088456869125366, 2.6437065601348877, -1.3095022439956665, -0.23028209805488586, -0.9620513319969177, -0.5507001280784607, 1.6673078536987305, -1.2663978338241577, -0.2734106183052063, -1.0534933805465698, -0.644216775894165, -1.2473620176315308, -0.5498023629188538, -0.044060107320547104, -0.9242474436759949, 0.8164928555488586, 0.06692255288362503, -1.1742439270019531, -0.1878969520330429, -0.9265879988670349, 1.109756350517273, -0.2993927597999573, 0.09086081385612488, 1.793633222579956, 0.26392725110054016, -0.48340898752212524, 0.8701772093772888, 1.2394999265670776, 0.6206048727035522, -0.5378766655921936, 0.11632989346981049, -0.6064546704292297, 0.3989616632461548, -1.4147615432739258, 0.26076793670654297, -2.936448574066162, 0.7365278005599976, -0.05429968982934952, -0.1440046727657318, -0.1868789792060852, -1.4278122186660767, 0.9558550715446472, 2.520159959793091, -1.2327489852905273, 0.5139995217323303, 0.44286611676216125, 1.1781368255615234, -1.5993006229400635, 0.1240755170583725, -0.5785102844238281, 2.0920093059539795, 0.139259472489357, 1.259838581085205, -0.42407795786857605, -2.2500598430633545, 0.6185932755470276, -1.2578574419021606, -0.9888980984687805, 0.7330723404884338, -0.9692687392234802, 0.26003119349479675, -1.3213480710983276, -0.22342388331890106, -0.9266787171363831, -1.127966046333313, 0.5955075025558472, 0.12524005770683289, 0.41234803199768066, -0.5149561166763306, 0.24099253118038177, -2.207242488861084, -1.3324466943740845, -0.21284762024879456, -1.0155682563781738, 0.5166295170783997, -0.48472172021865845, 0.6111303567886353, -0.16556072235107422, 0.03194214403629303, 0.32813915610313416, 1.4405815601348877, 3.270660638809204, 0.15515123307704926, 0.2536108195781708, -0.28056800365448, -0.9296516180038452, 1.434804916381836, 0.872495174407959, -0.3052152693271637, -0.5932182669639587, -0.9552929401397705, 1.4172828197479248, 1.881219506263733, 1.0554670095443726, 0.07191967964172363, -0.875927746295929, -0.8053994178771973, -0.028934244066476822, 0.16536322236061096, 0.5627651810646057, 0.8936094045639038, 0.08642784506082535, 0.19132821261882782, 1.2736421823501587, 1.0509980916976929, -0.30316317081451416, 0.4847984313964844, -0.9123693108558655, -0.4259227216243744, 0.35155344009399414, 0.16827689111232758, -0.08528018742799759, 0.4063124358654022, -0.9702907800674438, -0.24753254652023315, -0.30992329120635986, -0.8751206994056702, -0.8303424119949341, -0.3221437335014343, -0.38367152214050293, 1.6882339715957642, 0.0633319839835167, -0.5760657787322998, 0.005010581575334072, -0.671747088432312, -0.25466790795326233, -0.9732089042663574, 0.2485978752374649, -0.08954402059316635, -0.04386177659034729, -0.08873418718576431, 1.595923900604248, -0.9669590592384338, -2.1480815410614014, 0.1900404542684555, 0.22655938565731049, -0.2712012529373169, 0.01774066686630249, 1.7301404476165771, 0.5892680883407593, 1.383470058441162, 1.397810459136963, 0.929836630821228, -0.5929279923439026, -1.156711459159851, 0.8172399997711182, 0.9171524047851562, -1.3993682861328125, 0.8803480863571167, -0.24359603226184845, -0.5041109323501587, 0.5979090929031372, 1.3169082403182983, 0.5531110763549805, -1.9760558605194092, 0.894767701625824, -1.058482050895691, 0.8283146023750305, 0.7197646498680115, 0.7185285687446594, 0.25446489453315735, 0.9480339884757996, -1.2233508825302124, -1.1666533946990967, -0.6215291619300842, -0.6825792789459229, 1.9964945316314697, -0.3163243234157562, 0.4616781175136566, -0.19782774150371552, -1.255709171295166, -0.026298046112060547, 0.7382723093032837, 0.29133158922195435, -0.4249456226825714, 0.8035914301872253, -0.6319945454597473, -0.9873574376106262, -1.3117884397506714, -0.4433801770210266, -1.064483880996704, -0.9656195640563965, 1.0461715459823608, 0.7819143533706665, 0.3428860008716583, 1.8259727954864502, 0.642905592918396, 0.28599458932876587, -2.5699515342712402, 0.9083846211433411, 0.34358006715774536, -0.1275034248828888, 0.8240265846252441, 0.2815369963645935, 1.0996177196502686, -0.054998185485601425, 0.663957953453064, -2.317692518234253, 2.2301902770996094, -0.20427708327770233, 0.7479924559593201, -0.03770735114812851, -0.12299147993326187, 0.9838789701461792, 0.5339950323104858, 0.6095167994499207, -1.0257004499435425, 0.8113679885864258, -0.6054295897483826, 1.0774731636047363, 0.8844106197357178, -0.8916172981262207, 0.1788683980703354, 1.4292750358581543, 0.4385538399219513, -0.6225461959838867, -1.0254513025283813, -0.8334137201309204, 1.0392582416534424, 1.7782398462295532, -0.001743169967085123, 0.011220625601708889, 0.8497872948646545, 0.7626949548721313, -1.2005069255828857, 0.11643892526626587, -0.5126129984855652, -0.7363325953483582, 1.6709593534469604, 2.0951054096221924, -0.12891674041748047, -0.14682011306285858, -0.6551443338394165, -1.3784304857254028, 0.7829177379608154, -0.016780249774456024, -0.004652871750295162, 0.7442923784255981, -0.7196267247200012, 1.1777689456939697, 0.7274385690689087, 0.9415699243545532, 0.08518941700458527, 0.20374515652656555, 0.3532402813434601, -0.2848753333091736, -1.2356146574020386, -0.3835545480251312, -1.1042670011520386, -2.567582607269287, 0.37353983521461487, -0.24171386659145355, -1.3722827434539795, 0.10358533263206482, -1.0243358612060547, 0.8078116774559021, -0.6594932675361633, -1.194045066833496, -1.4453325271606445, 0.3006480932235718, -0.08996719121932983, 0.8695356845855713, -1.6651257276535034, -0.24048246443271637, 1.120582938194275, 0.9349530935287476, -0.6536492109298706, 0.9003618359565735, 0.2969471514225006, 0.9560858607292175, 0.7952395677566528, -0.40476229786872864, 0.6327993273735046, 0.11713328957557678, -1.3709721565246582, 0.5978963971138, 1.3030537366867065, 0.14179761707782745, 1.4592781066894531, -0.45448553562164307, 0.006299859844148159, 0.4580332338809967, -0.5319796800613403, -0.5964683890342712, -0.5723126530647278, 0.6828959584236145, -0.013083115220069885, -0.9456802606582642, -0.15110346674919128, -0.011659674346446991, -0.2601096034049988, 0.2294551283121109, -1.5384411811828613, -0.16238465905189514, -0.3812033236026764, -0.6290916800498962, -1.3190627098083496, -0.1017732173204422, 1.3684916496276855, -0.859092652797699, -0.19989140331745148, 0.5271735787391663, 0.28121230006217957, 0.5577439069747925, 0.6132935881614685, -0.7755064368247986, -0.23976178467273712, -0.19037653505802155, -0.3215605318546295, 0.3167901337146759, 1.2279545068740845, 0.019527576863765717, -0.9504874348640442, 0.6329277753829956, -0.339210569858551, 0.22094500064849854, 1.9040664434432983, 0.011131617240607738, -0.6936047077178955, 0.3620806634426117, -0.7438568472862244, 1.8232448101043701, 1.6272833347320557, 1.3493859767913818, -0.09231259673833847, -0.9228463768959045, 0.6427798271179199, -0.3260515332221985, -0.38138216733932495, 0.9334446787834167, 0.39806708693504333, -0.2479589879512787, -1.4111589193344116, 0.8087048530578613, 1.172680139541626, -0.8161857724189758, -0.7845970392227173, 0.06687641143798828, -0.8322240114212036, 1.197318196296692, 0.567795991897583, 0.1876465380191803, 0.17733940482139587, 1.5849008560180664, 0.728211522102356, -0.44903334975242615, 0.4228561222553253, 0.5366859436035156, -0.1547601819038391, -2.1454358100891113, -1.1041460037231445, 0.3006618022918701, -0.35625699162483215, -1.5822798013687134, 1.3917438983917236, -1.109709620475769, -0.9347190260887146, 0.5412353873252869, 0.09290436655282974, 1.4148674011230469, 0.2437177151441574, 1.7126532793045044, 2.0813143253326416, 0.854221761226654, 0.44111791253089905, 1.1718922853469849, -0.1840573251247406, -0.2721021771430969, 1.7547045946121216, -0.38901287317276, 0.6274775862693787, 0.9846977591514587, -0.48934119939804077, -1.2402762174606323, -0.7781250476837158, -1.3427337408065796, -0.7492443323135376, 1.1083897352218628, 0.03559911623597145, -1.0433536767959595, 0.2546002268791199, 1.5347338914871216, 0.18252107501029968, -0.1666029393672943, 0.7005612850189209, 0.3322710394859314, -0.6884878873825073, -0.11290930211544037, -0.9801447987556458, 0.5358548760414124, -0.2403978854417801, -0.3488035500049591, 0.2142668068408966, 0.511970579624176, 1.2795429229736328, 0.11233033239841461, 0.0733102560043335, 1.169647455215454, -1.3971366882324219, 1.3801487684249878, -0.7187628746032715, 0.28642937541007996, -2.3900492191314697, 1.4575330018997192, -0.861338198184967, 1.9513773918151855, -2.6439249515533447, 0.5504835247993469, -0.5823490619659424, -0.5404542088508606, 0.28840169310569763, -0.23916780948638916, 0.1075851321220398, -0.06369707733392715, -1.0773450136184692, -0.042689770460128784, -0.5971252918243408, 0.7068778872489929, 1.2613029479980469, 1.3502343893051147, -1.0390154123306274, -0.22465115785598755, -1.719718098640442, -0.11078952997922897, -0.7275450825691223, 0.25847625732421875, -1.9515451192855835, -0.14508703351020813, -2.003761053085327, -2.431550979614258, -1.177341103553772, -0.869615375995636, 1.0999343395233154, 0.19912604987621307, -0.8531667590141296, 1.2769604921340942, -0.37647056579589844, -1.6609117984771729, 1.0940546989440918, -2.23064923286438 ]
https://github.com/huggingface/datasets/issues/4268
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
@i-am-neo This particular subset of the dataset was taken from the [CirrusSearch dumps](https://dumps.wikimedia.org/other/cirrussearch/current/) You're specifically after the [enwiktionary-20220425-cirrussearch-content.json.gz](https://dumps.wikimedia.org/other/cirrussearch/current/enwiktionary-20220425-cirrussearch-content.json.gz) file
## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1
778
19
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered ## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 @i-am-neo This particular subset of the dataset was taken from the [CirrusSearch dumps](https://dumps.wikimedia.org/other/cirrussearch/current/) You're specifically after the [enwiktionary-20220425-cirrussearch-content.json.gz](https://dumps.wikimedia.org/other/cirrussearch/current/enwiktionary-20220425-cirrussearch-content.json.gz) file
[ -1.1990233659744263, -0.8957808613777161, -0.5553922057151794, 1.5229593515396118, -0.015718523412942886, -1.2148336172103882, 0.15458449721336365, -0.8494728207588196, 1.5672435760498047, -0.7683069109916687, 0.31513142585754395, -1.7033722400665283, -0.08553937077522278, -0.6861419677734375, -0.6468722224235535, -0.7637218832969666, -0.3360680937767029, -0.6797414422035217, 1.1117461919784546, 2.450892210006714, 1.2112962007522583, -1.315347671508789, 2.851334571838379, 0.6115646958351135, -0.26941946148872375, -0.9720991849899292, 0.4527497887611389, -0.06568319350481033, -1.2825795412063599, -0.42922186851501465, -0.9387310743331909, 0.05017196014523506, -0.6371411085128784, -0.41232192516326904, 0.05096922814846039, 0.5329998135566711, -0.18167755007743835, -0.4174066483974457, -0.5576015710830688, -0.793667733669281, 0.6091086268424988, -0.33032873272895813, 0.8631244897842407, -0.2409064620733261, 1.7331210374832153, -0.6495529413223267, 0.4314590394496918, 0.5862082242965698, 1.30210542678833, 0.20762120187282562, -0.001097826287150383, 0.5028837323188782, 0.26725056767463684, 0.07434693723917007, 0.6128495931625366, 1.3064788579940796, 0.5805995464324951, 0.5009498596191406, 0.6737491488456726, -2.2182724475860596, 1.293518304824829, -0.920720636844635, 0.2925782799720764, 1.2310538291931152, -0.9905564188957214, 0.4141044318675995, -1.8009095191955566, -0.1222124695777893, 0.4928274154663086, -2.294926166534424, 0.1536043882369995, -1.318913221359253, -0.46251168847084045, 0.9855093359947205, 0.41025060415267944, -1.250145673751831, 0.029059171676635742, -0.47390052676200867, 1.1276129484176636, 0.2969587743282318, 1.0294737815856934, -1.6223410367965698, -0.09914530813694, -0.19558541476726532, 0.16703881323337555, -1.2789340019226074, -1.6604217290878296, 0.5993474721908569, 0.6461816430091858, 0.6956180334091187, -0.11004123091697693, 1.0160374641418457, -1.04658043384552, 0.8239628672599792, -0.9994975328445435, -1.6967366933822632, -1.4060893058776855, -2.339139461517334, -2.243123769760132, 0.7989183068275452, -0.4648526608943939, -0.4781413972377777, 2.1037497520446777, -1.0253804922103882, -1.8868186473846436, 1.0843756198883057, 0.2941414713859558, -0.03012191131711006, 2.342768430709839, 0.23660911619663239, -0.8665853142738342, 0.5378608107566833, -0.7293978333473206, 0.8201204538345337, -0.28409671783447266, 1.3888059854507446, 0.4558120667934418, -0.9804372191429138, 1.5578992366790771, -0.35052916407585144, 0.5545902252197266, -0.685906708240509, -0.6187509298324585, -0.6915484070777893, 0.1970779448747635, 1.951901912689209, -0.2979552149772644, 1.5634640455245972, -0.29882121086120605, -1.636893630027771, -1.5309782028198242, 0.8478824496269226, 0.5087317824363708, -0.9192197918891907, 0.1446504145860672, -0.5450360178947449, 0.24452747404575348, 0.053815290331840515, 1.1786452531814575, 1.2443251609802246, 0.6879216432571411, -0.2676737904548645, -0.8254741430282593, 0.2122209519147873, -0.0062087224796414375, -0.5367746949195862, -1.747894287109375, -0.313602089881897, 0.19167469441890717, 0.6131377816200256, -1.1519161462783813, 1.8285942077636719, 0.9303130507469177, 1.9551851749420166, 1.0595029592514038, -0.2817258834838867, 1.5525462627410889, 0.05714356154203415, 1.8422547578811646, -0.4603600800037384, 0.5134714245796204, -0.3686843812465668, -1.171957015991211, 0.7633115649223328, -0.36045190691947937, -2.0872962474823, -0.6780816912651062, -0.7784592509269714, -0.11860138922929764, -0.8466216325759888, 0.9245932102203369, -0.33157363533973694, -1.4339882135391235, 0.09017979353666306, -0.7875352501869202, 0.2495417445898056, -1.2211334705352783, 0.24530352652072906, 0.717534065246582, -0.7346965670585632, 0.03612159565091133, -0.25663042068481445, -1.2890503406524658, -0.4853668510913849, 0.45049548149108887, 1.8471990823745728, -0.7261180281639099, 0.9900142550468445, 1.0024882555007935, -0.6670195460319519, 0.1060299500823021, 0.2264121025800705, -0.3362750709056854, 0.9342957735061646, -1.102738380432129, -0.37797820568084717, 1.2013319730758667, -0.28147903084754944, -0.6127007603645325, 1.4672471284866333, 0.7681050896644592, -1.0525462627410889, -0.34989917278289795, -0.15894265472888947, -0.8627018332481384, -0.03181831166148186, -1.7171821594238281, -0.24300023913383484, 0.44789114594459534, -1.4803333282470703, -0.4384573698043823, -0.15211664140224457, 1.3633612394332886, -0.07235762476921082, 1.4288606643676758, -0.3084636330604553, -0.03825861215591431, -0.3821871876716614, -0.4779393970966339, 0.14526928961277008, -0.20483794808387756, -0.5818444490432739, 0.14891736209392548, -0.7849331498146057, 0.2591698467731476, 1.5681648254394531, 0.35406753420829773, 0.0697990283370018, 0.5815097093582153, 1.2038798332214355, 0.36703115701675415, -0.11445920169353485, -0.7925378084182739, -1.6329528093338013, 2.02340030670166, -1.4983083009719849, 1.9453556537628174, 0.7575538158416748, -0.10441303253173828, -1.7417433261871338, -1.9448304176330566, 1.3298697471618652, 1.125482201576233, 2.38096022605896, 0.43533214926719666, 0.5487986207008362, -0.8407365083694458, -0.6753260493278503, 0.36836856603622437, -0.8810439705848694, -0.74672532081604, 0.1786981076002121, 2.347870111465454, 1.8133455514907837, -0.4719218909740448, -0.23155653476715088, -0.8736153244972229, 1.328147053718567, -0.3395238220691681, 0.27178388833999634, 1.9501968622207642, -0.29173585772514343, -1.049621820449829, 1.2484768629074097, -2.375221014022827, 0.2973145544528961, 2.0918662548065186, 0.27064037322998047, 0.10642877221107483, -1.3494131565093994, -0.609524667263031, -0.2606731951236725, -0.44221338629722595, -1.2541550397872925, 0.6076463460922241, -0.21926547586917877, -0.8362693786621094, -1.2960540056228638, 0.08073918521404266, -1.0594671964645386, -1.7724499702453613, 0.3244912326335907, 1.8467333316802979, 2.114509105682373, -0.7292345762252808, 1.4205925464630127, -0.3401484191417694, 0.2715861201286316, 1.201985478401184, 1.3624999523162842, 3.1717233657836914, 1.9561614990234375, -1.2548938989639282, 0.6964289546012878, -0.14586450159549713, -0.5780549049377441, 1.14557683467865, -1.1724753379821777, 1.1254886388778687, -0.20821994543075562, -1.3756864070892334, -1.2222156524658203, 1.0210504531860352, 0.4574700593948364, -0.100543312728405, -0.549275279045105, 1.2487667798995972, 0.12168349325656891, 1.3298892974853516, 0.5514640212059021, -0.39989593625068665, 0.5250030755996704, -0.3808242976665497, -0.5903235673904419, 1.5501818656921387, 0.119384765625, -1.518349289894104, -2.2669765949249268, -0.1322677582502365, -0.9391239881515503, 0.06479042768478394, -0.7222344875335693, -1.014644742012024, 1.5700657367706299, 0.41049304604530334, -1.2601460218429565, -0.26389482617378235, -0.3647613525390625, -0.5088456869125366, 2.6437065601348877, -1.3095022439956665, -0.23028209805488586, -0.9620513319969177, -0.5507001280784607, 1.6673078536987305, -1.2663978338241577, -0.2734106183052063, -1.0534933805465698, -0.644216775894165, -1.2473620176315308, -0.5498023629188538, -0.044060107320547104, -0.9242474436759949, 0.8164928555488586, 0.06692255288362503, -1.1742439270019531, -0.1878969520330429, -0.9265879988670349, 1.109756350517273, -0.2993927597999573, 0.09086081385612488, 1.793633222579956, 0.26392725110054016, -0.48340898752212524, 0.8701772093772888, 1.2394999265670776, 0.6206048727035522, -0.5378766655921936, 0.11632989346981049, -0.6064546704292297, 0.3989616632461548, -1.4147615432739258, 0.26076793670654297, -2.936448574066162, 0.7365278005599976, -0.05429968982934952, -0.1440046727657318, -0.1868789792060852, -1.4278122186660767, 0.9558550715446472, 2.520159959793091, -1.2327489852905273, 0.5139995217323303, 0.44286611676216125, 1.1781368255615234, -1.5993006229400635, 0.1240755170583725, -0.5785102844238281, 2.0920093059539795, 0.139259472489357, 1.259838581085205, -0.42407795786857605, -2.2500598430633545, 0.6185932755470276, -1.2578574419021606, -0.9888980984687805, 0.7330723404884338, -0.9692687392234802, 0.26003119349479675, -1.3213480710983276, -0.22342388331890106, -0.9266787171363831, -1.127966046333313, 0.5955075025558472, 0.12524005770683289, 0.41234803199768066, -0.5149561166763306, 0.24099253118038177, -2.207242488861084, -1.3324466943740845, -0.21284762024879456, -1.0155682563781738, 0.5166295170783997, -0.48472172021865845, 0.6111303567886353, -0.16556072235107422, 0.03194214403629303, 0.32813915610313416, 1.4405815601348877, 3.270660638809204, 0.15515123307704926, 0.2536108195781708, -0.28056800365448, -0.9296516180038452, 1.434804916381836, 0.872495174407959, -0.3052152693271637, -0.5932182669639587, -0.9552929401397705, 1.4172828197479248, 1.881219506263733, 1.0554670095443726, 0.07191967964172363, -0.875927746295929, -0.8053994178771973, -0.028934244066476822, 0.16536322236061096, 0.5627651810646057, 0.8936094045639038, 0.08642784506082535, 0.19132821261882782, 1.2736421823501587, 1.0509980916976929, -0.30316317081451416, 0.4847984313964844, -0.9123693108558655, -0.4259227216243744, 0.35155344009399414, 0.16827689111232758, -0.08528018742799759, 0.4063124358654022, -0.9702907800674438, -0.24753254652023315, -0.30992329120635986, -0.8751206994056702, -0.8303424119949341, -0.3221437335014343, -0.38367152214050293, 1.6882339715957642, 0.0633319839835167, -0.5760657787322998, 0.005010581575334072, -0.671747088432312, -0.25466790795326233, -0.9732089042663574, 0.2485978752374649, -0.08954402059316635, -0.04386177659034729, -0.08873418718576431, 1.595923900604248, -0.9669590592384338, -2.1480815410614014, 0.1900404542684555, 0.22655938565731049, -0.2712012529373169, 0.01774066686630249, 1.7301404476165771, 0.5892680883407593, 1.383470058441162, 1.397810459136963, 0.929836630821228, -0.5929279923439026, -1.156711459159851, 0.8172399997711182, 0.9171524047851562, -1.3993682861328125, 0.8803480863571167, -0.24359603226184845, -0.5041109323501587, 0.5979090929031372, 1.3169082403182983, 0.5531110763549805, -1.9760558605194092, 0.894767701625824, -1.058482050895691, 0.8283146023750305, 0.7197646498680115, 0.7185285687446594, 0.25446489453315735, 0.9480339884757996, -1.2233508825302124, -1.1666533946990967, -0.6215291619300842, -0.6825792789459229, 1.9964945316314697, -0.3163243234157562, 0.4616781175136566, -0.19782774150371552, -1.255709171295166, -0.026298046112060547, 0.7382723093032837, 0.29133158922195435, -0.4249456226825714, 0.8035914301872253, -0.6319945454597473, -0.9873574376106262, -1.3117884397506714, -0.4433801770210266, -1.064483880996704, -0.9656195640563965, 1.0461715459823608, 0.7819143533706665, 0.3428860008716583, 1.8259727954864502, 0.642905592918396, 0.28599458932876587, -2.5699515342712402, 0.9083846211433411, 0.34358006715774536, -0.1275034248828888, 0.8240265846252441, 0.2815369963645935, 1.0996177196502686, -0.054998185485601425, 0.663957953453064, -2.317692518234253, 2.2301902770996094, -0.20427708327770233, 0.7479924559593201, -0.03770735114812851, -0.12299147993326187, 0.9838789701461792, 0.5339950323104858, 0.6095167994499207, -1.0257004499435425, 0.8113679885864258, -0.6054295897483826, 1.0774731636047363, 0.8844106197357178, -0.8916172981262207, 0.1788683980703354, 1.4292750358581543, 0.4385538399219513, -0.6225461959838867, -1.0254513025283813, -0.8334137201309204, 1.0392582416534424, 1.7782398462295532, -0.001743169967085123, 0.011220625601708889, 0.8497872948646545, 0.7626949548721313, -1.2005069255828857, 0.11643892526626587, -0.5126129984855652, -0.7363325953483582, 1.6709593534469604, 2.0951054096221924, -0.12891674041748047, -0.14682011306285858, -0.6551443338394165, -1.3784304857254028, 0.7829177379608154, -0.016780249774456024, -0.004652871750295162, 0.7442923784255981, -0.7196267247200012, 1.1777689456939697, 0.7274385690689087, 0.9415699243545532, 0.08518941700458527, 0.20374515652656555, 0.3532402813434601, -0.2848753333091736, -1.2356146574020386, -0.3835545480251312, -1.1042670011520386, -2.567582607269287, 0.37353983521461487, -0.24171386659145355, -1.3722827434539795, 0.10358533263206482, -1.0243358612060547, 0.8078116774559021, -0.6594932675361633, -1.194045066833496, -1.4453325271606445, 0.3006480932235718, -0.08996719121932983, 0.8695356845855713, -1.6651257276535034, -0.24048246443271637, 1.120582938194275, 0.9349530935287476, -0.6536492109298706, 0.9003618359565735, 0.2969471514225006, 0.9560858607292175, 0.7952395677566528, -0.40476229786872864, 0.6327993273735046, 0.11713328957557678, -1.3709721565246582, 0.5978963971138, 1.3030537366867065, 0.14179761707782745, 1.4592781066894531, -0.45448553562164307, 0.006299859844148159, 0.4580332338809967, -0.5319796800613403, -0.5964683890342712, -0.5723126530647278, 0.6828959584236145, -0.013083115220069885, -0.9456802606582642, -0.15110346674919128, -0.011659674346446991, -0.2601096034049988, 0.2294551283121109, -1.5384411811828613, -0.16238465905189514, -0.3812033236026764, -0.6290916800498962, -1.3190627098083496, -0.1017732173204422, 1.3684916496276855, -0.859092652797699, -0.19989140331745148, 0.5271735787391663, 0.28121230006217957, 0.5577439069747925, 0.6132935881614685, -0.7755064368247986, -0.23976178467273712, -0.19037653505802155, -0.3215605318546295, 0.3167901337146759, 1.2279545068740845, 0.019527576863765717, -0.9504874348640442, 0.6329277753829956, -0.339210569858551, 0.22094500064849854, 1.9040664434432983, 0.011131617240607738, -0.6936047077178955, 0.3620806634426117, -0.7438568472862244, 1.8232448101043701, 1.6272833347320557, 1.3493859767913818, -0.09231259673833847, -0.9228463768959045, 0.6427798271179199, -0.3260515332221985, -0.38138216733932495, 0.9334446787834167, 0.39806708693504333, -0.2479589879512787, -1.4111589193344116, 0.8087048530578613, 1.172680139541626, -0.8161857724189758, -0.7845970392227173, 0.06687641143798828, -0.8322240114212036, 1.197318196296692, 0.567795991897583, 0.1876465380191803, 0.17733940482139587, 1.5849008560180664, 0.728211522102356, -0.44903334975242615, 0.4228561222553253, 0.5366859436035156, -0.1547601819038391, -2.1454358100891113, -1.1041460037231445, 0.3006618022918701, -0.35625699162483215, -1.5822798013687134, 1.3917438983917236, -1.109709620475769, -0.9347190260887146, 0.5412353873252869, 0.09290436655282974, 1.4148674011230469, 0.2437177151441574, 1.7126532793045044, 2.0813143253326416, 0.854221761226654, 0.44111791253089905, 1.1718922853469849, -0.1840573251247406, -0.2721021771430969, 1.7547045946121216, -0.38901287317276, 0.6274775862693787, 0.9846977591514587, -0.48934119939804077, -1.2402762174606323, -0.7781250476837158, -1.3427337408065796, -0.7492443323135376, 1.1083897352218628, 0.03559911623597145, -1.0433536767959595, 0.2546002268791199, 1.5347338914871216, 0.18252107501029968, -0.1666029393672943, 0.7005612850189209, 0.3322710394859314, -0.6884878873825073, -0.11290930211544037, -0.9801447987556458, 0.5358548760414124, -0.2403978854417801, -0.3488035500049591, 0.2142668068408966, 0.511970579624176, 1.2795429229736328, 0.11233033239841461, 0.0733102560043335, 1.169647455215454, -1.3971366882324219, 1.3801487684249878, -0.7187628746032715, 0.28642937541007996, -2.3900492191314697, 1.4575330018997192, -0.861338198184967, 1.9513773918151855, -2.6439249515533447, 0.5504835247993469, -0.5823490619659424, -0.5404542088508606, 0.28840169310569763, -0.23916780948638916, 0.1075851321220398, -0.06369707733392715, -1.0773450136184692, -0.042689770460128784, -0.5971252918243408, 0.7068778872489929, 1.2613029479980469, 1.3502343893051147, -1.0390154123306274, -0.22465115785598755, -1.719718098640442, -0.11078952997922897, -0.7275450825691223, 0.25847625732421875, -1.9515451192855835, -0.14508703351020813, -2.003761053085327, -2.431550979614258, -1.177341103553772, -0.869615375995636, 1.0999343395233154, 0.19912604987621307, -0.8531667590141296, 1.2769604921340942, -0.37647056579589844, -1.6609117984771729, 1.0940546989440918, -2.23064923286438 ]
https://github.com/huggingface/datasets/issues/4268
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
thanks @cakiki ! <del>I could access the gz file yesterday (but neglected to tuck it away somewhere safe), and today the link is throwing a 404. Can you help? </del> Never mind, got it!
## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1
778
34
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered ## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results. ## Actual results ``` ExpectedMoreDownloadedFiles Traceback (most recent call last) [<ipython-input-62-4ac5cf959477>](https://localhost:8080/#) in <module>() 1 from datasets import load_dataset 2 ----> 3 dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") 3 frames [/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name) 31 return 32 if len(set(expected_checksums) - set(recorded_checksums)) > 0: ---> 33 raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) 34 if len(set(recorded_checksums) - set(expected_checksums)) > 0: 35 raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums))) ExpectedMoreDownloadedFiles: {'/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz', '/home/leandro/catalogue_data/datasets/lm_en_wiktionary_filtered/data/file-01.jsonl.gz.lock'} ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.3 - Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 thanks @cakiki ! <del>I could access the gz file yesterday (but neglected to tuck it away somewhere safe), and today the link is throwing a 404. Can you help? </del> Never mind, got it!
[ -1.1990233659744263, -0.8957808613777161, -0.5553922057151794, 1.5229593515396118, -0.015718523412942886, -1.2148336172103882, 0.15458449721336365, -0.8494728207588196, 1.5672435760498047, -0.7683069109916687, 0.31513142585754395, -1.7033722400665283, -0.08553937077522278, -0.6861419677734375, -0.6468722224235535, -0.7637218832969666, -0.3360680937767029, -0.6797414422035217, 1.1117461919784546, 2.450892210006714, 1.2112962007522583, -1.315347671508789, 2.851334571838379, 0.6115646958351135, -0.26941946148872375, -0.9720991849899292, 0.4527497887611389, -0.06568319350481033, -1.2825795412063599, -0.42922186851501465, -0.9387310743331909, 0.05017196014523506, -0.6371411085128784, -0.41232192516326904, 0.05096922814846039, 0.5329998135566711, -0.18167755007743835, -0.4174066483974457, -0.5576015710830688, -0.793667733669281, 0.6091086268424988, -0.33032873272895813, 0.8631244897842407, -0.2409064620733261, 1.7331210374832153, -0.6495529413223267, 0.4314590394496918, 0.5862082242965698, 1.30210542678833, 0.20762120187282562, -0.001097826287150383, 0.5028837323188782, 0.26725056767463684, 0.07434693723917007, 0.6128495931625366, 1.3064788579940796, 0.5805995464324951, 0.5009498596191406, 0.6737491488456726, -2.2182724475860596, 1.293518304824829, -0.920720636844635, 0.2925782799720764, 1.2310538291931152, -0.9905564188957214, 0.4141044318675995, -1.8009095191955566, -0.1222124695777893, 0.4928274154663086, -2.294926166534424, 0.1536043882369995, -1.318913221359253, -0.46251168847084045, 0.9855093359947205, 0.41025060415267944, -1.250145673751831, 0.029059171676635742, -0.47390052676200867, 1.1276129484176636, 0.2969587743282318, 1.0294737815856934, -1.6223410367965698, -0.09914530813694, -0.19558541476726532, 0.16703881323337555, -1.2789340019226074, -1.6604217290878296, 0.5993474721908569, 0.6461816430091858, 0.6956180334091187, -0.11004123091697693, 1.0160374641418457, -1.04658043384552, 0.8239628672599792, -0.9994975328445435, -1.6967366933822632, -1.4060893058776855, -2.339139461517334, -2.243123769760132, 0.7989183068275452, -0.4648526608943939, -0.4781413972377777, 2.1037497520446777, -1.0253804922103882, -1.8868186473846436, 1.0843756198883057, 0.2941414713859558, -0.03012191131711006, 2.342768430709839, 0.23660911619663239, -0.8665853142738342, 0.5378608107566833, -0.7293978333473206, 0.8201204538345337, -0.28409671783447266, 1.3888059854507446, 0.4558120667934418, -0.9804372191429138, 1.5578992366790771, -0.35052916407585144, 0.5545902252197266, -0.685906708240509, -0.6187509298324585, -0.6915484070777893, 0.1970779448747635, 1.951901912689209, -0.2979552149772644, 1.5634640455245972, -0.29882121086120605, -1.636893630027771, -1.5309782028198242, 0.8478824496269226, 0.5087317824363708, -0.9192197918891907, 0.1446504145860672, -0.5450360178947449, 0.24452747404575348, 0.053815290331840515, 1.1786452531814575, 1.2443251609802246, 0.6879216432571411, -0.2676737904548645, -0.8254741430282593, 0.2122209519147873, -0.0062087224796414375, -0.5367746949195862, -1.747894287109375, -0.313602089881897, 0.19167469441890717, 0.6131377816200256, -1.1519161462783813, 1.8285942077636719, 0.9303130507469177, 1.9551851749420166, 1.0595029592514038, -0.2817258834838867, 1.5525462627410889, 0.05714356154203415, 1.8422547578811646, -0.4603600800037384, 0.5134714245796204, -0.3686843812465668, -1.171957015991211, 0.7633115649223328, -0.36045190691947937, -2.0872962474823, -0.6780816912651062, -0.7784592509269714, -0.11860138922929764, -0.8466216325759888, 0.9245932102203369, -0.33157363533973694, -1.4339882135391235, 0.09017979353666306, -0.7875352501869202, 0.2495417445898056, -1.2211334705352783, 0.24530352652072906, 0.717534065246582, -0.7346965670585632, 0.03612159565091133, -0.25663042068481445, -1.2890503406524658, -0.4853668510913849, 0.45049548149108887, 1.8471990823745728, -0.7261180281639099, 0.9900142550468445, 1.0024882555007935, -0.6670195460319519, 0.1060299500823021, 0.2264121025800705, -0.3362750709056854, 0.9342957735061646, -1.102738380432129, -0.37797820568084717, 1.2013319730758667, -0.28147903084754944, -0.6127007603645325, 1.4672471284866333, 0.7681050896644592, -1.0525462627410889, -0.34989917278289795, -0.15894265472888947, -0.8627018332481384, -0.03181831166148186, -1.7171821594238281, -0.24300023913383484, 0.44789114594459534, -1.4803333282470703, -0.4384573698043823, -0.15211664140224457, 1.3633612394332886, -0.07235762476921082, 1.4288606643676758, -0.3084636330604553, -0.03825861215591431, -0.3821871876716614, -0.4779393970966339, 0.14526928961277008, -0.20483794808387756, -0.5818444490432739, 0.14891736209392548, -0.7849331498146057, 0.2591698467731476, 1.5681648254394531, 0.35406753420829773, 0.0697990283370018, 0.5815097093582153, 1.2038798332214355, 0.36703115701675415, -0.11445920169353485, -0.7925378084182739, -1.6329528093338013, 2.02340030670166, -1.4983083009719849, 1.9453556537628174, 0.7575538158416748, -0.10441303253173828, -1.7417433261871338, -1.9448304176330566, 1.3298697471618652, 1.125482201576233, 2.38096022605896, 0.43533214926719666, 0.5487986207008362, -0.8407365083694458, -0.6753260493278503, 0.36836856603622437, -0.8810439705848694, -0.74672532081604, 0.1786981076002121, 2.347870111465454, 1.8133455514907837, -0.4719218909740448, -0.23155653476715088, -0.8736153244972229, 1.328147053718567, -0.3395238220691681, 0.27178388833999634, 1.9501968622207642, -0.29173585772514343, -1.049621820449829, 1.2484768629074097, -2.375221014022827, 0.2973145544528961, 2.0918662548065186, 0.27064037322998047, 0.10642877221107483, -1.3494131565093994, -0.609524667263031, -0.2606731951236725, -0.44221338629722595, -1.2541550397872925, 0.6076463460922241, -0.21926547586917877, -0.8362693786621094, -1.2960540056228638, 0.08073918521404266, -1.0594671964645386, -1.7724499702453613, 0.3244912326335907, 1.8467333316802979, 2.114509105682373, -0.7292345762252808, 1.4205925464630127, -0.3401484191417694, 0.2715861201286316, 1.201985478401184, 1.3624999523162842, 3.1717233657836914, 1.9561614990234375, -1.2548938989639282, 0.6964289546012878, -0.14586450159549713, -0.5780549049377441, 1.14557683467865, -1.1724753379821777, 1.1254886388778687, -0.20821994543075562, -1.3756864070892334, -1.2222156524658203, 1.0210504531860352, 0.4574700593948364, -0.100543312728405, -0.549275279045105, 1.2487667798995972, 0.12168349325656891, 1.3298892974853516, 0.5514640212059021, -0.39989593625068665, 0.5250030755996704, -0.3808242976665497, -0.5903235673904419, 1.5501818656921387, 0.119384765625, -1.518349289894104, -2.2669765949249268, -0.1322677582502365, -0.9391239881515503, 0.06479042768478394, -0.7222344875335693, -1.014644742012024, 1.5700657367706299, 0.41049304604530334, -1.2601460218429565, -0.26389482617378235, -0.3647613525390625, -0.5088456869125366, 2.6437065601348877, -1.3095022439956665, -0.23028209805488586, -0.9620513319969177, -0.5507001280784607, 1.6673078536987305, -1.2663978338241577, -0.2734106183052063, -1.0534933805465698, -0.644216775894165, -1.2473620176315308, -0.5498023629188538, -0.044060107320547104, -0.9242474436759949, 0.8164928555488586, 0.06692255288362503, -1.1742439270019531, -0.1878969520330429, -0.9265879988670349, 1.109756350517273, -0.2993927597999573, 0.09086081385612488, 1.793633222579956, 0.26392725110054016, -0.48340898752212524, 0.8701772093772888, 1.2394999265670776, 0.6206048727035522, -0.5378766655921936, 0.11632989346981049, -0.6064546704292297, 0.3989616632461548, -1.4147615432739258, 0.26076793670654297, -2.936448574066162, 0.7365278005599976, -0.05429968982934952, -0.1440046727657318, -0.1868789792060852, -1.4278122186660767, 0.9558550715446472, 2.520159959793091, -1.2327489852905273, 0.5139995217323303, 0.44286611676216125, 1.1781368255615234, -1.5993006229400635, 0.1240755170583725, -0.5785102844238281, 2.0920093059539795, 0.139259472489357, 1.259838581085205, -0.42407795786857605, -2.2500598430633545, 0.6185932755470276, -1.2578574419021606, -0.9888980984687805, 0.7330723404884338, -0.9692687392234802, 0.26003119349479675, -1.3213480710983276, -0.22342388331890106, -0.9266787171363831, -1.127966046333313, 0.5955075025558472, 0.12524005770683289, 0.41234803199768066, -0.5149561166763306, 0.24099253118038177, -2.207242488861084, -1.3324466943740845, -0.21284762024879456, -1.0155682563781738, 0.5166295170783997, -0.48472172021865845, 0.6111303567886353, -0.16556072235107422, 0.03194214403629303, 0.32813915610313416, 1.4405815601348877, 3.270660638809204, 0.15515123307704926, 0.2536108195781708, -0.28056800365448, -0.9296516180038452, 1.434804916381836, 0.872495174407959, -0.3052152693271637, -0.5932182669639587, -0.9552929401397705, 1.4172828197479248, 1.881219506263733, 1.0554670095443726, 0.07191967964172363, -0.875927746295929, -0.8053994178771973, -0.028934244066476822, 0.16536322236061096, 0.5627651810646057, 0.8936094045639038, 0.08642784506082535, 0.19132821261882782, 1.2736421823501587, 1.0509980916976929, -0.30316317081451416, 0.4847984313964844, -0.9123693108558655, -0.4259227216243744, 0.35155344009399414, 0.16827689111232758, -0.08528018742799759, 0.4063124358654022, -0.9702907800674438, -0.24753254652023315, -0.30992329120635986, -0.8751206994056702, -0.8303424119949341, -0.3221437335014343, -0.38367152214050293, 1.6882339715957642, 0.0633319839835167, -0.5760657787322998, 0.005010581575334072, -0.671747088432312, -0.25466790795326233, -0.9732089042663574, 0.2485978752374649, -0.08954402059316635, -0.04386177659034729, -0.08873418718576431, 1.595923900604248, -0.9669590592384338, -2.1480815410614014, 0.1900404542684555, 0.22655938565731049, -0.2712012529373169, 0.01774066686630249, 1.7301404476165771, 0.5892680883407593, 1.383470058441162, 1.397810459136963, 0.929836630821228, -0.5929279923439026, -1.156711459159851, 0.8172399997711182, 0.9171524047851562, -1.3993682861328125, 0.8803480863571167, -0.24359603226184845, -0.5041109323501587, 0.5979090929031372, 1.3169082403182983, 0.5531110763549805, -1.9760558605194092, 0.894767701625824, -1.058482050895691, 0.8283146023750305, 0.7197646498680115, 0.7185285687446594, 0.25446489453315735, 0.9480339884757996, -1.2233508825302124, -1.1666533946990967, -0.6215291619300842, -0.6825792789459229, 1.9964945316314697, -0.3163243234157562, 0.4616781175136566, -0.19782774150371552, -1.255709171295166, -0.026298046112060547, 0.7382723093032837, 0.29133158922195435, -0.4249456226825714, 0.8035914301872253, -0.6319945454597473, -0.9873574376106262, -1.3117884397506714, -0.4433801770210266, -1.064483880996704, -0.9656195640563965, 1.0461715459823608, 0.7819143533706665, 0.3428860008716583, 1.8259727954864502, 0.642905592918396, 0.28599458932876587, -2.5699515342712402, 0.9083846211433411, 0.34358006715774536, -0.1275034248828888, 0.8240265846252441, 0.2815369963645935, 1.0996177196502686, -0.054998185485601425, 0.663957953453064, -2.317692518234253, 2.2301902770996094, -0.20427708327770233, 0.7479924559593201, -0.03770735114812851, -0.12299147993326187, 0.9838789701461792, 0.5339950323104858, 0.6095167994499207, -1.0257004499435425, 0.8113679885864258, -0.6054295897483826, 1.0774731636047363, 0.8844106197357178, -0.8916172981262207, 0.1788683980703354, 1.4292750358581543, 0.4385538399219513, -0.6225461959838867, -1.0254513025283813, -0.8334137201309204, 1.0392582416534424, 1.7782398462295532, -0.001743169967085123, 0.011220625601708889, 0.8497872948646545, 0.7626949548721313, -1.2005069255828857, 0.11643892526626587, -0.5126129984855652, -0.7363325953483582, 1.6709593534469604, 2.0951054096221924, -0.12891674041748047, -0.14682011306285858, -0.6551443338394165, -1.3784304857254028, 0.7829177379608154, -0.016780249774456024, -0.004652871750295162, 0.7442923784255981, -0.7196267247200012, 1.1777689456939697, 0.7274385690689087, 0.9415699243545532, 0.08518941700458527, 0.20374515652656555, 0.3532402813434601, -0.2848753333091736, -1.2356146574020386, -0.3835545480251312, -1.1042670011520386, -2.567582607269287, 0.37353983521461487, -0.24171386659145355, -1.3722827434539795, 0.10358533263206482, -1.0243358612060547, 0.8078116774559021, -0.6594932675361633, -1.194045066833496, -1.4453325271606445, 0.3006480932235718, -0.08996719121932983, 0.8695356845855713, -1.6651257276535034, -0.24048246443271637, 1.120582938194275, 0.9349530935287476, -0.6536492109298706, 0.9003618359565735, 0.2969471514225006, 0.9560858607292175, 0.7952395677566528, -0.40476229786872864, 0.6327993273735046, 0.11713328957557678, -1.3709721565246582, 0.5978963971138, 1.3030537366867065, 0.14179761707782745, 1.4592781066894531, -0.45448553562164307, 0.006299859844148159, 0.4580332338809967, -0.5319796800613403, -0.5964683890342712, -0.5723126530647278, 0.6828959584236145, -0.013083115220069885, -0.9456802606582642, -0.15110346674919128, -0.011659674346446991, -0.2601096034049988, 0.2294551283121109, -1.5384411811828613, -0.16238465905189514, -0.3812033236026764, -0.6290916800498962, -1.3190627098083496, -0.1017732173204422, 1.3684916496276855, -0.859092652797699, -0.19989140331745148, 0.5271735787391663, 0.28121230006217957, 0.5577439069747925, 0.6132935881614685, -0.7755064368247986, -0.23976178467273712, -0.19037653505802155, -0.3215605318546295, 0.3167901337146759, 1.2279545068740845, 0.019527576863765717, -0.9504874348640442, 0.6329277753829956, -0.339210569858551, 0.22094500064849854, 1.9040664434432983, 0.011131617240607738, -0.6936047077178955, 0.3620806634426117, -0.7438568472862244, 1.8232448101043701, 1.6272833347320557, 1.3493859767913818, -0.09231259673833847, -0.9228463768959045, 0.6427798271179199, -0.3260515332221985, -0.38138216733932495, 0.9334446787834167, 0.39806708693504333, -0.2479589879512787, -1.4111589193344116, 0.8087048530578613, 1.172680139541626, -0.8161857724189758, -0.7845970392227173, 0.06687641143798828, -0.8322240114212036, 1.197318196296692, 0.567795991897583, 0.1876465380191803, 0.17733940482139587, 1.5849008560180664, 0.728211522102356, -0.44903334975242615, 0.4228561222553253, 0.5366859436035156, -0.1547601819038391, -2.1454358100891113, -1.1041460037231445, 0.3006618022918701, -0.35625699162483215, -1.5822798013687134, 1.3917438983917236, -1.109709620475769, -0.9347190260887146, 0.5412353873252869, 0.09290436655282974, 1.4148674011230469, 0.2437177151441574, 1.7126532793045044, 2.0813143253326416, 0.854221761226654, 0.44111791253089905, 1.1718922853469849, -0.1840573251247406, -0.2721021771430969, 1.7547045946121216, -0.38901287317276, 0.6274775862693787, 0.9846977591514587, -0.48934119939804077, -1.2402762174606323, -0.7781250476837158, -1.3427337408065796, -0.7492443323135376, 1.1083897352218628, 0.03559911623597145, -1.0433536767959595, 0.2546002268791199, 1.5347338914871216, 0.18252107501029968, -0.1666029393672943, 0.7005612850189209, 0.3322710394859314, -0.6884878873825073, -0.11290930211544037, -0.9801447987556458, 0.5358548760414124, -0.2403978854417801, -0.3488035500049591, 0.2142668068408966, 0.511970579624176, 1.2795429229736328, 0.11233033239841461, 0.0733102560043335, 1.169647455215454, -1.3971366882324219, 1.3801487684249878, -0.7187628746032715, 0.28642937541007996, -2.3900492191314697, 1.4575330018997192, -0.861338198184967, 1.9513773918151855, -2.6439249515533447, 0.5504835247993469, -0.5823490619659424, -0.5404542088508606, 0.28840169310569763, -0.23916780948638916, 0.1075851321220398, -0.06369707733392715, -1.0773450136184692, -0.042689770460128784, -0.5971252918243408, 0.7068778872489929, 1.2613029479980469, 1.3502343893051147, -1.0390154123306274, -0.22465115785598755, -1.719718098640442, -0.11078952997922897, -0.7275450825691223, 0.25847625732421875, -1.9515451192855835, -0.14508703351020813, -2.003761053085327, -2.431550979614258, -1.177341103553772, -0.869615375995636, 1.0999343395233154, 0.19912604987621307, -0.8531667590141296, 1.2769604921340942, -0.37647056579589844, -1.6609117984771729, 1.0940546989440918, -2.23064923286438 ]
https://github.com/huggingface/datasets/issues/4261
data leakage in `webis/conclugen` dataset
Hi @xflashxx, thanks for reporting. Please note that this dataset was generated and shared by Webis Group: https://huggingface.co/webis We are contacting the dataset owners to inform them about the issue you found. We'll keep you updated of their reply.
## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate samples. ## Steps to reproduce the bug ```python from datasets import load_dataset training = load_dataset("webis/conclugen", "base", split="train") validation = load_dataset("webis/conclugen", "base", split="validation") testing = load_dataset("webis/conclugen", "base", split="test") # collect which sample id's are present in the training split ids_validation = list() ids_testing = list() for train_sample in training: train_argument = train_sample["argument"] train_conclusion = train_sample["conclusion"] train_id = train_sample["id"] # test if current sample is in validation split if train_argument in validation["argument"]: for validation_sample in validation: validation_argument = validation_sample["argument"] validation_conclusion = validation_sample["conclusion"] validation_id = validation_sample["id"] if train_argument == validation_argument and train_conclusion == validation_conclusion: ids_validation.append(validation_id) # test if current sample is in test split if train_argument in testing["argument"]: for testing_sample in testing: testing_argument = testing_sample["argument"] testing_conclusion = testing_sample["conclusion"] testing_id = testing_sample["id"] if train_argument == testing_argument and train_conclusion == testing_conclusion: ids_testing.append(testing_id) ``` ## Expected results Length of both lists `ids_validation` and `ids_testing` should be zero. ## Actual results Length of `ids_validation` = `2556` Length of `ids_testing` = `287` Furthermore, there seems to be duplicate samples in (at least) the *training* split, since: `print(len(set(ids_validation)))` = `950` `print(len(set(ids_testing)))` = `101` All in all, around 7% of the samples of each the *validation* and *test* split seems to be present in the *training* split. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.4 - Platform: macOS-12.3.1-arm64-arm-64bit - Python version: 3.9.10 - PyArrow version: 7.0.0
779
39
data leakage in `webis/conclugen` dataset ## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate samples. ## Steps to reproduce the bug ```python from datasets import load_dataset training = load_dataset("webis/conclugen", "base", split="train") validation = load_dataset("webis/conclugen", "base", split="validation") testing = load_dataset("webis/conclugen", "base", split="test") # collect which sample id's are present in the training split ids_validation = list() ids_testing = list() for train_sample in training: train_argument = train_sample["argument"] train_conclusion = train_sample["conclusion"] train_id = train_sample["id"] # test if current sample is in validation split if train_argument in validation["argument"]: for validation_sample in validation: validation_argument = validation_sample["argument"] validation_conclusion = validation_sample["conclusion"] validation_id = validation_sample["id"] if train_argument == validation_argument and train_conclusion == validation_conclusion: ids_validation.append(validation_id) # test if current sample is in test split if train_argument in testing["argument"]: for testing_sample in testing: testing_argument = testing_sample["argument"] testing_conclusion = testing_sample["conclusion"] testing_id = testing_sample["id"] if train_argument == testing_argument and train_conclusion == testing_conclusion: ids_testing.append(testing_id) ``` ## Expected results Length of both lists `ids_validation` and `ids_testing` should be zero. ## Actual results Length of `ids_validation` = `2556` Length of `ids_testing` = `287` Furthermore, there seems to be duplicate samples in (at least) the *training* split, since: `print(len(set(ids_validation)))` = `950` `print(len(set(ids_testing)))` = `101` All in all, around 7% of the samples of each the *validation* and *test* split seems to be present in the *training* split. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.4 - Platform: macOS-12.3.1-arm64-arm-64bit - Python version: 3.9.10 - PyArrow version: 7.0.0 Hi @xflashxx, thanks for reporting. Please note that this dataset was generated and shared by Webis Group: https://huggingface.co/webis We are contacting the dataset owners to inform them about the issue you found. We'll keep you updated of their reply.
[ -1.1850128173828125, -0.8288457989692688, -0.7298829555511475, 1.6133310794830322, -0.09050996601581573, -1.210353970527649, 0.24917517602443695, -1.1905503273010254, 1.618338704109192, -0.7925393581390381, 0.35828694701194763, -1.5884159803390503, -0.008825693279504776, -0.7666711211204529, -0.6901648044586182, -0.8688499331474304, -0.3479243218898773, -0.5777217745780945, 1.1109888553619385, 2.3331027030944824, 1.4123860597610474, -1.2501405477523804, 2.8047499656677246, 0.7978246212005615, -0.21886132657527924, -0.9612604379653931, 0.5478196740150452, 0.02871645987033844, -1.18520987033844, -0.531860888004303, -0.8986393213272095, -0.12213888764381409, -0.5283339619636536, -0.26326611638069153, -0.1297103315591812, 0.5184047222137451, -0.44747018814086914, -0.4336589574813843, -0.722226083278656, -0.8702584505081177, 0.4093734622001648, -0.39438596367836, 0.954069197177887, -0.4282854199409485, 1.8111673593521118, -0.7324260473251343, 0.4117610454559326, 0.7793376445770264, 1.1223620176315308, 0.2392302006483078, -0.052328333258628845, 0.29567915201187134, 0.3427700698375702, -0.17236867547035217, 0.5814785957336426, 1.2605259418487549, 0.659932017326355, 0.5603408217430115, 0.8065465092658997, -2.1139910221099854, 1.226979374885559, -1.1133694648742676, 0.23768790066242218, 1.4644906520843506, -0.9730555415153503, 0.3652488887310028, -1.7340551614761353, -0.02505546808242798, 0.6884843111038208, -2.2866947650909424, 0.37035489082336426, -1.3971892595291138, -0.6763643622398376, 0.8513696193695068, 0.47334954142570496, -1.1861740350723267, 0.18825241923332214, -0.48780208826065063, 1.0208237171173096, 0.4842144250869751, 0.9944844245910645, -1.6686781644821167, -0.12192526459693909, -0.28385013341903687, 0.09270521998405457, -1.4174418449401855, -1.5075517892837524, 0.7473252415657043, 0.6061872839927673, 0.5431405305862427, -0.13644322752952576, 1.175377607345581, -1.127571940422058, 0.8309649229049683, -1.1482703685760498, -1.6879926919937134, -1.5014830827713013, -2.3274645805358887, -2.0540223121643066, 0.7689869999885559, -0.41174328327178955, -0.6847536563873291, 2.075976610183716, -0.9362926483154297, -1.5747671127319336, 1.05062735080719, 0.2036479413509369, 0.14443939924240112, 2.51161789894104, 0.1779824197292328, -0.7654625773429871, 0.48255372047424316, -0.7816205620765686, 0.6938892006874084, -0.2838459610939026, 1.2068235874176025, 0.3960832953453064, -1.0613535642623901, 1.625671625137329, -0.33880847692489624, 0.6999801993370056, -0.6992133259773254, -0.6770646572113037, -0.7283459305763245, 0.27299559116363525, 1.8948878049850464, -0.1605440378189087, 1.5868370532989502, -0.25267618894577026, -1.474518895149231, -1.6759592294692993, 0.9123266339302063, 0.2866847813129425, -0.7654806971549988, 0.12252776324748993, -0.39830273389816284, 0.3400796353816986, -0.14423993229866028, 1.1296039819717407, 1.3431874513626099, 0.6221439838409424, -0.35968416929244995, -0.7036917805671692, 0.06344115734100342, -0.0630965381860733, -0.8452177047729492, -1.6963343620300293, -0.362242728471756, 0.06824824213981628, 0.5531722903251648, -1.1908601522445679, 1.7689288854599, 0.9227009415626526, 1.7796953916549683, 1.0919322967529297, -0.3674677908420563, 1.4442681074142456, 0.018566347658634186, 1.6940832138061523, -0.5128424763679504, 0.602031946182251, -0.20747405290603638, -1.105137825012207, 0.9224681854248047, -0.3219594359397888, -1.9700844287872314, -0.8480105996131897, -0.6870965361595154, -0.12245213985443115, -0.6686800122261047, 0.8442297577857971, -0.35188284516334534, -1.3785467147827148, 0.24876539409160614, -0.703814685344696, 0.15496599674224854, -1.2292463779449463, 0.2909487783908844, 0.6499028205871582, -0.6069754958152771, 0.061846520751714706, -0.17515580356121063, -1.1336126327514648, -0.451835572719574, 0.30308258533477783, 1.9978315830230713, -0.5880947113037109, 0.6748960018157959, 1.0685656070709229, -0.7975852489471436, -0.01978517509996891, 0.3671629726886749, -0.26660460233688354, 0.8794015645980835, -1.0909403562545776, -0.5689626932144165, 1.1178892850875854, -0.23085680603981018, -0.7108898162841797, 1.5517841577529907, 0.886654794216156, -1.0343369245529175, -0.2740669548511505, -0.11157749593257904, -0.9041234254837036, 0.17443004250526428, -1.4365050792694092, -0.20354537665843964, 0.5523473024368286, -1.5057687759399414, -0.4379456341266632, -0.07782503962516785, 1.325095295906067, -0.292127788066864, 1.5262519121170044, -0.44819748401641846, -0.22659814357757568, -0.14385046064853668, -0.42848074436187744, 0.04955452308058739, -0.2643791735172272, -0.6821492314338684, 0.02880733832716942, -0.5708248615264893, 0.3300798535346985, 1.4032751321792603, 0.3724273443222046, 0.040223587304353714, 0.4672750234603882, 1.1904590129852295, 0.3451824486255646, -0.09288586676120758, -0.8975558876991272, -1.4087713956832886, 1.8585258722305298, -1.353269100189209, 2.0284423828125, 0.7905079126358032, -0.0006823167204856873, -1.7166786193847656, -1.8857836723327637, 1.310194730758667, 1.1782634258270264, 2.2648184299468994, 0.46647322177886963, 0.35229578614234924, -0.8928137421607971, -0.806983470916748, 0.23324286937713623, -0.9899330735206604, -0.5493678450584412, 0.29137569665908813, 2.4183883666992188, 1.8955742120742798, -0.4420945644378662, -0.2750775218009949, -0.9336946606636047, 1.4276628494262695, -0.3112504780292511, 0.10352139174938202, 2.03143048286438, -0.16946932673454285, -1.0516940355300903, 1.256140947341919, -2.3306217193603516, 0.011744137853384018, 1.994023323059082, 0.2959478795528412, 0.1453016698360443, -1.2949494123458862, -0.6761122345924377, -0.5092417001724243, -0.43436554074287415, -1.271870493888855, 0.41170063614845276, -0.3030700087547302, -0.6377744078636169, -1.3435198068618774, 0.22842010855674744, -1.150661587715149, -1.5356779098510742, 0.0950208455324173, 1.9020559787750244, 2.004282236099243, -0.833495557308197, 1.730973482131958, -0.376918226480484, -0.05908507853746414, 1.220420241355896, 1.409874439239502, 3.1641955375671387, 1.8382164239883423, -1.2279183864593506, 0.6888794302940369, -0.12655481696128845, -0.49998533725738525, 1.1067185401916504, -1.2728232145309448, 1.3404741287231445, -0.1969224214553833, -1.2028107643127441, -1.3245738744735718, 0.8462910652160645, 0.39899906516075134, 0.10253758728504181, -0.5872864127159119, 1.0396710634231567, 0.08491615951061249, 1.4584362506866455, 0.5888433456420898, -0.31388968229293823, 0.49219968914985657, -0.39245301485061646, -0.4542016088962555, 1.527814269065857, 0.18557661771774292, -1.378757357597351, -2.243229866027832, -0.10566100478172302, -0.7999095916748047, 0.051160577684640884, -0.7077728509902954, -1.0776017904281616, 1.7337881326675415, 0.3030790090560913, -1.3627594709396362, -0.2274472564458847, -0.2863382399082184, -0.57193922996521, 2.8027031421661377, -1.3522953987121582, -0.27017807960510254, -1.0642398595809937, -0.8112149238586426, 1.7731915712356567, -1.1442365646362305, -0.22484932839870453, -1.0171308517456055, -0.49563243985176086, -1.2609995603561401, -0.44650745391845703, -0.008383241482079029, -0.949439525604248, 0.7944316864013672, 0.20187699794769287, -1.2923731803894043, -0.39947712421417236, -0.8434638977050781, 1.0453640222549438, -0.24409019947052002, 0.0877620279788971, 1.9314144849777222, 0.2598789632320404, -0.42477846145629883, 0.7798312306404114, 1.1538748741149902, 0.6031546592712402, -0.7222252488136292, 0.1091509610414505, -0.6867478489875793, 0.3686634600162506, -1.2809847593307495, 0.26714015007019043, -2.81172513961792, 0.5791544318199158, -0.011654756031930447, -0.13090668618679047, 0.03430299460887909, -1.3291300535202026, 1.191648244857788, 2.636197805404663, -1.139594554901123, 0.49256858229637146, 0.36351630091667175, 1.1498318910598755, -1.7378220558166504, 0.3102305233478546, -0.3734841048717499, 1.9269604682922363, 0.2110019475221634, 1.2870680093765259, -0.3891950249671936, -2.338247060775757, 0.5779564380645752, -1.3168137073516846, -1.2483043670654297, 0.8324637413024902, -0.9242396950721741, 0.32262322306632996, -1.3974695205688477, -0.42278823256492615, -0.8790345191955566, -1.1005111932754517, 0.7212647199630737, 0.12210358679294586, 0.30689048767089844, -0.572175920009613, 0.27254718542099, -2.3020832538604736, -1.350378394126892, -0.22249288856983185, -0.9792759418487549, 0.531373918056488, -0.5050686001777649, 0.6855236291885376, -0.07343198359012604, 0.018454426899552345, 0.2684125602245331, 1.543584942817688, 3.3115170001983643, 0.20326653122901917, 0.3136514127254486, -0.23656146228313446, -0.828021764755249, 1.567171573638916, 0.7466260194778442, -0.027559032663702965, -0.4511869251728058, -1.0087239742279053, 1.3956080675125122, 1.7837316989898682, 0.9602524042129517, 0.02591438964009285, -0.8537827134132385, -0.6876962184906006, -0.25928443670272827, 0.2257712185382843, 0.3762643039226532, 0.9025906920433044, 0.019936567172408104, -0.02521657757461071, 1.4081099033355713, 1.161088466644287, -0.5348073244094849, 0.21848748624324799, -0.8854330778121948, -0.39220014214515686, 0.5068411827087402, 0.2275233417749405, -0.08521844446659088, 0.4117925763130188, -0.9324040412902832, -0.1890415996313095, -0.4352893829345703, -0.7770095467567444, -0.6430737972259521, -0.4054219424724579, -0.3737107813358307, 1.6277016401290894, 0.06857246160507202, -0.49426987767219543, -0.05311362072825432, -0.8627334237098694, -0.15105803310871124, -1.2632853984832764, 0.2394304871559143, -0.05902648717164993, -0.18786481022834778, -0.17725622653961182, 1.7203247547149658, -0.9024670720100403, -1.965064287185669, 0.15314750373363495, 0.201556995511055, -0.10309955477714539, 0.18618912994861603, 1.7500818967819214, 0.41405540704727173, 1.441446304321289, 1.2776198387145996, 0.9982681274414062, -0.6746858358383179, -1.3071733713150024, 0.578332245349884, 0.9597965478897095, -1.274835467338562, 0.9000098705291748, -0.09725524485111237, -0.4628465175628662, 0.5305715203285217, 1.2659187316894531, 0.5562675595283508, -1.941820502281189, 0.8313701748847961, -0.9867342114448547, 0.8120219707489014, 0.7504948377609253, 0.5614352226257324, 0.32531431317329407, 0.9310784339904785, -1.145263671875, -1.1629829406738281, -0.638984203338623, -0.644514262676239, 1.9362990856170654, -0.3514946401119232, 0.7507588267326355, -0.3300195038318634, -1.3090571165084839, 0.0459897518157959, 0.7003594636917114, 0.5292873382568359, -0.49183470010757446, 0.7955524325370789, -0.7029809951782227, -1.0889297723770142, -1.2597465515136719, -0.3237816393375397, -1.0094317197799683, -0.9731878042221069, 1.0592522621154785, 0.7846466898918152, 0.23500028252601624, 1.9157383441925049, 0.7683678865432739, 0.40013256669044495, -2.4023311138153076, 0.878078818321228, 0.27283400297164917, -0.10000203549861908, 0.8104627728462219, 0.5527700185775757, 1.0338207483291626, 0.1129363626241684, 0.37759116291999817, -2.5429508686065674, 2.3828625679016113, -0.19560016691684723, 0.6689885854721069, -0.09244877099990845, -0.15274985134601593, 1.193273663520813, 0.666791558265686, 0.4303285777568817, -0.9637688994407654, 0.5859103798866272, -0.4299752712249756, 1.245420217514038, 0.8686298131942749, -0.8090793490409851, 0.13866610825061798, 1.3762271404266357, 0.467046320438385, -0.6574214696884155, -1.035941243171692, -0.7954429388046265, 0.9162575602531433, 1.558160662651062, 0.20672740042209625, -0.015100112184882164, 0.9308174252510071, 0.7079005837440491, -1.1674455404281616, 0.10131505131721497, -0.6151885390281677, -0.8788549304008484, 1.6719493865966797, 2.0361807346343994, -0.25699710845947266, -0.30051717162132263, -0.6806026697158813, -1.2713013887405396, 0.8410719633102417, -0.0658361092209816, 0.09742136299610138, 0.5413344502449036, -0.5900340676307678, 0.973304271697998, 0.8782748579978943, 0.9661071300506592, 0.2782400846481323, 0.28182321786880493, 0.5193724632263184, -0.5095183253288269, -1.1927745342254639, -0.07791590690612793, -0.965979814529419, -2.6494293212890625, 0.48382142186164856, -0.147558331489563, -1.2425273656845093, 0.02873924747109413, -1.0905998945236206, 0.9960929155349731, -0.6607109904289246, -1.138452172279358, -1.708361029624939, 0.23088201880455017, -0.015707578510046005, 0.9153842329978943, -1.5199095010757446, -0.33087795972824097, 1.1618390083312988, 0.8304876089096069, -0.7083929777145386, 0.9172696471214294, 0.11264120042324066, 1.0789240598678589, 0.7904442548751831, -0.41452494263648987, 0.5279324054718018, -0.1724296510219574, -1.4471956491470337, 0.4318643808364868, 1.1961477994918823, 0.12825240194797516, 1.5557669401168823, -0.5223031640052795, 0.04088146984577179, 0.38282379508018494, -0.6329051852226257, -0.48514479398727417, -0.6034498810768127, 0.6422024965286255, 0.0348326750099659, -0.8723984360694885, -0.10468310117721558, -0.17027510702610016, -0.3689171373844147, 0.1508806049823761, -1.3580310344696045, 0.02164703607559204, -0.4096467196941376, -0.573650062084198, -1.1676955223083496, 0.022500067949295044, 1.3000813722610474, -0.6927585005760193, -0.25543180108070374, 0.4539356231689453, 0.2945733666419983, 0.5272791385650635, 0.5774596333503723, -0.7776232957839966, -0.14107613265514374, -0.22246327996253967, -0.29910555481910706, 0.4143091142177582, 1.3309060335159302, -0.15297816693782806, -0.9172952175140381, 0.5962815880775452, -0.2542988359928131, 0.09456315636634827, 2.104196071624756, 0.10245588421821594, -0.6873965263366699, 0.2665312886238098, -0.8087010383605957, 1.94074547290802, 1.7339892387390137, 1.357820987701416, -0.1977234184741974, -0.8334817290306091, 0.6328310370445251, -0.534152090549469, -0.4474317133426666, 0.71733558177948, 0.33018308877944946, -0.3399750888347626, -1.5347188711166382, 0.853984534740448, 1.2492179870605469, -0.7191157341003418, -0.7007720470428467, 0.15775884687900543, -0.7339386343955994, 1.0999321937561035, 0.5977752804756165, 0.3615914285182953, 0.48411279916763306, 1.6704095602035522, 0.7963007092475891, -0.47928082942962646, 0.34244510531425476, 0.6693417429924011, -0.16829445958137512, -2.110379934310913, -1.259414553642273, 0.38073447346687317, -0.6798232197761536, -1.7286792993545532, 1.4785008430480957, -1.025659441947937, -1.1479934453964233, 0.5875157117843628, 0.07915367186069489, 1.3078324794769287, 0.33493366837501526, 1.5308929681777954, 1.967328667640686, 0.7136680483818054, 0.5477972626686096, 1.144616961479187, -0.23431986570358276, -0.5627185106277466, 1.871807336807251, -0.5190844535827637, 0.4934440553188324, 1.074737310409546, -0.1302497535943985, -1.234075665473938, -0.7428185939788818, -1.2747697830200195, -0.8003197312355042, 1.3235220909118652, 0.015620483085513115, -0.9996445178985596, 0.2864173352718353, 1.5170769691467285, 0.02806108444929123, -0.39796000719070435, 0.6331142783164978, 0.2797662317752838, -0.7803409099578857, 0.0020622070878744125, -1.0234622955322266, 0.71804279088974, -0.10267555713653564, -0.30027973651885986, 0.2774502635002136, 0.45967283844947815, 1.5000232458114624, -0.01994716189801693, 0.13867922127246857, 1.0374892950057983, -1.4603527784347534, 1.5811903476715088, -0.716949999332428, 0.26308339834213257, -2.4399640560150146, 1.4413471221923828, -0.7679167985916138, 1.9646753072738647, -2.5632193088531494, 0.4244341254234314, -0.5058401823043823, -0.4768470525741577, 0.2686104476451874, -0.46477997303009033, 0.08928713202476501, -0.0848640501499176, -1.1842505931854248, 0.06526443362236023, -0.6308624148368835, 0.5799827575683594, 1.054882287979126, 1.4579273462295532, -1.1790931224822998, -0.1809329241514206, -1.7129173278808594, -0.0190869327634573, -0.8742940425872803, 0.22031345963478088, -1.948683500289917, -0.1645655483007431, -1.865746021270752, -2.3562982082366943, -1.2201929092407227, -0.7647512555122375, 1.018817663192749, 0.1759301871061325, -0.949636697769165, 1.4379663467407227, -0.4387843906879425, -1.7594094276428223, 1.1259135007858276, -2.027625560760498 ]
https://github.com/huggingface/datasets/issues/4261
data leakage in `webis/conclugen` dataset
Thanks for reporting this @xflashxx. I'll have a look and get back to you on this.
## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate samples. ## Steps to reproduce the bug ```python from datasets import load_dataset training = load_dataset("webis/conclugen", "base", split="train") validation = load_dataset("webis/conclugen", "base", split="validation") testing = load_dataset("webis/conclugen", "base", split="test") # collect which sample id's are present in the training split ids_validation = list() ids_testing = list() for train_sample in training: train_argument = train_sample["argument"] train_conclusion = train_sample["conclusion"] train_id = train_sample["id"] # test if current sample is in validation split if train_argument in validation["argument"]: for validation_sample in validation: validation_argument = validation_sample["argument"] validation_conclusion = validation_sample["conclusion"] validation_id = validation_sample["id"] if train_argument == validation_argument and train_conclusion == validation_conclusion: ids_validation.append(validation_id) # test if current sample is in test split if train_argument in testing["argument"]: for testing_sample in testing: testing_argument = testing_sample["argument"] testing_conclusion = testing_sample["conclusion"] testing_id = testing_sample["id"] if train_argument == testing_argument and train_conclusion == testing_conclusion: ids_testing.append(testing_id) ``` ## Expected results Length of both lists `ids_validation` and `ids_testing` should be zero. ## Actual results Length of `ids_validation` = `2556` Length of `ids_testing` = `287` Furthermore, there seems to be duplicate samples in (at least) the *training* split, since: `print(len(set(ids_validation)))` = `950` `print(len(set(ids_testing)))` = `101` All in all, around 7% of the samples of each the *validation* and *test* split seems to be present in the *training* split. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.4 - Platform: macOS-12.3.1-arm64-arm-64bit - Python version: 3.9.10 - PyArrow version: 7.0.0
779
16
data leakage in `webis/conclugen` dataset ## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate samples. ## Steps to reproduce the bug ```python from datasets import load_dataset training = load_dataset("webis/conclugen", "base", split="train") validation = load_dataset("webis/conclugen", "base", split="validation") testing = load_dataset("webis/conclugen", "base", split="test") # collect which sample id's are present in the training split ids_validation = list() ids_testing = list() for train_sample in training: train_argument = train_sample["argument"] train_conclusion = train_sample["conclusion"] train_id = train_sample["id"] # test if current sample is in validation split if train_argument in validation["argument"]: for validation_sample in validation: validation_argument = validation_sample["argument"] validation_conclusion = validation_sample["conclusion"] validation_id = validation_sample["id"] if train_argument == validation_argument and train_conclusion == validation_conclusion: ids_validation.append(validation_id) # test if current sample is in test split if train_argument in testing["argument"]: for testing_sample in testing: testing_argument = testing_sample["argument"] testing_conclusion = testing_sample["conclusion"] testing_id = testing_sample["id"] if train_argument == testing_argument and train_conclusion == testing_conclusion: ids_testing.append(testing_id) ``` ## Expected results Length of both lists `ids_validation` and `ids_testing` should be zero. ## Actual results Length of `ids_validation` = `2556` Length of `ids_testing` = `287` Furthermore, there seems to be duplicate samples in (at least) the *training* split, since: `print(len(set(ids_validation)))` = `950` `print(len(set(ids_testing)))` = `101` All in all, around 7% of the samples of each the *validation* and *test* split seems to be present in the *training* split. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.4 - Platform: macOS-12.3.1-arm64-arm-64bit - Python version: 3.9.10 - PyArrow version: 7.0.0 Thanks for reporting this @xflashxx. I'll have a look and get back to you on this.
[ -1.1850128173828125, -0.8288457989692688, -0.7298829555511475, 1.6133310794830322, -0.09050996601581573, -1.210353970527649, 0.24917517602443695, -1.1905503273010254, 1.618338704109192, -0.7925393581390381, 0.35828694701194763, -1.5884159803390503, -0.008825693279504776, -0.7666711211204529, -0.6901648044586182, -0.8688499331474304, -0.3479243218898773, -0.5777217745780945, 1.1109888553619385, 2.3331027030944824, 1.4123860597610474, -1.2501405477523804, 2.8047499656677246, 0.7978246212005615, -0.21886132657527924, -0.9612604379653931, 0.5478196740150452, 0.02871645987033844, -1.18520987033844, -0.531860888004303, -0.8986393213272095, -0.12213888764381409, -0.5283339619636536, -0.26326611638069153, -0.1297103315591812, 0.5184047222137451, -0.44747018814086914, -0.4336589574813843, -0.722226083278656, -0.8702584505081177, 0.4093734622001648, -0.39438596367836, 0.954069197177887, -0.4282854199409485, 1.8111673593521118, -0.7324260473251343, 0.4117610454559326, 0.7793376445770264, 1.1223620176315308, 0.2392302006483078, -0.052328333258628845, 0.29567915201187134, 0.3427700698375702, -0.17236867547035217, 0.5814785957336426, 1.2605259418487549, 0.659932017326355, 0.5603408217430115, 0.8065465092658997, -2.1139910221099854, 1.226979374885559, -1.1133694648742676, 0.23768790066242218, 1.4644906520843506, -0.9730555415153503, 0.3652488887310028, -1.7340551614761353, -0.02505546808242798, 0.6884843111038208, -2.2866947650909424, 0.37035489082336426, -1.3971892595291138, -0.6763643622398376, 0.8513696193695068, 0.47334954142570496, -1.1861740350723267, 0.18825241923332214, -0.48780208826065063, 1.0208237171173096, 0.4842144250869751, 0.9944844245910645, -1.6686781644821167, -0.12192526459693909, -0.28385013341903687, 0.09270521998405457, -1.4174418449401855, -1.5075517892837524, 0.7473252415657043, 0.6061872839927673, 0.5431405305862427, -0.13644322752952576, 1.175377607345581, -1.127571940422058, 0.8309649229049683, -1.1482703685760498, -1.6879926919937134, -1.5014830827713013, -2.3274645805358887, -2.0540223121643066, 0.7689869999885559, -0.41174328327178955, -0.6847536563873291, 2.075976610183716, -0.9362926483154297, -1.5747671127319336, 1.05062735080719, 0.2036479413509369, 0.14443939924240112, 2.51161789894104, 0.1779824197292328, -0.7654625773429871, 0.48255372047424316, -0.7816205620765686, 0.6938892006874084, -0.2838459610939026, 1.2068235874176025, 0.3960832953453064, -1.0613535642623901, 1.625671625137329, -0.33880847692489624, 0.6999801993370056, -0.6992133259773254, -0.6770646572113037, -0.7283459305763245, 0.27299559116363525, 1.8948878049850464, -0.1605440378189087, 1.5868370532989502, -0.25267618894577026, -1.474518895149231, -1.6759592294692993, 0.9123266339302063, 0.2866847813129425, -0.7654806971549988, 0.12252776324748993, -0.39830273389816284, 0.3400796353816986, -0.14423993229866028, 1.1296039819717407, 1.3431874513626099, 0.6221439838409424, -0.35968416929244995, -0.7036917805671692, 0.06344115734100342, -0.0630965381860733, -0.8452177047729492, -1.6963343620300293, -0.362242728471756, 0.06824824213981628, 0.5531722903251648, -1.1908601522445679, 1.7689288854599, 0.9227009415626526, 1.7796953916549683, 1.0919322967529297, -0.3674677908420563, 1.4442681074142456, 0.018566347658634186, 1.6940832138061523, -0.5128424763679504, 0.602031946182251, -0.20747405290603638, -1.105137825012207, 0.9224681854248047, -0.3219594359397888, -1.9700844287872314, -0.8480105996131897, -0.6870965361595154, -0.12245213985443115, -0.6686800122261047, 0.8442297577857971, -0.35188284516334534, -1.3785467147827148, 0.24876539409160614, -0.703814685344696, 0.15496599674224854, -1.2292463779449463, 0.2909487783908844, 0.6499028205871582, -0.6069754958152771, 0.061846520751714706, -0.17515580356121063, -1.1336126327514648, -0.451835572719574, 0.30308258533477783, 1.9978315830230713, -0.5880947113037109, 0.6748960018157959, 1.0685656070709229, -0.7975852489471436, -0.01978517509996891, 0.3671629726886749, -0.26660460233688354, 0.8794015645980835, -1.0909403562545776, -0.5689626932144165, 1.1178892850875854, -0.23085680603981018, -0.7108898162841797, 1.5517841577529907, 0.886654794216156, -1.0343369245529175, -0.2740669548511505, -0.11157749593257904, -0.9041234254837036, 0.17443004250526428, -1.4365050792694092, -0.20354537665843964, 0.5523473024368286, -1.5057687759399414, -0.4379456341266632, -0.07782503962516785, 1.325095295906067, -0.292127788066864, 1.5262519121170044, -0.44819748401641846, -0.22659814357757568, -0.14385046064853668, -0.42848074436187744, 0.04955452308058739, -0.2643791735172272, -0.6821492314338684, 0.02880733832716942, -0.5708248615264893, 0.3300798535346985, 1.4032751321792603, 0.3724273443222046, 0.040223587304353714, 0.4672750234603882, 1.1904590129852295, 0.3451824486255646, -0.09288586676120758, -0.8975558876991272, -1.4087713956832886, 1.8585258722305298, -1.353269100189209, 2.0284423828125, 0.7905079126358032, -0.0006823167204856873, -1.7166786193847656, -1.8857836723327637, 1.310194730758667, 1.1782634258270264, 2.2648184299468994, 0.46647322177886963, 0.35229578614234924, -0.8928137421607971, -0.806983470916748, 0.23324286937713623, -0.9899330735206604, -0.5493678450584412, 0.29137569665908813, 2.4183883666992188, 1.8955742120742798, -0.4420945644378662, -0.2750775218009949, -0.9336946606636047, 1.4276628494262695, -0.3112504780292511, 0.10352139174938202, 2.03143048286438, -0.16946932673454285, -1.0516940355300903, 1.256140947341919, -2.3306217193603516, 0.011744137853384018, 1.994023323059082, 0.2959478795528412, 0.1453016698360443, -1.2949494123458862, -0.6761122345924377, -0.5092417001724243, -0.43436554074287415, -1.271870493888855, 0.41170063614845276, -0.3030700087547302, -0.6377744078636169, -1.3435198068618774, 0.22842010855674744, -1.150661587715149, -1.5356779098510742, 0.0950208455324173, 1.9020559787750244, 2.004282236099243, -0.833495557308197, 1.730973482131958, -0.376918226480484, -0.05908507853746414, 1.220420241355896, 1.409874439239502, 3.1641955375671387, 1.8382164239883423, -1.2279183864593506, 0.6888794302940369, -0.12655481696128845, -0.49998533725738525, 1.1067185401916504, -1.2728232145309448, 1.3404741287231445, -0.1969224214553833, -1.2028107643127441, -1.3245738744735718, 0.8462910652160645, 0.39899906516075134, 0.10253758728504181, -0.5872864127159119, 1.0396710634231567, 0.08491615951061249, 1.4584362506866455, 0.5888433456420898, -0.31388968229293823, 0.49219968914985657, -0.39245301485061646, -0.4542016088962555, 1.527814269065857, 0.18557661771774292, -1.378757357597351, -2.243229866027832, -0.10566100478172302, -0.7999095916748047, 0.051160577684640884, -0.7077728509902954, -1.0776017904281616, 1.7337881326675415, 0.3030790090560913, -1.3627594709396362, -0.2274472564458847, -0.2863382399082184, -0.57193922996521, 2.8027031421661377, -1.3522953987121582, -0.27017807960510254, -1.0642398595809937, -0.8112149238586426, 1.7731915712356567, -1.1442365646362305, -0.22484932839870453, -1.0171308517456055, -0.49563243985176086, -1.2609995603561401, -0.44650745391845703, -0.008383241482079029, -0.949439525604248, 0.7944316864013672, 0.20187699794769287, -1.2923731803894043, -0.39947712421417236, -0.8434638977050781, 1.0453640222549438, -0.24409019947052002, 0.0877620279788971, 1.9314144849777222, 0.2598789632320404, -0.42477846145629883, 0.7798312306404114, 1.1538748741149902, 0.6031546592712402, -0.7222252488136292, 0.1091509610414505, -0.6867478489875793, 0.3686634600162506, -1.2809847593307495, 0.26714015007019043, -2.81172513961792, 0.5791544318199158, -0.011654756031930447, -0.13090668618679047, 0.03430299460887909, -1.3291300535202026, 1.191648244857788, 2.636197805404663, -1.139594554901123, 0.49256858229637146, 0.36351630091667175, 1.1498318910598755, -1.7378220558166504, 0.3102305233478546, -0.3734841048717499, 1.9269604682922363, 0.2110019475221634, 1.2870680093765259, -0.3891950249671936, -2.338247060775757, 0.5779564380645752, -1.3168137073516846, -1.2483043670654297, 0.8324637413024902, -0.9242396950721741, 0.32262322306632996, -1.3974695205688477, -0.42278823256492615, -0.8790345191955566, -1.1005111932754517, 0.7212647199630737, 0.12210358679294586, 0.30689048767089844, -0.572175920009613, 0.27254718542099, -2.3020832538604736, -1.350378394126892, -0.22249288856983185, -0.9792759418487549, 0.531373918056488, -0.5050686001777649, 0.6855236291885376, -0.07343198359012604, 0.018454426899552345, 0.2684125602245331, 1.543584942817688, 3.3115170001983643, 0.20326653122901917, 0.3136514127254486, -0.23656146228313446, -0.828021764755249, 1.567171573638916, 0.7466260194778442, -0.027559032663702965, -0.4511869251728058, -1.0087239742279053, 1.3956080675125122, 1.7837316989898682, 0.9602524042129517, 0.02591438964009285, -0.8537827134132385, -0.6876962184906006, -0.25928443670272827, 0.2257712185382843, 0.3762643039226532, 0.9025906920433044, 0.019936567172408104, -0.02521657757461071, 1.4081099033355713, 1.161088466644287, -0.5348073244094849, 0.21848748624324799, -0.8854330778121948, -0.39220014214515686, 0.5068411827087402, 0.2275233417749405, -0.08521844446659088, 0.4117925763130188, -0.9324040412902832, -0.1890415996313095, -0.4352893829345703, -0.7770095467567444, -0.6430737972259521, -0.4054219424724579, -0.3737107813358307, 1.6277016401290894, 0.06857246160507202, -0.49426987767219543, -0.05311362072825432, -0.8627334237098694, -0.15105803310871124, -1.2632853984832764, 0.2394304871559143, -0.05902648717164993, -0.18786481022834778, -0.17725622653961182, 1.7203247547149658, -0.9024670720100403, -1.965064287185669, 0.15314750373363495, 0.201556995511055, -0.10309955477714539, 0.18618912994861603, 1.7500818967819214, 0.41405540704727173, 1.441446304321289, 1.2776198387145996, 0.9982681274414062, -0.6746858358383179, -1.3071733713150024, 0.578332245349884, 0.9597965478897095, -1.274835467338562, 0.9000098705291748, -0.09725524485111237, -0.4628465175628662, 0.5305715203285217, 1.2659187316894531, 0.5562675595283508, -1.941820502281189, 0.8313701748847961, -0.9867342114448547, 0.8120219707489014, 0.7504948377609253, 0.5614352226257324, 0.32531431317329407, 0.9310784339904785, -1.145263671875, -1.1629829406738281, -0.638984203338623, -0.644514262676239, 1.9362990856170654, -0.3514946401119232, 0.7507588267326355, -0.3300195038318634, -1.3090571165084839, 0.0459897518157959, 0.7003594636917114, 0.5292873382568359, -0.49183470010757446, 0.7955524325370789, -0.7029809951782227, -1.0889297723770142, -1.2597465515136719, -0.3237816393375397, -1.0094317197799683, -0.9731878042221069, 1.0592522621154785, 0.7846466898918152, 0.23500028252601624, 1.9157383441925049, 0.7683678865432739, 0.40013256669044495, -2.4023311138153076, 0.878078818321228, 0.27283400297164917, -0.10000203549861908, 0.8104627728462219, 0.5527700185775757, 1.0338207483291626, 0.1129363626241684, 0.37759116291999817, -2.5429508686065674, 2.3828625679016113, -0.19560016691684723, 0.6689885854721069, -0.09244877099990845, -0.15274985134601593, 1.193273663520813, 0.666791558265686, 0.4303285777568817, -0.9637688994407654, 0.5859103798866272, -0.4299752712249756, 1.245420217514038, 0.8686298131942749, -0.8090793490409851, 0.13866610825061798, 1.3762271404266357, 0.467046320438385, -0.6574214696884155, -1.035941243171692, -0.7954429388046265, 0.9162575602531433, 1.558160662651062, 0.20672740042209625, -0.015100112184882164, 0.9308174252510071, 0.7079005837440491, -1.1674455404281616, 0.10131505131721497, -0.6151885390281677, -0.8788549304008484, 1.6719493865966797, 2.0361807346343994, -0.25699710845947266, -0.30051717162132263, -0.6806026697158813, -1.2713013887405396, 0.8410719633102417, -0.0658361092209816, 0.09742136299610138, 0.5413344502449036, -0.5900340676307678, 0.973304271697998, 0.8782748579978943, 0.9661071300506592, 0.2782400846481323, 0.28182321786880493, 0.5193724632263184, -0.5095183253288269, -1.1927745342254639, -0.07791590690612793, -0.965979814529419, -2.6494293212890625, 0.48382142186164856, -0.147558331489563, -1.2425273656845093, 0.02873924747109413, -1.0905998945236206, 0.9960929155349731, -0.6607109904289246, -1.138452172279358, -1.708361029624939, 0.23088201880455017, -0.015707578510046005, 0.9153842329978943, -1.5199095010757446, -0.33087795972824097, 1.1618390083312988, 0.8304876089096069, -0.7083929777145386, 0.9172696471214294, 0.11264120042324066, 1.0789240598678589, 0.7904442548751831, -0.41452494263648987, 0.5279324054718018, -0.1724296510219574, -1.4471956491470337, 0.4318643808364868, 1.1961477994918823, 0.12825240194797516, 1.5557669401168823, -0.5223031640052795, 0.04088146984577179, 0.38282379508018494, -0.6329051852226257, -0.48514479398727417, -0.6034498810768127, 0.6422024965286255, 0.0348326750099659, -0.8723984360694885, -0.10468310117721558, -0.17027510702610016, -0.3689171373844147, 0.1508806049823761, -1.3580310344696045, 0.02164703607559204, -0.4096467196941376, -0.573650062084198, -1.1676955223083496, 0.022500067949295044, 1.3000813722610474, -0.6927585005760193, -0.25543180108070374, 0.4539356231689453, 0.2945733666419983, 0.5272791385650635, 0.5774596333503723, -0.7776232957839966, -0.14107613265514374, -0.22246327996253967, -0.29910555481910706, 0.4143091142177582, 1.3309060335159302, -0.15297816693782806, -0.9172952175140381, 0.5962815880775452, -0.2542988359928131, 0.09456315636634827, 2.104196071624756, 0.10245588421821594, -0.6873965263366699, 0.2665312886238098, -0.8087010383605957, 1.94074547290802, 1.7339892387390137, 1.357820987701416, -0.1977234184741974, -0.8334817290306091, 0.6328310370445251, -0.534152090549469, -0.4474317133426666, 0.71733558177948, 0.33018308877944946, -0.3399750888347626, -1.5347188711166382, 0.853984534740448, 1.2492179870605469, -0.7191157341003418, -0.7007720470428467, 0.15775884687900543, -0.7339386343955994, 1.0999321937561035, 0.5977752804756165, 0.3615914285182953, 0.48411279916763306, 1.6704095602035522, 0.7963007092475891, -0.47928082942962646, 0.34244510531425476, 0.6693417429924011, -0.16829445958137512, -2.110379934310913, -1.259414553642273, 0.38073447346687317, -0.6798232197761536, -1.7286792993545532, 1.4785008430480957, -1.025659441947937, -1.1479934453964233, 0.5875157117843628, 0.07915367186069489, 1.3078324794769287, 0.33493366837501526, 1.5308929681777954, 1.967328667640686, 0.7136680483818054, 0.5477972626686096, 1.144616961479187, -0.23431986570358276, -0.5627185106277466, 1.871807336807251, -0.5190844535827637, 0.4934440553188324, 1.074737310409546, -0.1302497535943985, -1.234075665473938, -0.7428185939788818, -1.2747697830200195, -0.8003197312355042, 1.3235220909118652, 0.015620483085513115, -0.9996445178985596, 0.2864173352718353, 1.5170769691467285, 0.02806108444929123, -0.39796000719070435, 0.6331142783164978, 0.2797662317752838, -0.7803409099578857, 0.0020622070878744125, -1.0234622955322266, 0.71804279088974, -0.10267555713653564, -0.30027973651885986, 0.2774502635002136, 0.45967283844947815, 1.5000232458114624, -0.01994716189801693, 0.13867922127246857, 1.0374892950057983, -1.4603527784347534, 1.5811903476715088, -0.716949999332428, 0.26308339834213257, -2.4399640560150146, 1.4413471221923828, -0.7679167985916138, 1.9646753072738647, -2.5632193088531494, 0.4244341254234314, -0.5058401823043823, -0.4768470525741577, 0.2686104476451874, -0.46477997303009033, 0.08928713202476501, -0.0848640501499176, -1.1842505931854248, 0.06526443362236023, -0.6308624148368835, 0.5799827575683594, 1.054882287979126, 1.4579273462295532, -1.1790931224822998, -0.1809329241514206, -1.7129173278808594, -0.0190869327634573, -0.8742940425872803, 0.22031345963478088, -1.948683500289917, -0.1645655483007431, -1.865746021270752, -2.3562982082366943, -1.2201929092407227, -0.7647512555122375, 1.018817663192749, 0.1759301871061325, -0.949636697769165, 1.4379663467407227, -0.4387843906879425, -1.7594094276428223, 1.1259135007858276, -2.027625560760498 ]
https://github.com/huggingface/datasets/issues/4261
data leakage in `webis/conclugen` dataset
Hi @xflashxx and @albertvillanova, I have updated the files with de-duplicated splits. Apparently the debate portals from which part of the examples were sourced had unique timestamps for some examples (up to 6%; updated counts in the README) without any actual content updated that lead to "new" items. The length of `ids_validation` and `ids_testing` is zero. Regarding impact on scores: 1. We employed automatic evaluation (on a separate set of 1000 examples) only to justify the exclusion of the smaller models for manual evaluation (due to budget constraints). I am confident the ranking still stands (unsurprisingly, the bigger models doing better than those trained on the smaller splits). We also highlight this in the paper. 2. The examples used for manual evaluation have no overlap with any splits (also because they do not have any ground truth as we applied the trained models on an unlabeled sample to test its practical usage). I've added these two files to the dataset repository. Hope this helps!
## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate samples. ## Steps to reproduce the bug ```python from datasets import load_dataset training = load_dataset("webis/conclugen", "base", split="train") validation = load_dataset("webis/conclugen", "base", split="validation") testing = load_dataset("webis/conclugen", "base", split="test") # collect which sample id's are present in the training split ids_validation = list() ids_testing = list() for train_sample in training: train_argument = train_sample["argument"] train_conclusion = train_sample["conclusion"] train_id = train_sample["id"] # test if current sample is in validation split if train_argument in validation["argument"]: for validation_sample in validation: validation_argument = validation_sample["argument"] validation_conclusion = validation_sample["conclusion"] validation_id = validation_sample["id"] if train_argument == validation_argument and train_conclusion == validation_conclusion: ids_validation.append(validation_id) # test if current sample is in test split if train_argument in testing["argument"]: for testing_sample in testing: testing_argument = testing_sample["argument"] testing_conclusion = testing_sample["conclusion"] testing_id = testing_sample["id"] if train_argument == testing_argument and train_conclusion == testing_conclusion: ids_testing.append(testing_id) ``` ## Expected results Length of both lists `ids_validation` and `ids_testing` should be zero. ## Actual results Length of `ids_validation` = `2556` Length of `ids_testing` = `287` Furthermore, there seems to be duplicate samples in (at least) the *training* split, since: `print(len(set(ids_validation)))` = `950` `print(len(set(ids_testing)))` = `101` All in all, around 7% of the samples of each the *validation* and *test* split seems to be present in the *training* split. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.4 - Platform: macOS-12.3.1-arm64-arm-64bit - Python version: 3.9.10 - PyArrow version: 7.0.0
779
164
data leakage in `webis/conclugen` dataset ## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate samples. ## Steps to reproduce the bug ```python from datasets import load_dataset training = load_dataset("webis/conclugen", "base", split="train") validation = load_dataset("webis/conclugen", "base", split="validation") testing = load_dataset("webis/conclugen", "base", split="test") # collect which sample id's are present in the training split ids_validation = list() ids_testing = list() for train_sample in training: train_argument = train_sample["argument"] train_conclusion = train_sample["conclusion"] train_id = train_sample["id"] # test if current sample is in validation split if train_argument in validation["argument"]: for validation_sample in validation: validation_argument = validation_sample["argument"] validation_conclusion = validation_sample["conclusion"] validation_id = validation_sample["id"] if train_argument == validation_argument and train_conclusion == validation_conclusion: ids_validation.append(validation_id) # test if current sample is in test split if train_argument in testing["argument"]: for testing_sample in testing: testing_argument = testing_sample["argument"] testing_conclusion = testing_sample["conclusion"] testing_id = testing_sample["id"] if train_argument == testing_argument and train_conclusion == testing_conclusion: ids_testing.append(testing_id) ``` ## Expected results Length of both lists `ids_validation` and `ids_testing` should be zero. ## Actual results Length of `ids_validation` = `2556` Length of `ids_testing` = `287` Furthermore, there seems to be duplicate samples in (at least) the *training* split, since: `print(len(set(ids_validation)))` = `950` `print(len(set(ids_testing)))` = `101` All in all, around 7% of the samples of each the *validation* and *test* split seems to be present in the *training* split. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.4 - Platform: macOS-12.3.1-arm64-arm-64bit - Python version: 3.9.10 - PyArrow version: 7.0.0 Hi @xflashxx and @albertvillanova, I have updated the files with de-duplicated splits. Apparently the debate portals from which part of the examples were sourced had unique timestamps for some examples (up to 6%; updated counts in the README) without any actual content updated that lead to "new" items. The length of `ids_validation` and `ids_testing` is zero. Regarding impact on scores: 1. We employed automatic evaluation (on a separate set of 1000 examples) only to justify the exclusion of the smaller models for manual evaluation (due to budget constraints). I am confident the ranking still stands (unsurprisingly, the bigger models doing better than those trained on the smaller splits). We also highlight this in the paper. 2. The examples used for manual evaluation have no overlap with any splits (also because they do not have any ground truth as we applied the trained models on an unlabeled sample to test its practical usage). I've added these two files to the dataset repository. Hope this helps!
[ -1.1850128173828125, -0.8288457989692688, -0.7298829555511475, 1.6133310794830322, -0.09050996601581573, -1.210353970527649, 0.24917517602443695, -1.1905503273010254, 1.618338704109192, -0.7925393581390381, 0.35828694701194763, -1.5884159803390503, -0.008825693279504776, -0.7666711211204529, -0.6901648044586182, -0.8688499331474304, -0.3479243218898773, -0.5777217745780945, 1.1109888553619385, 2.3331027030944824, 1.4123860597610474, -1.2501405477523804, 2.8047499656677246, 0.7978246212005615, -0.21886132657527924, -0.9612604379653931, 0.5478196740150452, 0.02871645987033844, -1.18520987033844, -0.531860888004303, -0.8986393213272095, -0.12213888764381409, -0.5283339619636536, -0.26326611638069153, -0.1297103315591812, 0.5184047222137451, -0.44747018814086914, -0.4336589574813843, -0.722226083278656, -0.8702584505081177, 0.4093734622001648, -0.39438596367836, 0.954069197177887, -0.4282854199409485, 1.8111673593521118, -0.7324260473251343, 0.4117610454559326, 0.7793376445770264, 1.1223620176315308, 0.2392302006483078, -0.052328333258628845, 0.29567915201187134, 0.3427700698375702, -0.17236867547035217, 0.5814785957336426, 1.2605259418487549, 0.659932017326355, 0.5603408217430115, 0.8065465092658997, -2.1139910221099854, 1.226979374885559, -1.1133694648742676, 0.23768790066242218, 1.4644906520843506, -0.9730555415153503, 0.3652488887310028, -1.7340551614761353, -0.02505546808242798, 0.6884843111038208, -2.2866947650909424, 0.37035489082336426, -1.3971892595291138, -0.6763643622398376, 0.8513696193695068, 0.47334954142570496, -1.1861740350723267, 0.18825241923332214, -0.48780208826065063, 1.0208237171173096, 0.4842144250869751, 0.9944844245910645, -1.6686781644821167, -0.12192526459693909, -0.28385013341903687, 0.09270521998405457, -1.4174418449401855, -1.5075517892837524, 0.7473252415657043, 0.6061872839927673, 0.5431405305862427, -0.13644322752952576, 1.175377607345581, -1.127571940422058, 0.8309649229049683, -1.1482703685760498, -1.6879926919937134, -1.5014830827713013, -2.3274645805358887, -2.0540223121643066, 0.7689869999885559, -0.41174328327178955, -0.6847536563873291, 2.075976610183716, -0.9362926483154297, -1.5747671127319336, 1.05062735080719, 0.2036479413509369, 0.14443939924240112, 2.51161789894104, 0.1779824197292328, -0.7654625773429871, 0.48255372047424316, -0.7816205620765686, 0.6938892006874084, -0.2838459610939026, 1.2068235874176025, 0.3960832953453064, -1.0613535642623901, 1.625671625137329, -0.33880847692489624, 0.6999801993370056, -0.6992133259773254, -0.6770646572113037, -0.7283459305763245, 0.27299559116363525, 1.8948878049850464, -0.1605440378189087, 1.5868370532989502, -0.25267618894577026, -1.474518895149231, -1.6759592294692993, 0.9123266339302063, 0.2866847813129425, -0.7654806971549988, 0.12252776324748993, -0.39830273389816284, 0.3400796353816986, -0.14423993229866028, 1.1296039819717407, 1.3431874513626099, 0.6221439838409424, -0.35968416929244995, -0.7036917805671692, 0.06344115734100342, -0.0630965381860733, -0.8452177047729492, -1.6963343620300293, -0.362242728471756, 0.06824824213981628, 0.5531722903251648, -1.1908601522445679, 1.7689288854599, 0.9227009415626526, 1.7796953916549683, 1.0919322967529297, -0.3674677908420563, 1.4442681074142456, 0.018566347658634186, 1.6940832138061523, -0.5128424763679504, 0.602031946182251, -0.20747405290603638, -1.105137825012207, 0.9224681854248047, -0.3219594359397888, -1.9700844287872314, -0.8480105996131897, -0.6870965361595154, -0.12245213985443115, -0.6686800122261047, 0.8442297577857971, -0.35188284516334534, -1.3785467147827148, 0.24876539409160614, -0.703814685344696, 0.15496599674224854, -1.2292463779449463, 0.2909487783908844, 0.6499028205871582, -0.6069754958152771, 0.061846520751714706, -0.17515580356121063, -1.1336126327514648, -0.451835572719574, 0.30308258533477783, 1.9978315830230713, -0.5880947113037109, 0.6748960018157959, 1.0685656070709229, -0.7975852489471436, -0.01978517509996891, 0.3671629726886749, -0.26660460233688354, 0.8794015645980835, -1.0909403562545776, -0.5689626932144165, 1.1178892850875854, -0.23085680603981018, -0.7108898162841797, 1.5517841577529907, 0.886654794216156, -1.0343369245529175, -0.2740669548511505, -0.11157749593257904, -0.9041234254837036, 0.17443004250526428, -1.4365050792694092, -0.20354537665843964, 0.5523473024368286, -1.5057687759399414, -0.4379456341266632, -0.07782503962516785, 1.325095295906067, -0.292127788066864, 1.5262519121170044, -0.44819748401641846, -0.22659814357757568, -0.14385046064853668, -0.42848074436187744, 0.04955452308058739, -0.2643791735172272, -0.6821492314338684, 0.02880733832716942, -0.5708248615264893, 0.3300798535346985, 1.4032751321792603, 0.3724273443222046, 0.040223587304353714, 0.4672750234603882, 1.1904590129852295, 0.3451824486255646, -0.09288586676120758, -0.8975558876991272, -1.4087713956832886, 1.8585258722305298, -1.353269100189209, 2.0284423828125, 0.7905079126358032, -0.0006823167204856873, -1.7166786193847656, -1.8857836723327637, 1.310194730758667, 1.1782634258270264, 2.2648184299468994, 0.46647322177886963, 0.35229578614234924, -0.8928137421607971, -0.806983470916748, 0.23324286937713623, -0.9899330735206604, -0.5493678450584412, 0.29137569665908813, 2.4183883666992188, 1.8955742120742798, -0.4420945644378662, -0.2750775218009949, -0.9336946606636047, 1.4276628494262695, -0.3112504780292511, 0.10352139174938202, 2.03143048286438, -0.16946932673454285, -1.0516940355300903, 1.256140947341919, -2.3306217193603516, 0.011744137853384018, 1.994023323059082, 0.2959478795528412, 0.1453016698360443, -1.2949494123458862, -0.6761122345924377, -0.5092417001724243, -0.43436554074287415, -1.271870493888855, 0.41170063614845276, -0.3030700087547302, -0.6377744078636169, -1.3435198068618774, 0.22842010855674744, -1.150661587715149, -1.5356779098510742, 0.0950208455324173, 1.9020559787750244, 2.004282236099243, -0.833495557308197, 1.730973482131958, -0.376918226480484, -0.05908507853746414, 1.220420241355896, 1.409874439239502, 3.1641955375671387, 1.8382164239883423, -1.2279183864593506, 0.6888794302940369, -0.12655481696128845, -0.49998533725738525, 1.1067185401916504, -1.2728232145309448, 1.3404741287231445, -0.1969224214553833, -1.2028107643127441, -1.3245738744735718, 0.8462910652160645, 0.39899906516075134, 0.10253758728504181, -0.5872864127159119, 1.0396710634231567, 0.08491615951061249, 1.4584362506866455, 0.5888433456420898, -0.31388968229293823, 0.49219968914985657, -0.39245301485061646, -0.4542016088962555, 1.527814269065857, 0.18557661771774292, -1.378757357597351, -2.243229866027832, -0.10566100478172302, -0.7999095916748047, 0.051160577684640884, -0.7077728509902954, -1.0776017904281616, 1.7337881326675415, 0.3030790090560913, -1.3627594709396362, -0.2274472564458847, -0.2863382399082184, -0.57193922996521, 2.8027031421661377, -1.3522953987121582, -0.27017807960510254, -1.0642398595809937, -0.8112149238586426, 1.7731915712356567, -1.1442365646362305, -0.22484932839870453, -1.0171308517456055, -0.49563243985176086, -1.2609995603561401, -0.44650745391845703, -0.008383241482079029, -0.949439525604248, 0.7944316864013672, 0.20187699794769287, -1.2923731803894043, -0.39947712421417236, -0.8434638977050781, 1.0453640222549438, -0.24409019947052002, 0.0877620279788971, 1.9314144849777222, 0.2598789632320404, -0.42477846145629883, 0.7798312306404114, 1.1538748741149902, 0.6031546592712402, -0.7222252488136292, 0.1091509610414505, -0.6867478489875793, 0.3686634600162506, -1.2809847593307495, 0.26714015007019043, -2.81172513961792, 0.5791544318199158, -0.011654756031930447, -0.13090668618679047, 0.03430299460887909, -1.3291300535202026, 1.191648244857788, 2.636197805404663, -1.139594554901123, 0.49256858229637146, 0.36351630091667175, 1.1498318910598755, -1.7378220558166504, 0.3102305233478546, -0.3734841048717499, 1.9269604682922363, 0.2110019475221634, 1.2870680093765259, -0.3891950249671936, -2.338247060775757, 0.5779564380645752, -1.3168137073516846, -1.2483043670654297, 0.8324637413024902, -0.9242396950721741, 0.32262322306632996, -1.3974695205688477, -0.42278823256492615, -0.8790345191955566, -1.1005111932754517, 0.7212647199630737, 0.12210358679294586, 0.30689048767089844, -0.572175920009613, 0.27254718542099, -2.3020832538604736, -1.350378394126892, -0.22249288856983185, -0.9792759418487549, 0.531373918056488, -0.5050686001777649, 0.6855236291885376, -0.07343198359012604, 0.018454426899552345, 0.2684125602245331, 1.543584942817688, 3.3115170001983643, 0.20326653122901917, 0.3136514127254486, -0.23656146228313446, -0.828021764755249, 1.567171573638916, 0.7466260194778442, -0.027559032663702965, -0.4511869251728058, -1.0087239742279053, 1.3956080675125122, 1.7837316989898682, 0.9602524042129517, 0.02591438964009285, -0.8537827134132385, -0.6876962184906006, -0.25928443670272827, 0.2257712185382843, 0.3762643039226532, 0.9025906920433044, 0.019936567172408104, -0.02521657757461071, 1.4081099033355713, 1.161088466644287, -0.5348073244094849, 0.21848748624324799, -0.8854330778121948, -0.39220014214515686, 0.5068411827087402, 0.2275233417749405, -0.08521844446659088, 0.4117925763130188, -0.9324040412902832, -0.1890415996313095, -0.4352893829345703, -0.7770095467567444, -0.6430737972259521, -0.4054219424724579, -0.3737107813358307, 1.6277016401290894, 0.06857246160507202, -0.49426987767219543, -0.05311362072825432, -0.8627334237098694, -0.15105803310871124, -1.2632853984832764, 0.2394304871559143, -0.05902648717164993, -0.18786481022834778, -0.17725622653961182, 1.7203247547149658, -0.9024670720100403, -1.965064287185669, 0.15314750373363495, 0.201556995511055, -0.10309955477714539, 0.18618912994861603, 1.7500818967819214, 0.41405540704727173, 1.441446304321289, 1.2776198387145996, 0.9982681274414062, -0.6746858358383179, -1.3071733713150024, 0.578332245349884, 0.9597965478897095, -1.274835467338562, 0.9000098705291748, -0.09725524485111237, -0.4628465175628662, 0.5305715203285217, 1.2659187316894531, 0.5562675595283508, -1.941820502281189, 0.8313701748847961, -0.9867342114448547, 0.8120219707489014, 0.7504948377609253, 0.5614352226257324, 0.32531431317329407, 0.9310784339904785, -1.145263671875, -1.1629829406738281, -0.638984203338623, -0.644514262676239, 1.9362990856170654, -0.3514946401119232, 0.7507588267326355, -0.3300195038318634, -1.3090571165084839, 0.0459897518157959, 0.7003594636917114, 0.5292873382568359, -0.49183470010757446, 0.7955524325370789, -0.7029809951782227, -1.0889297723770142, -1.2597465515136719, -0.3237816393375397, -1.0094317197799683, -0.9731878042221069, 1.0592522621154785, 0.7846466898918152, 0.23500028252601624, 1.9157383441925049, 0.7683678865432739, 0.40013256669044495, -2.4023311138153076, 0.878078818321228, 0.27283400297164917, -0.10000203549861908, 0.8104627728462219, 0.5527700185775757, 1.0338207483291626, 0.1129363626241684, 0.37759116291999817, -2.5429508686065674, 2.3828625679016113, -0.19560016691684723, 0.6689885854721069, -0.09244877099990845, -0.15274985134601593, 1.193273663520813, 0.666791558265686, 0.4303285777568817, -0.9637688994407654, 0.5859103798866272, -0.4299752712249756, 1.245420217514038, 0.8686298131942749, -0.8090793490409851, 0.13866610825061798, 1.3762271404266357, 0.467046320438385, -0.6574214696884155, -1.035941243171692, -0.7954429388046265, 0.9162575602531433, 1.558160662651062, 0.20672740042209625, -0.015100112184882164, 0.9308174252510071, 0.7079005837440491, -1.1674455404281616, 0.10131505131721497, -0.6151885390281677, -0.8788549304008484, 1.6719493865966797, 2.0361807346343994, -0.25699710845947266, -0.30051717162132263, -0.6806026697158813, -1.2713013887405396, 0.8410719633102417, -0.0658361092209816, 0.09742136299610138, 0.5413344502449036, -0.5900340676307678, 0.973304271697998, 0.8782748579978943, 0.9661071300506592, 0.2782400846481323, 0.28182321786880493, 0.5193724632263184, -0.5095183253288269, -1.1927745342254639, -0.07791590690612793, -0.965979814529419, -2.6494293212890625, 0.48382142186164856, -0.147558331489563, -1.2425273656845093, 0.02873924747109413, -1.0905998945236206, 0.9960929155349731, -0.6607109904289246, -1.138452172279358, -1.708361029624939, 0.23088201880455017, -0.015707578510046005, 0.9153842329978943, -1.5199095010757446, -0.33087795972824097, 1.1618390083312988, 0.8304876089096069, -0.7083929777145386, 0.9172696471214294, 0.11264120042324066, 1.0789240598678589, 0.7904442548751831, -0.41452494263648987, 0.5279324054718018, -0.1724296510219574, -1.4471956491470337, 0.4318643808364868, 1.1961477994918823, 0.12825240194797516, 1.5557669401168823, -0.5223031640052795, 0.04088146984577179, 0.38282379508018494, -0.6329051852226257, -0.48514479398727417, -0.6034498810768127, 0.6422024965286255, 0.0348326750099659, -0.8723984360694885, -0.10468310117721558, -0.17027510702610016, -0.3689171373844147, 0.1508806049823761, -1.3580310344696045, 0.02164703607559204, -0.4096467196941376, -0.573650062084198, -1.1676955223083496, 0.022500067949295044, 1.3000813722610474, -0.6927585005760193, -0.25543180108070374, 0.4539356231689453, 0.2945733666419983, 0.5272791385650635, 0.5774596333503723, -0.7776232957839966, -0.14107613265514374, -0.22246327996253967, -0.29910555481910706, 0.4143091142177582, 1.3309060335159302, -0.15297816693782806, -0.9172952175140381, 0.5962815880775452, -0.2542988359928131, 0.09456315636634827, 2.104196071624756, 0.10245588421821594, -0.6873965263366699, 0.2665312886238098, -0.8087010383605957, 1.94074547290802, 1.7339892387390137, 1.357820987701416, -0.1977234184741974, -0.8334817290306091, 0.6328310370445251, -0.534152090549469, -0.4474317133426666, 0.71733558177948, 0.33018308877944946, -0.3399750888347626, -1.5347188711166382, 0.853984534740448, 1.2492179870605469, -0.7191157341003418, -0.7007720470428467, 0.15775884687900543, -0.7339386343955994, 1.0999321937561035, 0.5977752804756165, 0.3615914285182953, 0.48411279916763306, 1.6704095602035522, 0.7963007092475891, -0.47928082942962646, 0.34244510531425476, 0.6693417429924011, -0.16829445958137512, -2.110379934310913, -1.259414553642273, 0.38073447346687317, -0.6798232197761536, -1.7286792993545532, 1.4785008430480957, -1.025659441947937, -1.1479934453964233, 0.5875157117843628, 0.07915367186069489, 1.3078324794769287, 0.33493366837501526, 1.5308929681777954, 1.967328667640686, 0.7136680483818054, 0.5477972626686096, 1.144616961479187, -0.23431986570358276, -0.5627185106277466, 1.871807336807251, -0.5190844535827637, 0.4934440553188324, 1.074737310409546, -0.1302497535943985, -1.234075665473938, -0.7428185939788818, -1.2747697830200195, -0.8003197312355042, 1.3235220909118652, 0.015620483085513115, -0.9996445178985596, 0.2864173352718353, 1.5170769691467285, 0.02806108444929123, -0.39796000719070435, 0.6331142783164978, 0.2797662317752838, -0.7803409099578857, 0.0020622070878744125, -1.0234622955322266, 0.71804279088974, -0.10267555713653564, -0.30027973651885986, 0.2774502635002136, 0.45967283844947815, 1.5000232458114624, -0.01994716189801693, 0.13867922127246857, 1.0374892950057983, -1.4603527784347534, 1.5811903476715088, -0.716949999332428, 0.26308339834213257, -2.4399640560150146, 1.4413471221923828, -0.7679167985916138, 1.9646753072738647, -2.5632193088531494, 0.4244341254234314, -0.5058401823043823, -0.4768470525741577, 0.2686104476451874, -0.46477997303009033, 0.08928713202476501, -0.0848640501499176, -1.1842505931854248, 0.06526443362236023, -0.6308624148368835, 0.5799827575683594, 1.054882287979126, 1.4579273462295532, -1.1790931224822998, -0.1809329241514206, -1.7129173278808594, -0.0190869327634573, -0.8742940425872803, 0.22031345963478088, -1.948683500289917, -0.1645655483007431, -1.865746021270752, -2.3562982082366943, -1.2201929092407227, -0.7647512555122375, 1.018817663192749, 0.1759301871061325, -0.949636697769165, 1.4379663467407227, -0.4387843906879425, -1.7594094276428223, 1.1259135007858276, -2.027625560760498 ]
https://github.com/huggingface/datasets/issues/4261
data leakage in `webis/conclugen` dataset
Thanks @shahbazsyed for your fast fix. As a side note: - Your email appearing as Point of Contact in the dataset README has a typo: @uni.leipzig.de instead of @uni-leipzig.de - Your commits on the Hub are not linked to your profile on the Hub: this is because we use the email address to make this link; the email address used in your commit author and the email address set on your Hub account settings.
## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate samples. ## Steps to reproduce the bug ```python from datasets import load_dataset training = load_dataset("webis/conclugen", "base", split="train") validation = load_dataset("webis/conclugen", "base", split="validation") testing = load_dataset("webis/conclugen", "base", split="test") # collect which sample id's are present in the training split ids_validation = list() ids_testing = list() for train_sample in training: train_argument = train_sample["argument"] train_conclusion = train_sample["conclusion"] train_id = train_sample["id"] # test if current sample is in validation split if train_argument in validation["argument"]: for validation_sample in validation: validation_argument = validation_sample["argument"] validation_conclusion = validation_sample["conclusion"] validation_id = validation_sample["id"] if train_argument == validation_argument and train_conclusion == validation_conclusion: ids_validation.append(validation_id) # test if current sample is in test split if train_argument in testing["argument"]: for testing_sample in testing: testing_argument = testing_sample["argument"] testing_conclusion = testing_sample["conclusion"] testing_id = testing_sample["id"] if train_argument == testing_argument and train_conclusion == testing_conclusion: ids_testing.append(testing_id) ``` ## Expected results Length of both lists `ids_validation` and `ids_testing` should be zero. ## Actual results Length of `ids_validation` = `2556` Length of `ids_testing` = `287` Furthermore, there seems to be duplicate samples in (at least) the *training* split, since: `print(len(set(ids_validation)))` = `950` `print(len(set(ids_testing)))` = `101` All in all, around 7% of the samples of each the *validation* and *test* split seems to be present in the *training* split. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.4 - Platform: macOS-12.3.1-arm64-arm-64bit - Python version: 3.9.10 - PyArrow version: 7.0.0
779
74
data leakage in `webis/conclugen` dataset ## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate samples. ## Steps to reproduce the bug ```python from datasets import load_dataset training = load_dataset("webis/conclugen", "base", split="train") validation = load_dataset("webis/conclugen", "base", split="validation") testing = load_dataset("webis/conclugen", "base", split="test") # collect which sample id's are present in the training split ids_validation = list() ids_testing = list() for train_sample in training: train_argument = train_sample["argument"] train_conclusion = train_sample["conclusion"] train_id = train_sample["id"] # test if current sample is in validation split if train_argument in validation["argument"]: for validation_sample in validation: validation_argument = validation_sample["argument"] validation_conclusion = validation_sample["conclusion"] validation_id = validation_sample["id"] if train_argument == validation_argument and train_conclusion == validation_conclusion: ids_validation.append(validation_id) # test if current sample is in test split if train_argument in testing["argument"]: for testing_sample in testing: testing_argument = testing_sample["argument"] testing_conclusion = testing_sample["conclusion"] testing_id = testing_sample["id"] if train_argument == testing_argument and train_conclusion == testing_conclusion: ids_testing.append(testing_id) ``` ## Expected results Length of both lists `ids_validation` and `ids_testing` should be zero. ## Actual results Length of `ids_validation` = `2556` Length of `ids_testing` = `287` Furthermore, there seems to be duplicate samples in (at least) the *training* split, since: `print(len(set(ids_validation)))` = `950` `print(len(set(ids_testing)))` = `101` All in all, around 7% of the samples of each the *validation* and *test* split seems to be present in the *training* split. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 1.18.4 - Platform: macOS-12.3.1-arm64-arm-64bit - Python version: 3.9.10 - PyArrow version: 7.0.0 Thanks @shahbazsyed for your fast fix. As a side note: - Your email appearing as Point of Contact in the dataset README has a typo: @uni.leipzig.de instead of @uni-leipzig.de - Your commits on the Hub are not linked to your profile on the Hub: this is because we use the email address to make this link; the email address used in your commit author and the email address set on your Hub account settings.
[ -1.1850128173828125, -0.8288457989692688, -0.7298829555511475, 1.6133310794830322, -0.09050996601581573, -1.210353970527649, 0.24917517602443695, -1.1905503273010254, 1.618338704109192, -0.7925393581390381, 0.35828694701194763, -1.5884159803390503, -0.008825693279504776, -0.7666711211204529, -0.6901648044586182, -0.8688499331474304, -0.3479243218898773, -0.5777217745780945, 1.1109888553619385, 2.3331027030944824, 1.4123860597610474, -1.2501405477523804, 2.8047499656677246, 0.7978246212005615, -0.21886132657527924, -0.9612604379653931, 0.5478196740150452, 0.02871645987033844, -1.18520987033844, -0.531860888004303, -0.8986393213272095, -0.12213888764381409, -0.5283339619636536, -0.26326611638069153, -0.1297103315591812, 0.5184047222137451, -0.44747018814086914, -0.4336589574813843, -0.722226083278656, -0.8702584505081177, 0.4093734622001648, -0.39438596367836, 0.954069197177887, -0.4282854199409485, 1.8111673593521118, -0.7324260473251343, 0.4117610454559326, 0.7793376445770264, 1.1223620176315308, 0.2392302006483078, -0.052328333258628845, 0.29567915201187134, 0.3427700698375702, -0.17236867547035217, 0.5814785957336426, 1.2605259418487549, 0.659932017326355, 0.5603408217430115, 0.8065465092658997, -2.1139910221099854, 1.226979374885559, -1.1133694648742676, 0.23768790066242218, 1.4644906520843506, -0.9730555415153503, 0.3652488887310028, -1.7340551614761353, -0.02505546808242798, 0.6884843111038208, -2.2866947650909424, 0.37035489082336426, -1.3971892595291138, -0.6763643622398376, 0.8513696193695068, 0.47334954142570496, -1.1861740350723267, 0.18825241923332214, -0.48780208826065063, 1.0208237171173096, 0.4842144250869751, 0.9944844245910645, -1.6686781644821167, -0.12192526459693909, -0.28385013341903687, 0.09270521998405457, -1.4174418449401855, -1.5075517892837524, 0.7473252415657043, 0.6061872839927673, 0.5431405305862427, -0.13644322752952576, 1.175377607345581, -1.127571940422058, 0.8309649229049683, -1.1482703685760498, -1.6879926919937134, -1.5014830827713013, -2.3274645805358887, -2.0540223121643066, 0.7689869999885559, -0.41174328327178955, -0.6847536563873291, 2.075976610183716, -0.9362926483154297, -1.5747671127319336, 1.05062735080719, 0.2036479413509369, 0.14443939924240112, 2.51161789894104, 0.1779824197292328, -0.7654625773429871, 0.48255372047424316, -0.7816205620765686, 0.6938892006874084, -0.2838459610939026, 1.2068235874176025, 0.3960832953453064, -1.0613535642623901, 1.625671625137329, -0.33880847692489624, 0.6999801993370056, -0.6992133259773254, -0.6770646572113037, -0.7283459305763245, 0.27299559116363525, 1.8948878049850464, -0.1605440378189087, 1.5868370532989502, -0.25267618894577026, -1.474518895149231, -1.6759592294692993, 0.9123266339302063, 0.2866847813129425, -0.7654806971549988, 0.12252776324748993, -0.39830273389816284, 0.3400796353816986, -0.14423993229866028, 1.1296039819717407, 1.3431874513626099, 0.6221439838409424, -0.35968416929244995, -0.7036917805671692, 0.06344115734100342, -0.0630965381860733, -0.8452177047729492, -1.6963343620300293, -0.362242728471756, 0.06824824213981628, 0.5531722903251648, -1.1908601522445679, 1.7689288854599, 0.9227009415626526, 1.7796953916549683, 1.0919322967529297, -0.3674677908420563, 1.4442681074142456, 0.018566347658634186, 1.6940832138061523, -0.5128424763679504, 0.602031946182251, -0.20747405290603638, -1.105137825012207, 0.9224681854248047, -0.3219594359397888, -1.9700844287872314, -0.8480105996131897, -0.6870965361595154, -0.12245213985443115, -0.6686800122261047, 0.8442297577857971, -0.35188284516334534, -1.3785467147827148, 0.24876539409160614, -0.703814685344696, 0.15496599674224854, -1.2292463779449463, 0.2909487783908844, 0.6499028205871582, -0.6069754958152771, 0.061846520751714706, -0.17515580356121063, -1.1336126327514648, -0.451835572719574, 0.30308258533477783, 1.9978315830230713, -0.5880947113037109, 0.6748960018157959, 1.0685656070709229, -0.7975852489471436, -0.01978517509996891, 0.3671629726886749, -0.26660460233688354, 0.8794015645980835, -1.0909403562545776, -0.5689626932144165, 1.1178892850875854, -0.23085680603981018, -0.7108898162841797, 1.5517841577529907, 0.886654794216156, -1.0343369245529175, -0.2740669548511505, -0.11157749593257904, -0.9041234254837036, 0.17443004250526428, -1.4365050792694092, -0.20354537665843964, 0.5523473024368286, -1.5057687759399414, -0.4379456341266632, -0.07782503962516785, 1.325095295906067, -0.292127788066864, 1.5262519121170044, -0.44819748401641846, -0.22659814357757568, -0.14385046064853668, -0.42848074436187744, 0.04955452308058739, -0.2643791735172272, -0.6821492314338684, 0.02880733832716942, -0.5708248615264893, 0.3300798535346985, 1.4032751321792603, 0.3724273443222046, 0.040223587304353714, 0.4672750234603882, 1.1904590129852295, 0.3451824486255646, -0.09288586676120758, -0.8975558876991272, -1.4087713956832886, 1.8585258722305298, -1.353269100189209, 2.0284423828125, 0.7905079126358032, -0.0006823167204856873, -1.7166786193847656, -1.8857836723327637, 1.310194730758667, 1.1782634258270264, 2.2648184299468994, 0.46647322177886963, 0.35229578614234924, -0.8928137421607971, -0.806983470916748, 0.23324286937713623, -0.9899330735206604, -0.5493678450584412, 0.29137569665908813, 2.4183883666992188, 1.8955742120742798, -0.4420945644378662, -0.2750775218009949, -0.9336946606636047, 1.4276628494262695, -0.3112504780292511, 0.10352139174938202, 2.03143048286438, -0.16946932673454285, -1.0516940355300903, 1.256140947341919, -2.3306217193603516, 0.011744137853384018, 1.994023323059082, 0.2959478795528412, 0.1453016698360443, -1.2949494123458862, -0.6761122345924377, -0.5092417001724243, -0.43436554074287415, -1.271870493888855, 0.41170063614845276, -0.3030700087547302, -0.6377744078636169, -1.3435198068618774, 0.22842010855674744, -1.150661587715149, -1.5356779098510742, 0.0950208455324173, 1.9020559787750244, 2.004282236099243, -0.833495557308197, 1.730973482131958, -0.376918226480484, -0.05908507853746414, 1.220420241355896, 1.409874439239502, 3.1641955375671387, 1.8382164239883423, -1.2279183864593506, 0.6888794302940369, -0.12655481696128845, -0.49998533725738525, 1.1067185401916504, -1.2728232145309448, 1.3404741287231445, -0.1969224214553833, -1.2028107643127441, -1.3245738744735718, 0.8462910652160645, 0.39899906516075134, 0.10253758728504181, -0.5872864127159119, 1.0396710634231567, 0.08491615951061249, 1.4584362506866455, 0.5888433456420898, -0.31388968229293823, 0.49219968914985657, -0.39245301485061646, -0.4542016088962555, 1.527814269065857, 0.18557661771774292, -1.378757357597351, -2.243229866027832, -0.10566100478172302, -0.7999095916748047, 0.051160577684640884, -0.7077728509902954, -1.0776017904281616, 1.7337881326675415, 0.3030790090560913, -1.3627594709396362, -0.2274472564458847, -0.2863382399082184, -0.57193922996521, 2.8027031421661377, -1.3522953987121582, -0.27017807960510254, -1.0642398595809937, -0.8112149238586426, 1.7731915712356567, -1.1442365646362305, -0.22484932839870453, -1.0171308517456055, -0.49563243985176086, -1.2609995603561401, -0.44650745391845703, -0.008383241482079029, -0.949439525604248, 0.7944316864013672, 0.20187699794769287, -1.2923731803894043, -0.39947712421417236, -0.8434638977050781, 1.0453640222549438, -0.24409019947052002, 0.0877620279788971, 1.9314144849777222, 0.2598789632320404, -0.42477846145629883, 0.7798312306404114, 1.1538748741149902, 0.6031546592712402, -0.7222252488136292, 0.1091509610414505, -0.6867478489875793, 0.3686634600162506, -1.2809847593307495, 0.26714015007019043, -2.81172513961792, 0.5791544318199158, -0.011654756031930447, -0.13090668618679047, 0.03430299460887909, -1.3291300535202026, 1.191648244857788, 2.636197805404663, -1.139594554901123, 0.49256858229637146, 0.36351630091667175, 1.1498318910598755, -1.7378220558166504, 0.3102305233478546, -0.3734841048717499, 1.9269604682922363, 0.2110019475221634, 1.2870680093765259, -0.3891950249671936, -2.338247060775757, 0.5779564380645752, -1.3168137073516846, -1.2483043670654297, 0.8324637413024902, -0.9242396950721741, 0.32262322306632996, -1.3974695205688477, -0.42278823256492615, -0.8790345191955566, -1.1005111932754517, 0.7212647199630737, 0.12210358679294586, 0.30689048767089844, -0.572175920009613, 0.27254718542099, -2.3020832538604736, -1.350378394126892, -0.22249288856983185, -0.9792759418487549, 0.531373918056488, -0.5050686001777649, 0.6855236291885376, -0.07343198359012604, 0.018454426899552345, 0.2684125602245331, 1.543584942817688, 3.3115170001983643, 0.20326653122901917, 0.3136514127254486, -0.23656146228313446, -0.828021764755249, 1.567171573638916, 0.7466260194778442, -0.027559032663702965, -0.4511869251728058, -1.0087239742279053, 1.3956080675125122, 1.7837316989898682, 0.9602524042129517, 0.02591438964009285, -0.8537827134132385, -0.6876962184906006, -0.25928443670272827, 0.2257712185382843, 0.3762643039226532, 0.9025906920433044, 0.019936567172408104, -0.02521657757461071, 1.4081099033355713, 1.161088466644287, -0.5348073244094849, 0.21848748624324799, -0.8854330778121948, -0.39220014214515686, 0.5068411827087402, 0.2275233417749405, -0.08521844446659088, 0.4117925763130188, -0.9324040412902832, -0.1890415996313095, -0.4352893829345703, -0.7770095467567444, -0.6430737972259521, -0.4054219424724579, -0.3737107813358307, 1.6277016401290894, 0.06857246160507202, -0.49426987767219543, -0.05311362072825432, -0.8627334237098694, -0.15105803310871124, -1.2632853984832764, 0.2394304871559143, -0.05902648717164993, -0.18786481022834778, -0.17725622653961182, 1.7203247547149658, -0.9024670720100403, -1.965064287185669, 0.15314750373363495, 0.201556995511055, -0.10309955477714539, 0.18618912994861603, 1.7500818967819214, 0.41405540704727173, 1.441446304321289, 1.2776198387145996, 0.9982681274414062, -0.6746858358383179, -1.3071733713150024, 0.578332245349884, 0.9597965478897095, -1.274835467338562, 0.9000098705291748, -0.09725524485111237, -0.4628465175628662, 0.5305715203285217, 1.2659187316894531, 0.5562675595283508, -1.941820502281189, 0.8313701748847961, -0.9867342114448547, 0.8120219707489014, 0.7504948377609253, 0.5614352226257324, 0.32531431317329407, 0.9310784339904785, -1.145263671875, -1.1629829406738281, -0.638984203338623, -0.644514262676239, 1.9362990856170654, -0.3514946401119232, 0.7507588267326355, -0.3300195038318634, -1.3090571165084839, 0.0459897518157959, 0.7003594636917114, 0.5292873382568359, -0.49183470010757446, 0.7955524325370789, -0.7029809951782227, -1.0889297723770142, -1.2597465515136719, -0.3237816393375397, -1.0094317197799683, -0.9731878042221069, 1.0592522621154785, 0.7846466898918152, 0.23500028252601624, 1.9157383441925049, 0.7683678865432739, 0.40013256669044495, -2.4023311138153076, 0.878078818321228, 0.27283400297164917, -0.10000203549861908, 0.8104627728462219, 0.5527700185775757, 1.0338207483291626, 0.1129363626241684, 0.37759116291999817, -2.5429508686065674, 2.3828625679016113, -0.19560016691684723, 0.6689885854721069, -0.09244877099990845, -0.15274985134601593, 1.193273663520813, 0.666791558265686, 0.4303285777568817, -0.9637688994407654, 0.5859103798866272, -0.4299752712249756, 1.245420217514038, 0.8686298131942749, -0.8090793490409851, 0.13866610825061798, 1.3762271404266357, 0.467046320438385, -0.6574214696884155, -1.035941243171692, -0.7954429388046265, 0.9162575602531433, 1.558160662651062, 0.20672740042209625, -0.015100112184882164, 0.9308174252510071, 0.7079005837440491, -1.1674455404281616, 0.10131505131721497, -0.6151885390281677, -0.8788549304008484, 1.6719493865966797, 2.0361807346343994, -0.25699710845947266, -0.30051717162132263, -0.6806026697158813, -1.2713013887405396, 0.8410719633102417, -0.0658361092209816, 0.09742136299610138, 0.5413344502449036, -0.5900340676307678, 0.973304271697998, 0.8782748579978943, 0.9661071300506592, 0.2782400846481323, 0.28182321786880493, 0.5193724632263184, -0.5095183253288269, -1.1927745342254639, -0.07791590690612793, -0.965979814529419, -2.6494293212890625, 0.48382142186164856, -0.147558331489563, -1.2425273656845093, 0.02873924747109413, -1.0905998945236206, 0.9960929155349731, -0.6607109904289246, -1.138452172279358, -1.708361029624939, 0.23088201880455017, -0.015707578510046005, 0.9153842329978943, -1.5199095010757446, -0.33087795972824097, 1.1618390083312988, 0.8304876089096069, -0.7083929777145386, 0.9172696471214294, 0.11264120042324066, 1.0789240598678589, 0.7904442548751831, -0.41452494263648987, 0.5279324054718018, -0.1724296510219574, -1.4471956491470337, 0.4318643808364868, 1.1961477994918823, 0.12825240194797516, 1.5557669401168823, -0.5223031640052795, 0.04088146984577179, 0.38282379508018494, -0.6329051852226257, -0.48514479398727417, -0.6034498810768127, 0.6422024965286255, 0.0348326750099659, -0.8723984360694885, -0.10468310117721558, -0.17027510702610016, -0.3689171373844147, 0.1508806049823761, -1.3580310344696045, 0.02164703607559204, -0.4096467196941376, -0.573650062084198, -1.1676955223083496, 0.022500067949295044, 1.3000813722610474, -0.6927585005760193, -0.25543180108070374, 0.4539356231689453, 0.2945733666419983, 0.5272791385650635, 0.5774596333503723, -0.7776232957839966, -0.14107613265514374, -0.22246327996253967, -0.29910555481910706, 0.4143091142177582, 1.3309060335159302, -0.15297816693782806, -0.9172952175140381, 0.5962815880775452, -0.2542988359928131, 0.09456315636634827, 2.104196071624756, 0.10245588421821594, -0.6873965263366699, 0.2665312886238098, -0.8087010383605957, 1.94074547290802, 1.7339892387390137, 1.357820987701416, -0.1977234184741974, -0.8334817290306091, 0.6328310370445251, -0.534152090549469, -0.4474317133426666, 0.71733558177948, 0.33018308877944946, -0.3399750888347626, -1.5347188711166382, 0.853984534740448, 1.2492179870605469, -0.7191157341003418, -0.7007720470428467, 0.15775884687900543, -0.7339386343955994, 1.0999321937561035, 0.5977752804756165, 0.3615914285182953, 0.48411279916763306, 1.6704095602035522, 0.7963007092475891, -0.47928082942962646, 0.34244510531425476, 0.6693417429924011, -0.16829445958137512, -2.110379934310913, -1.259414553642273, 0.38073447346687317, -0.6798232197761536, -1.7286792993545532, 1.4785008430480957, -1.025659441947937, -1.1479934453964233, 0.5875157117843628, 0.07915367186069489, 1.3078324794769287, 0.33493366837501526, 1.5308929681777954, 1.967328667640686, 0.7136680483818054, 0.5477972626686096, 1.144616961479187, -0.23431986570358276, -0.5627185106277466, 1.871807336807251, -0.5190844535827637, 0.4934440553188324, 1.074737310409546, -0.1302497535943985, -1.234075665473938, -0.7428185939788818, -1.2747697830200195, -0.8003197312355042, 1.3235220909118652, 0.015620483085513115, -0.9996445178985596, 0.2864173352718353, 1.5170769691467285, 0.02806108444929123, -0.39796000719070435, 0.6331142783164978, 0.2797662317752838, -0.7803409099578857, 0.0020622070878744125, -1.0234622955322266, 0.71804279088974, -0.10267555713653564, -0.30027973651885986, 0.2774502635002136, 0.45967283844947815, 1.5000232458114624, -0.01994716189801693, 0.13867922127246857, 1.0374892950057983, -1.4603527784347534, 1.5811903476715088, -0.716949999332428, 0.26308339834213257, -2.4399640560150146, 1.4413471221923828, -0.7679167985916138, 1.9646753072738647, -2.5632193088531494, 0.4244341254234314, -0.5058401823043823, -0.4768470525741577, 0.2686104476451874, -0.46477997303009033, 0.08928713202476501, -0.0848640501499176, -1.1842505931854248, 0.06526443362236023, -0.6308624148368835, 0.5799827575683594, 1.054882287979126, 1.4579273462295532, -1.1790931224822998, -0.1809329241514206, -1.7129173278808594, -0.0190869327634573, -0.8742940425872803, 0.22031345963478088, -1.948683500289917, -0.1645655483007431, -1.865746021270752, -2.3562982082366943, -1.2201929092407227, -0.7647512555122375, 1.018817663192749, 0.1759301871061325, -0.949636697769165, 1.4379663467407227, -0.4387843906879425, -1.7594094276428223, 1.1259135007858276, -2.027625560760498 ]
https://github.com/huggingface/datasets/issues/4248
conll2003 dataset loads original data.
Thanks for reporting @sue99. Unfortunately. I'm not able to reproduce your problem: ```python In [1]: import datasets ...: from datasets import load_dataset ...: dataset = load_dataset("conll2003") In [2]: dataset Out[2]: DatasetDict({ train: Dataset({ features: ['id', 'tokens', 'pos_tags', 'chunk_tags', 'ner_tags'], num_rows: 14042 }) validation: Dataset({ features: ['id', 'tokens', 'pos_tags', 'chunk_tags', 'ner_tags'], num_rows: 3251 }) test: Dataset({ features: ['id', 'tokens', 'pos_tags', 'chunk_tags', 'ner_tags'], num_rows: 3454 }) }) In [3]: dataset["train"][0] Out[3]: {'id': '0', 'tokens': ['EU', 'rejects', 'German', 'call', 'to', 'boycott', 'British', 'lamb', '.'], 'pos_tags': [22, 42, 16, 21, 35, 37, 16, 21, 7], 'chunk_tags': [11, 21, 11, 12, 21, 22, 11, 12, 0], 'ner_tags': [3, 0, 7, 0, 0, 0, 7, 0, 0]} ``` Just guessing: might be the case that you are calling `load_dataset` from a working directory that contains a local folder named `conll2003` (containing the raw data files)? If that is the case, `datasets` library gives precedence to the local folder over the dataset on the Hub.
## Describe the bug I load `conll2003` dataset to use refined data like [this](https://huggingface.co/datasets/conll2003/viewer/conll2003/train) preview, but it is original data that contains `'-DOCSTART- -X- -X- O'` text. Is this a bug or should I use another dataset_name like `lhoestq/conll2003` ? ## Steps to reproduce the bug ```python import datasets from datasets import load_dataset dataset = load_dataset("conll2003") ``` ## Expected results { "chunk_tags": [11, 12, 12, 21, 13, 11, 11, 21, 13, 11, 12, 13, 11, 21, 22, 11, 12, 17, 11, 21, 17, 11, 12, 12, 21, 22, 22, 13, 11, 0], "id": "0", "ner_tags": [0, 3, 4, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "pos_tags": [12, 22, 22, 38, 15, 22, 28, 38, 15, 16, 21, 35, 24, 35, 37, 16, 21, 15, 24, 41, 15, 16, 21, 21, 20, 37, 40, 35, 21, 7], "tokens": ["The", "European", "Commission", "said", "on", "Thursday", "it", "disagreed", "with", "German", "advice", "to", "consumers", "to", "shun", "British", "lamb", "until", "scientists", "determine", "whether", "mad", "cow", "disease", "can", "be", "transmitted", "to", "sheep", "."] } ## Actual results ```python print(dataset) DatasetDict({ train: Dataset({ features: ['text'], num_rows: 219554 }) test: Dataset({ features: ['text'], num_rows: 50350 }) validation: Dataset({ features: ['text'], num_rows: 55044 }) }) ``` ```python for i in range(20): print(dataset['train'][i]) {'text': '-DOCSTART- -X- -X- O'} {'text': ''} {'text': 'EU NNP B-NP B-ORG'} {'text': 'rejects VBZ B-VP O'} {'text': 'German JJ B-NP B-MISC'} {'text': 'call NN I-NP O'} {'text': 'to TO B-VP O'} {'text': 'boycott VB I-VP O'} {'text': 'British JJ B-NP B-MISC'} {'text': 'lamb NN I-NP O'} {'text': '. . O O'} {'text': ''} {'text': 'Peter NNP B-NP B-PER'} {'text': 'Blackburn NNP I-NP I-PER'} {'text': ''} {'text': 'BRUSSELS NNP B-NP B-LOC'} {'text': '1996-08-22 CD I-NP O'} {'text': ''} {'text': 'The DT B-NP O'} {'text': 'European NNP I-NP B-ORG'} ```
780
158
conll2003 dataset loads original data. ## Describe the bug I load `conll2003` dataset to use refined data like [this](https://huggingface.co/datasets/conll2003/viewer/conll2003/train) preview, but it is original data that contains `'-DOCSTART- -X- -X- O'` text. Is this a bug or should I use another dataset_name like `lhoestq/conll2003` ? ## Steps to reproduce the bug ```python import datasets from datasets import load_dataset dataset = load_dataset("conll2003") ``` ## Expected results { "chunk_tags": [11, 12, 12, 21, 13, 11, 11, 21, 13, 11, 12, 13, 11, 21, 22, 11, 12, 17, 11, 21, 17, 11, 12, 12, 21, 22, 22, 13, 11, 0], "id": "0", "ner_tags": [0, 3, 4, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "pos_tags": [12, 22, 22, 38, 15, 22, 28, 38, 15, 16, 21, 35, 24, 35, 37, 16, 21, 15, 24, 41, 15, 16, 21, 21, 20, 37, 40, 35, 21, 7], "tokens": ["The", "European", "Commission", "said", "on", "Thursday", "it", "disagreed", "with", "German", "advice", "to", "consumers", "to", "shun", "British", "lamb", "until", "scientists", "determine", "whether", "mad", "cow", "disease", "can", "be", "transmitted", "to", "sheep", "."] } ## Actual results ```python print(dataset) DatasetDict({ train: Dataset({ features: ['text'], num_rows: 219554 }) test: Dataset({ features: ['text'], num_rows: 50350 }) validation: Dataset({ features: ['text'], num_rows: 55044 }) }) ``` ```python for i in range(20): print(dataset['train'][i]) {'text': '-DOCSTART- -X- -X- O'} {'text': ''} {'text': 'EU NNP B-NP B-ORG'} {'text': 'rejects VBZ B-VP O'} {'text': 'German JJ B-NP B-MISC'} {'text': 'call NN I-NP O'} {'text': 'to TO B-VP O'} {'text': 'boycott VB I-VP O'} {'text': 'British JJ B-NP B-MISC'} {'text': 'lamb NN I-NP O'} {'text': '. . O O'} {'text': ''} {'text': 'Peter NNP B-NP B-PER'} {'text': 'Blackburn NNP I-NP I-PER'} {'text': ''} {'text': 'BRUSSELS NNP B-NP B-LOC'} {'text': '1996-08-22 CD I-NP O'} {'text': ''} {'text': 'The DT B-NP O'} {'text': 'European NNP I-NP B-ORG'} ``` Thanks for reporting @sue99. Unfortunately. I'm not able to reproduce your problem: ```python In [1]: import datasets ...: from datasets import load_dataset ...: dataset = load_dataset("conll2003") In [2]: dataset Out[2]: DatasetDict({ train: Dataset({ features: ['id', 'tokens', 'pos_tags', 'chunk_tags', 'ner_tags'], num_rows: 14042 }) validation: Dataset({ features: ['id', 'tokens', 'pos_tags', 'chunk_tags', 'ner_tags'], num_rows: 3251 }) test: Dataset({ features: ['id', 'tokens', 'pos_tags', 'chunk_tags', 'ner_tags'], num_rows: 3454 }) }) In [3]: dataset["train"][0] Out[3]: {'id': '0', 'tokens': ['EU', 'rejects', 'German', 'call', 'to', 'boycott', 'British', 'lamb', '.'], 'pos_tags': [22, 42, 16, 21, 35, 37, 16, 21, 7], 'chunk_tags': [11, 21, 11, 12, 21, 22, 11, 12, 0], 'ner_tags': [3, 0, 7, 0, 0, 0, 7, 0, 0]} ``` Just guessing: might be the case that you are calling `load_dataset` from a working directory that contains a local folder named `conll2003` (containing the raw data files)? If that is the case, `datasets` library gives precedence to the local folder over the dataset on the Hub.
[ -1.0057697296142578, -0.8264785408973694, -0.7711317539215088, 1.303667426109314, -0.35389244556427, -1.0739167928695679, 0.35481464862823486, -1.206518530845642, 1.458862543106079, -0.8915384411811829, 0.28570812940597534, -1.7900934219360352, -0.052778564393520355, -0.8517789244651794, -0.604783296585083, -0.8915154933929443, -0.3936883807182312, -0.8681686520576477, 0.9864558577537537, 2.781693935394287, 1.2026393413543701, -1.28502357006073, 2.5563302040100098, 0.6420524716377258, -0.10169696807861328, -0.8603083491325378, 0.6352502107620239, -0.1779707819223404, -1.0170748233795166, -0.5471594929695129, -1.0624521970748901, -0.2669479250907898, -0.6126040816307068, -0.37772509455680847, -0.10114548355340958, 0.5487657785415649, -0.4640252888202667, -0.13053904473781586, -0.4548766314983368, -0.9241811633110046, 0.4468561112880707, -0.5297518372535706, 1.240986704826355, -0.34492596983909607, 1.7012325525283813, -0.5432538986206055, 0.6328829526901245, 0.7349282503128052, 1.0756393671035767, 0.3954017758369446, 0.21323072910308838, 0.039712585508823395, 0.31192079186439514, -0.15508949756622314, 0.5787867903709412, 0.9196545481681824, 0.6556375622749329, 0.6925848722457886, 0.7751035094261169, -2.193045139312744, 1.158446192741394, -1.2407736778259277, 0.17125338315963745, 1.6004488468170166, -0.5857604742050171, 0.2961678206920624, -1.8914508819580078, -0.2617010176181793, 0.4062800407409668, -2.104170560836792, 0.5482628345489502, -1.1392817497253418, -0.5843523740768433, 0.7855036854743958, 0.4899921417236328, -1.3474935293197632, 0.25285032391548157, -0.13074611127376556, 0.7127203941345215, 0.3481035530567169, 0.9426494240760803, -1.890336275100708, -0.016133137047290802, -0.4420505464076996, 0.20108726620674133, -1.070882797241211, -1.5395243167877197, 0.6711400747299194, 0.29773688316345215, 0.5419794321060181, -0.1824326366186142, 1.1319494247436523, -1.2885340452194214, 0.7059158086776733, -1.2972851991653442, -1.5612807273864746, -1.3178600072860718, -2.3479998111724854, -2.4657628536224365, 0.7555766105651855, -0.6023553013801575, -0.591546356678009, 2.0270748138427734, -0.8420138359069824, -1.194319486618042, 1.228836178779602, 0.5609774589538574, -0.19958201050758362, 2.7454655170440674, 0.22785165905952454, -0.5206766128540039, 0.6539661288261414, -1.0191220045089722, 0.9659061431884766, -0.3122491240501404, 1.3368923664093018, 0.39591583609580994, -1.0911238193511963, 1.6866549253463745, -0.49574965238571167, 0.5513509511947632, -0.43210020661354065, -0.4027370810508728, -0.7551471590995789, 0.2433902621269226, 1.550310730934143, -0.12439543753862381, 1.2114779949188232, -0.03760122135281563, -1.4007920026779175, -1.579456090927124, 1.2181471586227417, 0.2076890766620636, -1.0136231184005737, 0.1428753286600113, -0.32170918583869934, 0.22686810791492462, -0.20144183933734894, 1.1881768703460693, 1.2832305431365967, 0.6761431694030762, -0.3440534770488739, -0.8820902109146118, 0.1281299591064453, -0.37787318229675293, -1.0648691654205322, -1.5485600233078003, -0.4862956702709198, -0.09859485924243927, 0.5457009077072144, -1.1274068355560303, 2.0956358909606934, 0.9783511757850647, 1.7798736095428467, 0.8642531037330627, -0.6634448170661926, 1.3539419174194336, 0.10051232576370239, 1.6812489032745361, -0.6889817714691162, 0.5697228908538818, -0.613847553730011, -1.2459443807601929, 1.2471221685409546, -0.2614293694496155, -1.8456939458847046, -0.8941922187805176, -0.7749926447868347, -0.4578949511051178, -0.8397366404533386, 1.019302487373352, -0.18985356390476227, -1.463967204093933, 0.25268852710723877, -0.516177773475647, -0.16300708055496216, -1.4403964281082153, 0.5137569308280945, 0.47179582715034485, -0.5604792237281799, -0.05076029896736145, -0.07981492578983307, -1.3064038753509521, -0.3834865987300873, 0.03424682095646858, 1.952953577041626, -0.4155733287334442, 0.9694024324417114, 1.0003182888031006, -0.8346373438835144, -0.2597554326057434, 0.4138433039188385, -0.4266297221183777, 0.5989068746566772, -0.8530099987983704, -0.8525069355964661, 1.2494299411773682, -0.22432444989681244, -0.5726689100265503, 1.390438437461853, 0.6735163331031799, -1.169325590133667, -0.18689797818660736, -0.1853514164686203, -0.657479465007782, 0.22167398035526276, -1.4223889112472534, -0.00333279836922884, 0.7514073252677917, -1.3925695419311523, -0.5573426485061646, -0.08833974599838257, 1.10175359249115, -0.3244812786579132, 1.2962079048156738, -0.4449748694896698, -0.310433566570282, -0.3864843249320984, -0.4076857566833496, 0.1284724324941635, -0.1139601469039917, -0.4322698414325714, 0.2348177433013916, -0.8031427264213562, 0.42966729402542114, 1.5047670602798462, 0.12545058131217957, 0.017582815140485764, 0.27527421712875366, 0.8721565008163452, 0.5430737137794495, 0.24621552228927612, -1.1442242860794067, -1.0301405191421509, 1.9569029808044434, -1.5270971059799194, 1.8720382452011108, 0.7175016403198242, -0.07377955317497253, -1.7426294088363647, -1.8099905252456665, 1.4037742614746094, 1.273825764656067, 2.1694602966308594, 0.41990968585014343, 0.41918790340423584, -0.7202982902526855, -0.6193327307701111, 0.3122270405292511, -1.0789259672164917, -0.5164134502410889, 0.3536793887615204, 2.4306294918060303, 1.7920180559158325, -0.6127988696098328, -0.1500813364982605, -1.044024109840393, 1.3446323871612549, -0.3180789649486542, 0.29617515206336975, 2.0623779296875, -0.7088271379470825, -1.0849320888519287, 1.47018563747406, -2.383885383605957, -0.0018075210973620415, 1.9679005146026611, 0.3781210780143738, 0.027336448431015015, -1.1055973768234253, -0.6835682988166809, -0.351298063993454, -0.7248876690864563, -1.3013275861740112, 0.6442193984985352, -0.0642327219247818, -0.7369768619537354, -1.4785174131393433, 0.2662346661090851, -1.2393921613693237, -1.5498080253601074, 0.14347630739212036, 1.7145535945892334, 2.310851812362671, -0.8343762159347534, 1.4132349491119385, -0.23186321556568146, 0.09735435992479324, 0.9900393486022949, 1.2941908836364746, 2.897228479385376, 1.7487822771072388, -1.1843922138214111, 0.5866276025772095, -0.327558308839798, -0.6149134039878845, 1.3021904230117798, -1.0468060970306396, 1.255910873413086, -0.07703933864831924, -1.1192811727523804, -1.1536859273910522, 0.6943013668060303, 0.13949887454509735, 0.26447558403015137, -0.4374908208847046, 0.9526255130767822, 0.37897056341171265, 1.1721044778823853, 0.8586947917938232, -0.060406170785427094, 0.5538656711578369, -0.5430705547332764, -0.43537819385528564, 1.6893551349639893, 0.33063822984695435, -1.6229829788208008, -2.377397060394287, -0.3837907910346985, -1.1102285385131836, 0.24059510231018066, -0.5522416830062866, -1.0259548425674438, 1.8150314092636108, 0.11973167955875397, -0.9568400382995605, -0.20508436858654022, -0.25583016872406006, -0.3880120515823364, 2.8667538166046143, -1.2811939716339111, -0.22274096310138702, -0.8931734561920166, -0.8995310068130493, 1.6230432987213135, -1.16485595703125, 0.1951494663953781, -1.133562684059143, -0.4142388701438904, -1.3404568433761597, -0.27810579538345337, 0.22476261854171753, -1.1457648277282715, 1.0378655195236206, 0.3672923445701599, -1.341997742652893, -0.368831992149353, -1.0274300575256348, 0.7476733922958374, -0.1660277396440506, 0.3527624309062958, 1.7070428133010864, 0.3694153130054474, -0.30308839678764343, 0.8030207753181458, 1.2809579372406006, 0.7576601505279541, -0.6498444676399231, 0.028974004089832306, -0.6948385238647461, 0.42974853515625, -0.9305528998374939, 0.09259219467639923, -2.6331379413604736, 0.586851954460144, -0.26655271649360657, -0.3428820073604584, 0.044792816042900085, -1.2140789031982422, 1.214013934135437, 2.2662477493286133, -1.1654382944107056, 0.4942956566810608, 0.20881465077400208, 1.3208613395690918, -1.3680779933929443, 0.14599864184856415, -0.49917900562286377, 2.098987340927124, 0.10451441258192062, 0.8772112727165222, -0.5329827666282654, -2.3417959213256836, 0.6216376423835754, -1.4362088441848755, -1.196488857269287, 0.6692495942115784, -0.8775781393051147, 0.1971500664949417, -1.4848110675811768, -0.10462500154972076, -0.8895604014396667, -1.2381333112716675, 0.8090100884437561, 0.017732907086610794, 0.5365721583366394, -0.49109500646591187, 0.39182549715042114, -2.2304489612579346, -1.5613057613372803, -0.38142380118370056, -0.7365451455116272, 0.5235080122947693, -0.36888453364372253, 0.8854236602783203, -0.3259894549846649, -0.15497006475925446, 0.5774494409561157, 1.6649738550186157, 3.479794979095459, 0.13815632462501526, 0.4445035755634308, -0.18545250594615936, -1.1394230127334595, 1.562513828277588, 0.8799738883972168, 0.3077563941478729, -0.5425607562065125, -1.0371767282485962, 1.251181721687317, 1.9922866821289062, 1.1434837579727173, -0.06316171586513519, -0.8064377307891846, -0.26659727096557617, -0.18655285239219666, 0.2952190041542053, 0.23062047362327576, 0.9336480498313904, -0.1500796675682068, -0.14166396856307983, 1.5080320835113525, 1.118428349494934, -0.2601924240589142, 0.1382053792476654, -0.5859900116920471, -0.3033094108104706, 0.7824152112007141, 0.027654368430376053, 0.10485624521970749, 0.730663001537323, -1.009409785270691, -0.6394203305244446, -0.3274478316307068, -0.9184927344322205, -0.6765011548995972, -0.521077036857605, -0.4302976131439209, 1.6761952638626099, 0.03412590175867081, -0.494383305311203, 0.36193275451660156, -0.8204806447029114, -0.05358109995722771, -1.2892032861709595, -0.24408680200576782, -0.20029546320438385, -0.2808602452278137, -0.31707635521888733, 1.8905789852142334, -0.9311013221740723, -1.956703543663025, -0.010087966918945312, 0.5226459503173828, 0.02783863991498947, 0.38971132040023804, 1.5180212259292603, 0.4675227105617523, 1.6603128910064697, 1.0480598211288452, 0.9618229866027832, -0.5991071462631226, -1.3587771654129028, 0.8487191796302795, 1.130422592163086, -1.1782926321029663, 1.0963740348815918, 0.008248788304626942, -0.5734617710113525, 0.5145363211631775, 0.9041057825088501, 0.3783368170261383, -1.813599944114685, 0.7409890294075012, -1.1214324235916138, 0.9131724238395691, 0.4954848289489746, 0.7297446131706238, 0.2539156377315521, 0.6266575455665588, -1.2141224145889282, -0.9965868592262268, -0.5183927416801453, -0.44616788625717163, 2.1700329780578613, -0.24705131351947784, 0.836848795413971, -0.350132554769516, -1.0870192050933838, 0.16904790699481964, 0.7315654158592224, 0.543857216835022, -0.4992462396621704, 0.6486423015594482, -0.48905232548713684, -0.9491751790046692, -1.4725282192230225, -0.2712319791316986, -1.406488299369812, -0.8963367342948914, 1.2756644487380981, 0.5257546305656433, 0.4439964294433594, 1.8306875228881836, 0.9438561797142029, 0.40028059482574463, -2.257434368133545, 0.9702258706092834, 0.2567363679409027, -0.2743845283985138, 0.6806439161300659, 0.5749335289001465, 1.1703898906707764, -0.21429258584976196, 0.7339438796043396, -2.485931158065796, 2.3311052322387695, -0.09332261234521866, 0.6522353291511536, 0.2510862648487091, -0.05640314146876335, 0.9831014275550842, 0.6617817878723145, 0.10364872962236404, -1.0054153203964233, 0.15593311190605164, -0.4712297022342682, 1.3593388795852661, 1.153015375137329, -0.7009627223014832, 0.20011380314826965, 1.3981140851974487, 0.5937458276748657, -0.24912089109420776, -1.0536551475524902, -0.5901597738265991, 1.110394835472107, 1.5247530937194824, -0.36703839898109436, -0.12340201437473297, 0.8630262613296509, 0.6294811964035034, -1.2162200212478638, 0.02799670770764351, -0.5949053764343262, -0.8566870093345642, 1.6657915115356445, 2.1682324409484863, -0.3612334132194519, -0.03117997571825981, -0.7554759979248047, -1.294084072113037, 0.9409448504447937, 0.009814784862101078, 0.2584020793437958, 0.5759212970733643, -0.565317690372467, 0.916282057762146, 0.7466753125190735, 0.8216289281845093, 0.6155979037284851, 0.2520653009414673, 0.47180065512657166, -0.5605674982070923, -0.8534479737281799, -0.11389469355344772, -1.0952372550964355, -3.073166608810425, 0.38006797432899475, -0.5088921189308167, -1.4345859289169312, -0.16203930974006653, -0.9485450983047485, 1.016013503074646, -0.4185333847999573, -0.9479970335960388, -1.6036200523376465, 0.42891624569892883, 0.14971475303173065, 1.274877905845642, -1.8353197574615479, -0.35411950945854187, 1.1324851512908936, 0.7570719718933105, -0.8007527589797974, 0.7335095405578613, 0.20243526995182037, 1.115432620048523, 0.6554641723632812, -0.41067981719970703, 0.7737181186676025, -0.12884101271629333, -1.514260172843933, 0.24381306767463684, 1.342633605003357, 0.15849000215530396, 1.275227665901184, -0.25939926505088806, 0.0893692672252655, 0.2649678885936737, -0.38168683648109436, -0.7088146209716797, -0.310250848531723, 0.42360055446624756, 0.19156914949417114, -1.0390806198120117, -0.15460535883903503, 0.1222405731678009, -0.32158902287483215, 0.16697116196155548, -1.1801121234893799, -0.1847759634256363, -0.612342894077301, -0.4998517334461212, -1.3720849752426147, -0.3556060194969177, 1.3008168935775757, -0.50894695520401, -0.04324135184288025, 0.4487210214138031, 0.16889038681983948, 0.48923659324645996, 0.38058894872665405, -0.7070384621620178, -0.4914087653160095, -0.3667232394218445, -0.5339149832725525, 0.2953266203403473, 1.5326706171035767, -0.11196693032979965, -0.9766029715538025, 0.6009356379508972, -0.08270317316055298, 0.14592213928699493, 1.8627785444259644, 0.07518839836120605, -0.8718564510345459, 0.4391336739063263, -0.32865944504737854, 1.7447279691696167, 1.7038664817810059, 1.0255365371704102, -0.26852530241012573, -0.718923807144165, 0.7547569274902344, -0.4931682050228119, -0.41256433725357056, 0.7649134993553162, -0.2125544250011444, -0.2533789575099945, -1.6690596342086792, 0.8403533697128296, 1.5098711252212524, -0.6203289031982422, -0.9854001402854919, 0.1899525225162506, -0.9171494841575623, 1.2124475240707397, 0.38372865319252014, 0.46269190311431885, 0.42110082507133484, 1.5871093273162842, 0.9280208945274353, -0.5604904294013977, 0.5667436718940735, 0.6441419720649719, -0.045436110347509384, -2.141458034515381, -1.4529305696487427, 0.08927690982818604, -0.7983731031417847, -1.3437950611114502, 1.439726710319519, -0.9827114343643188, -1.2071226835250854, 0.7919200658798218, 0.06995435804128647, 1.2469651699066162, 0.6444568037986755, 1.2721693515777588, 2.1202385425567627, 0.7479687333106995, 0.5769009590148926, 1.1760379076004028, -0.3036535084247589, -0.40120676159858704, 1.8703051805496216, -0.3398970067501068, 0.3735683560371399, 1.1524938344955444, -0.12445574998855591, -0.9792394042015076, -0.7014439702033997, -1.2393178939819336, -0.766712486743927, 1.3600808382034302, -0.13410799205303192, -0.9743586182594299, 0.31295666098594666, 1.7543091773986816, -0.1711093634366989, -0.5758870840072632, 0.728211522102356, 0.522497832775116, -0.8098099231719971, 0.1324893832206726, -0.7434414625167847, 0.5616934895515442, -0.23731009662151337, -0.19052234292030334, 0.4577365517616272, 0.7801957726478577, 1.6135334968566895, -0.2928638458251953, 0.28814661502838135, 0.6259281039237976, -1.398590326309204, 1.5052720308303833, -0.6386753916740417, -0.018496448174118996, -2.1246914863586426, 1.12466561794281, -0.5869928002357483, 1.8814254999160767, -2.596029281616211, 0.24725165963172913, -0.16185036301612854, -0.6957230567932129, 0.12663380801677704, -0.48043251037597656, 0.2147890031337738, -0.17655302584171295, -0.934885561466217, 0.11277075111865997, -0.5246643424034119, 0.385852575302124, 0.9506506323814392, 1.5316742658615112, -1.0361902713775635, -0.5675844550132751, -1.687520146369934, 0.1661517173051834, -0.6913766860961914, -0.0707579255104065, -1.9062265157699585, -0.3611869215965271, -1.7906291484832764, -2.183865547180176, -1.3816347122192383, -1.09356689453125, 1.4317853450775146, 0.0537450946867466, -1.0561197996139526, 1.40559720993042, -0.2513645589351654, -2.047024965286255, 1.1300817728042603, -2.099642753601074 ]
https://github.com/huggingface/datasets/issues/4247
The data preview of XGLUE
Thanks for reporting @czq1999. Note that the dataset viewer uses the dataset in streaming mode and that not all datasets support streaming yet. That is the case for XGLUE dataset (as the error message points out): this must be refactored to support streaming.
It seems that something wrong with the data previvew of XGLUE
781
43
The data preview of XGLUE It seems that something wrong with the data previvew of XGLUE Thanks for reporting @czq1999. Note that the dataset viewer uses the dataset in streaming mode and that not all datasets support streaming yet. That is the case for XGLUE dataset (as the error message points out): this must be refactored to support streaming.
[ -1.391899585723877, -0.869559109210968, -0.8810953497886658, 1.312707543373108, -0.4445713460445404, -1.191933274269104, 0.20796555280685425, -1.1080920696258545, 1.754753828048706, -0.9957263469696045, 0.2535135746002197, -1.726620078086853, -0.07002361863851547, -0.46351903676986694, -0.7063261866569519, -1.040319800376892, -0.48174533247947693, -0.8258720636367798, 0.9366113543510437, 2.504223585128784, 1.1191819906234741, -1.394539475440979, 2.75361967086792, 0.7035565972328186, -0.2171591818332672, -1.1196653842926025, 0.4656713604927063, 0.08637310564517975, -1.265823245048523, -0.4840504825115204, -1.1940217018127441, -0.055639296770095825, -0.42964500188827515, -0.6187077760696411, 0.0531802661716938, 0.2028990089893341, -0.1555340588092804, -0.38379761576652527, -0.4204593896865845, -0.6491978168487549, 0.3871763050556183, -0.2514433264732361, 0.8765208125114441, -0.5759155750274658, 1.9695748090744019, -0.48336800932884216, 0.133497953414917, 0.6736569404602051, 1.2732163667678833, 0.2846337854862213, -0.15560966730117798, 0.14841699600219727, 0.4258073568344116, -0.022243956103920937, 0.39149731397628784, 1.17344069480896, 0.5700092911720276, 0.5852838158607483, 0.6137281656265259, -2.0767412185668945, 1.3461120128631592, -1.16972017288208, 0.2448708713054657, 1.6763851642608643, -1.4426997900009155, 0.489927738904953, -1.7411446571350098, -0.1698189079761505, 0.500321090221405, -2.3342065811157227, 0.07322877645492554, -1.183212161064148, -0.6180366277694702, 0.9449359178543091, 0.25179019570350647, -1.294435977935791, 0.23848575353622437, -0.33627915382385254, 1.0109387636184692, 0.47319599986076355, 1.3750267028808594, -1.5507056713104248, 0.22044017910957336, -0.43427449464797974, 0.01083962433040142, -1.4714692831039429, -1.4614219665527344, 0.6629607081413269, 0.7239728569984436, 0.4648747742176056, -0.12995849549770355, 0.9536970853805542, -0.9664443135261536, 0.8203414082527161, -0.76981121301651, -1.4867124557495117, -1.3785152435302734, -2.2285842895507812, -2.3026211261749268, 1.005113959312439, -0.38812190294265747, -0.6244187951087952, 1.9398452043533325, -1.1852426528930664, -1.8074119091033936, 1.127062201499939, 0.17983394861221313, 0.045353714376688004, 2.485257387161255, 0.12679240107536316, -0.6244174838066101, 0.20769262313842773, -0.6348984837532043, 0.83343505859375, -0.35811877250671387, 1.4673426151275635, 0.5846280455589294, -1.0394222736358643, 1.685041904449463, -0.5126556158065796, 0.5661466121673584, -0.5116364359855652, -0.746466875076294, -0.8519805669784546, 0.31994232535362244, 1.875099778175354, -0.4155222177505493, 1.7483675479888916, -0.4898518919944763, -1.4891464710235596, -1.6590369939804077, 0.9494513273239136, 0.47731003165245056, -0.8526895642280579, 0.30331113934516907, -0.25976264476776123, -0.12525850534439087, -0.11619385331869125, 1.2326058149337769, 1.2090485095977783, 0.8035123348236084, -0.22026488184928894, -0.8633342385292053, 0.14465293288230896, -0.00046256836503744125, -0.6873432397842407, -1.7867329120635986, -0.3559587299823761, 0.005593785084784031, 0.6675535440444946, -1.084286093711853, 1.6364023685455322, 0.9573376178741455, 1.7171801328659058, 0.9965454339981079, -0.223606675863266, 1.4202014207839966, 0.0016071265563368797, 1.7945430278778076, -0.4238796830177307, 0.6581621766090393, -0.349157452583313, -1.2661586999893188, 0.8051428198814392, -0.3093636631965637, -2.0610477924346924, -0.7701451778411865, -0.828397810459137, -0.23838892579078674, -0.7212961912155151, 1.0965114831924438, -0.06979721784591675, -1.401297926902771, 0.2963256239891052, -0.49291136860847473, 0.20113509893417358, -1.1935651302337646, 0.509629487991333, 0.8305725455284119, -0.7005571722984314, 0.010640354827046394, -0.25842106342315674, -1.4080168008804321, -0.4469072222709656, 0.11294252425432205, 1.9087121486663818, -1.0161199569702148, 0.9471685290336609, 0.9851661324501038, -0.7156694531440735, -0.033118654042482376, 0.2515793442726135, -0.3087638020515442, 0.8523882031440735, -1.0428365468978882, -0.3658483624458313, 1.192705750465393, -0.10493757575750351, -0.486613929271698, 1.453159213066101, 0.6552792191505432, -0.8031124472618103, -0.13456442952156067, -0.38015037775039673, -0.7964710593223572, -0.22075781226158142, -1.6576470136642456, -0.16425129771232605, 0.2537495791912079, -1.3556560277938843, -0.50322026014328, -0.2447839081287384, 1.38505220413208, -0.0182630755007267, 1.3647693395614624, -0.3012968897819519, -0.2233944833278656, -0.4882868528366089, -0.303436279296875, 0.3790903687477112, -0.11972916126251221, -0.6015164852142334, 0.3244743347167969, -0.8082513213157654, 0.2062785029411316, 1.3723998069763184, 0.48186707496643066, 0.13209637999534607, 0.738747775554657, 0.9900262355804443, 0.25525131821632385, -0.11399657279253006, -0.8169052600860596, -1.4394813776016235, 1.9880627393722534, -1.3711899518966675, 1.8348196744918823, 0.6287168860435486, -0.1795090138912201, -1.8192049264907837, -1.85504949092865, 1.4456350803375244, 1.3465237617492676, 2.327533006668091, 0.5881754159927368, 0.388687402009964, -0.8684202432632446, -0.6917242407798767, 0.38880404829978943, -1.1155716180801392, -0.6940534114837646, 0.20711439847946167, 2.3375773429870605, 1.625019907951355, -0.6868793368339539, -0.03901863843202591, -1.0485440492630005, 1.0689538717269897, -0.10100605338811874, 0.18217557668685913, 1.8697034120559692, -0.43737396597862244, -1.2067610025405884, 1.1335151195526123, -2.408165454864502, 0.03048255667090416, 1.9806348085403442, 0.2798687815666199, 0.09374961256980896, -1.3445138931274414, -0.620454728603363, -0.030355408787727356, -0.4438554346561432, -1.2614030838012695, 0.5985058546066284, -0.41220995783805847, -0.7825751304626465, -1.5994555950164795, 0.04014682024717331, -0.9672985672950745, -1.4375535249710083, 0.34800586104393005, 1.6245012283325195, 2.0138885974884033, -0.7671844363212585, 1.4730786085128784, -0.17746728658676147, 0.1043359711766243, 1.2929186820983887, 1.0789417028427124, 3.0725297927856445, 2.127480983734131, -1.301720380783081, 0.7423499822616577, -0.08416124433279037, -0.511066198348999, 1.1465210914611816, -1.1487271785736084, 1.3659158945083618, -0.10929172486066818, -1.226146936416626, -1.3171123266220093, 0.9279837608337402, 0.3358769714832306, 0.09206082671880722, -0.42497262358665466, 1.480570673942566, 0.10447141528129578, 1.4361953735351562, 0.3740239441394806, -0.29273319244384766, 0.6149460673332214, -0.47227704524993896, -0.43867814540863037, 1.606265902519226, 0.26587367057800293, -1.377916693687439, -2.0960681438446045, -0.13174009323120117, -0.8008679151535034, -0.037513360381126404, -0.5689404010772705, -0.8742150068283081, 1.574543833732605, 0.5108348727226257, -1.2305971384048462, -0.27782222628593445, -0.4711081087589264, -0.7200580835342407, 2.5469045639038086, -1.617662787437439, -0.29118189215660095, -0.8990333080291748, -0.5177239179611206, 1.7206774950027466, -1.1428765058517456, -0.08508001267910004, -0.9559155702590942, -0.5967570543289185, -1.5641719102859497, -0.7237682938575745, -0.0334646999835968, -0.8306439518928528, 0.7620560526847839, 0.16519063711166382, -1.081835150718689, -0.32494407892227173, -0.661200225353241, 0.7261882424354553, -0.08705016225576401, 0.48087945580482483, 1.8666645288467407, 0.4239242970943451, -0.5905743837356567, 0.6820770502090454, 1.1372243165969849, 0.6272809505462646, -0.48874765634536743, 0.24500519037246704, -0.7054007053375244, 0.39447978138923645, -1.3111169338226318, 0.2592284083366394, -2.9755029678344727, 0.5816797614097595, -0.08295726776123047, 0.006238680332899094, -0.0726696029305458, -1.3383971452713013, 0.9466568231582642, 2.5081796646118164, -1.1159796714782715, 0.3300626575946808, 0.3060343861579895, 1.2952669858932495, -1.4154775142669678, 0.28964969515800476, -0.5150768160820007, 2.0741870403289795, 0.3170960247516632, 0.9524227976799011, -0.48231661319732666, -2.080862522125244, 0.5775447487831116, -1.277815580368042, -1.1280243396759033, 0.8827454447746277, -0.950329065322876, -0.12166991829872131, -1.4572348594665527, -0.14509552717208862, -0.8787700533866882, -1.2067151069641113, 0.8562785983085632, 0.15237891674041748, 0.4584514796733856, -0.7459226846694946, 0.4522615969181061, -2.148216485977173, -1.1805508136749268, -0.21454238891601562, -0.8541248440742493, 0.4236239194869995, -0.20021486282348633, 0.7644843459129333, -0.2756986618041992, 0.1468994915485382, 0.4104633629322052, 1.1106826066970825, 3.1282362937927246, 0.22066423296928406, 0.5064759254455566, -0.22962123155593872, -0.8801844716072083, 1.5429649353027344, 1.0319255590438843, -0.02798277698457241, -0.522675096988678, -0.8757323622703552, 1.1701778173446655, 1.7692946195602417, 0.8031927943229675, 0.14216288924217224, -0.8497890830039978, -0.4920819103717804, -0.02640584670007229, 0.22232627868652344, 0.3985917866230011, 0.8821065425872803, -0.14825713634490967, 0.34753984212875366, 1.527793288230896, 1.295973539352417, -0.500170886516571, 0.4809578061103821, -0.772516667842865, -0.503324568271637, 0.6224314570426941, 0.4400835931301117, -0.0334324836730957, 0.3569648265838623, -0.892510175704956, -0.35397812724113464, -0.2007620930671692, -1.1067888736724854, -0.770612359046936, -0.3064395487308502, -0.4173075258731842, 1.5911394357681274, 0.012591011822223663, -0.6204893589019775, -0.1547049582004547, -0.9239464402198792, -0.20045173168182373, -1.113502025604248, 0.34863072633743286, -0.040232814848423004, -0.022165650501847267, -0.02659439481794834, 1.7665066719055176, -0.9206225872039795, -2.0603954792022705, 0.28605419397354126, 0.2739344537258148, -0.4394989311695099, 0.06347552686929703, 1.4935214519500732, 0.42909640073776245, 1.658416509628296, 1.3487821817398071, 0.9165797829627991, -0.596899151802063, -1.4538170099258423, 0.7905381917953491, 0.8147557377815247, -1.7577605247497559, 0.7227505445480347, 0.055795811116695404, -0.47095710039138794, 0.6382870674133301, 1.1224802732467651, 0.4540916085243225, -1.900138258934021, 0.6723214983940125, -0.9930991530418396, 0.6632580161094666, 0.5877442359924316, 0.8278355002403259, 0.20430085062980652, 1.0416160821914673, -1.1390796899795532, -1.241619348526001, -0.8046086430549622, -0.5566262602806091, 2.02998685836792, -0.19862991571426392, 0.6771346926689148, -0.17414724826812744, -1.319319725036621, -0.10231378674507141, 0.7091334462165833, 0.17882558703422546, -0.3237575590610504, 0.8021227121353149, -0.8006313443183899, -1.1458040475845337, -1.3686935901641846, -0.46572864055633545, -1.070745825767517, -0.9038482904434204, 1.2614625692367554, 0.995589017868042, 0.13408872485160828, 1.9096426963806152, 0.24669867753982544, 0.2616545259952545, -2.6544156074523926, 0.8274540305137634, 0.22022312879562378, 0.1038094311952591, 0.9342289566993713, 0.27596068382263184, 1.0604323148727417, -0.07569966465234756, 0.4674493670463562, -2.4179067611694336, 2.329209089279175, -0.22554075717926025, 0.7983877062797546, 0.005616966634988785, -0.1806482970714569, 0.9802712202072144, 0.6895012855529785, 0.6254390478134155, -1.1433380842208862, 0.6350312829017639, -0.6264973878860474, 1.328208565711975, 1.001608967781067, -0.7179786562919617, 0.02711692824959755, 1.325037956237793, 0.5512104630470276, -0.2483600378036499, -0.7832573056221008, -0.9077089428901672, 0.8949352502822876, 1.7030302286148071, 0.008849674835801125, 0.16553464531898499, 0.7936455607414246, 0.6968652009963989, -1.3298556804656982, 0.14006546139717102, -0.9438903331756592, -0.7639090418815613, 1.6157329082489014, 2.0642025470733643, 0.015376335009932518, 0.01990201324224472, -0.599940836429596, -1.2042165994644165, 0.665403425693512, 0.06593430042266846, 0.27131083607673645, 0.7616251707077026, -0.6154813170433044, 1.1805602312088013, 0.8425325751304626, 0.7710902690887451, 0.14345797896385193, 0.3471258282661438, 0.34313738346099854, -0.011206974275410175, -0.9187777638435364, -0.05298524722456932, -1.1034739017486572, -2.5893442630767822, 0.4008445739746094, -0.3626347780227661, -1.5198497772216797, 0.07552029937505722, -1.0164718627929688, 0.8393332958221436, -0.5598578453063965, -1.2672481536865234, -1.602358102798462, 0.0787166878581047, 0.04856985807418823, 0.9870644807815552, -1.6250518560409546, 0.13691607117652893, 1.1858710050582886, 0.9722923040390015, -0.6348827481269836, 1.154491901397705, 0.42925825715065, 1.148173451423645, 0.8273380398750305, -0.3112998902797699, 0.4684694707393646, 0.03188202902674675, -1.413714051246643, 0.6342225670814514, 1.1079612970352173, 0.06252637505531311, 1.5505434274673462, -0.632500410079956, 0.03911285474896431, 0.6552002429962158, -0.6685598492622375, -0.48909005522727966, -0.4869634509086609, 0.8137312531471252, 0.0020491620525717735, -0.8032440543174744, 0.02139998972415924, -0.22491610050201416, -0.1455792486667633, 0.0884162113070488, -1.3692708015441895, -0.3217271864414215, -0.5169923901557922, -0.5680363178253174, -1.2907700538635254, 0.0977940708398819, 1.420224905014038, -0.7519431114196777, -0.08903992176055908, 0.4981727600097656, 0.5457925200462341, 0.42315787076950073, 0.6273646354675293, -0.5984526872634888, -0.40734121203422546, -0.19184494018554688, -0.368134468793869, 0.3102502226829529, 1.3364864587783813, -0.2722075879573822, -1.0230247974395752, 0.7831881642341614, -0.3369174897670746, -0.16474685072898865, 1.9377374649047852, 0.12454121559858322, -0.7902515530586243, 0.30850642919540405, -0.7113849520683289, 1.8655580282211304, 1.655433177947998, 1.4797621965408325, -0.11179172992706299, -0.820132315158844, 0.5249521136283875, -0.324192076921463, -0.3374885320663452, 0.8866261839866638, 0.5218377709388733, -0.108957439661026, -1.4947199821472168, 0.6483485102653503, 1.2525843381881714, -0.8808954358100891, -0.5659012198448181, -0.009221312589943409, -0.7484986186027527, 0.9065892696380615, 0.9498429298400879, 0.49420005083084106, 0.32198116183280945, 1.5789982080459595, 0.6463416814804077, -0.43742987513542175, 0.46266263723373413, 0.5026895403862, 0.07686586678028107, -2.096351146697998, -0.9738388061523438, 0.3146737813949585, -0.44094333052635193, -1.488901138305664, 1.271036982536316, -1.0728214979171753, -0.9151915907859802, 0.2991684675216675, 0.12585347890853882, 1.4781068563461304, 0.3048762083053589, 1.57970130443573, 2.0683753490448, 1.0340441465377808, 0.0869554728269577, 1.5596065521240234, 0.03867536783218384, -0.24164050817489624, 1.7869594097137451, -0.5152809619903564, 0.3756539523601532, 1.2425720691680908, -0.399015873670578, -0.9443200826644897, -0.6910111308097839, -1.1244817972183228, -0.576945960521698, 1.1327921152114868, 0.20119452476501465, -1.195670247077942, 0.14912748336791992, 1.2915195226669312, -0.011572600342333317, -0.4103931486606598, 0.5033981800079346, 0.5978067517280579, -0.7804807424545288, -0.031167414039373398, -0.8565835356712341, 0.5888482332229614, -0.403414249420166, -0.5356085896492004, 0.4427207410335541, 0.4613827168941498, 1.2802531719207764, -0.03677847236394882, 0.12848535180091858, 1.312939167022705, -1.5661025047302246, 1.5541625022888184, -0.6478388905525208, 0.021189039573073387, -2.3992624282836914, 1.5788065195083618, -0.6426692605018616, 1.87861168384552, -2.842015027999878, 0.5986599922180176, -0.5665948987007141, -0.32295677065849304, 0.4616723358631134, -0.489310622215271, 0.09171242266893387, -0.12290631234645844, -1.1240328550338745, -0.031892210245132446, -0.6391012668609619, 0.5478659272193909, 1.0593633651733398, 1.1696027517318726, -1.303065299987793, -0.47590333223342896, -1.7423295974731445, -0.1907941997051239, -0.661669909954071, 0.33879271149635315, -2.124206066131592, -0.3468918204307556, -2.0515449047088623, -2.461265802383423, -1.3715109825134277, -0.7249550223350525, 1.1522560119628906, 0.09947853535413742, -0.9234540462493896, 0.9891413450241089, -0.4318898022174835, -1.874952793121338, 1.0585354566574097, -2.0393688678741455 ]
https://github.com/huggingface/datasets/issues/4241
NonMatchingChecksumError when attempting to download GLUE
Hi :) I think your issue may be related to the older `nlp` library. I was able to download `glue` with the latest version of `datasets`. Can you try updating with: ```py pip install -U datasets ``` Then you can download: ```py from datasets import load_dataset ds = load_dataset("glue", "rte") ```
## Describe the bug I am trying to download the GLUE dataset from the NLP module but get an error (see below). ## Steps to reproduce the bug ```python import nlp nlp.__version__ # '0.2.0' nlp.load_dataset('glue', name="rte", download_mode="force_redownload") ``` ## Expected results I expect the dataset to download without an error. ## Actual results ``` INFO:nlp.load:Checking /home/richier/.cache/huggingface/datasets/5fe6ab0df8a32a3371b2e6a969d31d855a19563724fb0d0f163748c270c0ac60.2ea96febf19981fae5f13f0a43d4e2aa58bc619bc23acf06de66675f425a5538.py for additional imports. INFO:nlp.load:Found main folder for dataset https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py at /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue INFO:nlp.load:Found specific version folder for dataset https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py at /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4 INFO:nlp.load:Found script file from https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py to /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4/glue.py INFO:nlp.load:Found dataset infos file from https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/dataset_infos.json to /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4/dataset_infos.json INFO:nlp.load:Found metadata file for dataset https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py at /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4/glue.json INFO:nlp.info:Loading Dataset Infos from /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4 INFO:nlp.builder:Generating dataset glue (/home/richier/.cache/huggingface/datasets/glue/rte/1.0.0) INFO:nlp.builder:Dataset not on Hf google storage. Downloading and preparing it from source INFO:nlp.utils.file_utils:Couldn't get ETag version for url https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb INFO:nlp.utils.file_utils:https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb not found in cache or force_download set to True, downloading to /home/richier/.cache/huggingface/datasets/downloads/tmpldt3n805 Downloading and preparing dataset glue/rte (download: 680.81 KiB, generated: 1.83 MiB, total: 2.49 MiB) to /home/richier/.cache/huggingface/datasets/glue/rte/1.0.0... Downloading: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 73.0/73.0 [00:00<00:00, 73.9kB/s] INFO:nlp.utils.file_utils:storing https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb in cache at /home/richier/.cache/huggingface/datasets/downloads/e8b62ee44e6f8b6aea761935928579ffe1aa55d161808c482e0725abbdcf9c64 INFO:nlp.utils.file_utils:creating metadata file for /home/richier/.cache/huggingface/datasets/downloads/e8b62ee44e6f8b6aea761935928579ffe1aa55d161808c482e0725abbdcf9c64 --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) <ipython-input-7-669a8343dcc1> in <module> ----> 1 nlp.load_dataset('glue', name="rte", download_mode="force_redownload") ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/load.py in load_dataset(path, name, version, data_dir, data_files, split, cache_dir, download_config, download_mode, ignore_verifications, save_infos, **config_kwargs) 518 download_mode=download_mode, 519 ignore_verifications=ignore_verifications, --> 520 save_infos=save_infos, 521 ) 522 ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, save_infos, try_from_hf_gcs, dl_manager, **download_and_prepare_kwargs) 418 verify_infos = not save_infos and not ignore_verifications 419 self._download_and_prepare( --> 420 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs 421 ) 422 # Sync info ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs) 458 # Checksums verification 459 if verify_infos: --> 460 verify_checksums(self.info.download_checksums, dl_manager.get_recorded_sizes_checksums()) 461 for split_generator in split_generators: 462 if str(split_generator.split_info.name).lower() == "all": ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums) 34 bad_urls = [url for url in expected_checksums if expected_checksums[url] != recorded_checksums[url]] 35 if len(bad_urls) > 0: ---> 36 raise NonMatchingChecksumError(str(bad_urls)) 37 logger.info("All the checksums matched successfully.") 38 NonMatchingChecksumError: ['https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb'] ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Linux-4.18.0-348.20.1.el8_5.x86_64-x86_64-with-redhat-8.5-Ootpa - Python version: 3.6.13 - PyArrow version: 6.0.1 - Pandas version: 1.1.5
782
51
NonMatchingChecksumError when attempting to download GLUE ## Describe the bug I am trying to download the GLUE dataset from the NLP module but get an error (see below). ## Steps to reproduce the bug ```python import nlp nlp.__version__ # '0.2.0' nlp.load_dataset('glue', name="rte", download_mode="force_redownload") ``` ## Expected results I expect the dataset to download without an error. ## Actual results ``` INFO:nlp.load:Checking /home/richier/.cache/huggingface/datasets/5fe6ab0df8a32a3371b2e6a969d31d855a19563724fb0d0f163748c270c0ac60.2ea96febf19981fae5f13f0a43d4e2aa58bc619bc23acf06de66675f425a5538.py for additional imports. INFO:nlp.load:Found main folder for dataset https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py at /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue INFO:nlp.load:Found specific version folder for dataset https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py at /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4 INFO:nlp.load:Found script file from https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py to /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4/glue.py INFO:nlp.load:Found dataset infos file from https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/dataset_infos.json to /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4/dataset_infos.json INFO:nlp.load:Found metadata file for dataset https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py at /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4/glue.json INFO:nlp.info:Loading Dataset Infos from /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4 INFO:nlp.builder:Generating dataset glue (/home/richier/.cache/huggingface/datasets/glue/rte/1.0.0) INFO:nlp.builder:Dataset not on Hf google storage. Downloading and preparing it from source INFO:nlp.utils.file_utils:Couldn't get ETag version for url https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb INFO:nlp.utils.file_utils:https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb not found in cache or force_download set to True, downloading to /home/richier/.cache/huggingface/datasets/downloads/tmpldt3n805 Downloading and preparing dataset glue/rte (download: 680.81 KiB, generated: 1.83 MiB, total: 2.49 MiB) to /home/richier/.cache/huggingface/datasets/glue/rte/1.0.0... Downloading: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 73.0/73.0 [00:00<00:00, 73.9kB/s] INFO:nlp.utils.file_utils:storing https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb in cache at /home/richier/.cache/huggingface/datasets/downloads/e8b62ee44e6f8b6aea761935928579ffe1aa55d161808c482e0725abbdcf9c64 INFO:nlp.utils.file_utils:creating metadata file for /home/richier/.cache/huggingface/datasets/downloads/e8b62ee44e6f8b6aea761935928579ffe1aa55d161808c482e0725abbdcf9c64 --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) <ipython-input-7-669a8343dcc1> in <module> ----> 1 nlp.load_dataset('glue', name="rte", download_mode="force_redownload") ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/load.py in load_dataset(path, name, version, data_dir, data_files, split, cache_dir, download_config, download_mode, ignore_verifications, save_infos, **config_kwargs) 518 download_mode=download_mode, 519 ignore_verifications=ignore_verifications, --> 520 save_infos=save_infos, 521 ) 522 ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, save_infos, try_from_hf_gcs, dl_manager, **download_and_prepare_kwargs) 418 verify_infos = not save_infos and not ignore_verifications 419 self._download_and_prepare( --> 420 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs 421 ) 422 # Sync info ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs) 458 # Checksums verification 459 if verify_infos: --> 460 verify_checksums(self.info.download_checksums, dl_manager.get_recorded_sizes_checksums()) 461 for split_generator in split_generators: 462 if str(split_generator.split_info.name).lower() == "all": ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums) 34 bad_urls = [url for url in expected_checksums if expected_checksums[url] != recorded_checksums[url]] 35 if len(bad_urls) > 0: ---> 36 raise NonMatchingChecksumError(str(bad_urls)) 37 logger.info("All the checksums matched successfully.") 38 NonMatchingChecksumError: ['https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb'] ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Linux-4.18.0-348.20.1.el8_5.x86_64-x86_64-with-redhat-8.5-Ootpa - Python version: 3.6.13 - PyArrow version: 6.0.1 - Pandas version: 1.1.5 Hi :) I think your issue may be related to the older `nlp` library. I was able to download `glue` with the latest version of `datasets`. Can you try updating with: ```py pip install -U datasets ``` Then you can download: ```py from datasets import load_dataset ds = load_dataset("glue", "rte") ```
[ -1.167021632194519, -0.9371128082275391, -0.7908138632774353, 1.319181203842163, -0.17419584095478058, -1.2544281482696533, 0.11773422360420227, -1.0371555089950562, 1.5875951051712036, -0.6915667653083801, 0.20951901376247406, -1.6552684307098389, -0.09963834285736084, -0.5304948091506958, -0.635225772857666, -0.9485264420509338, -0.3367857038974762, -0.8876282572746277, 1.0266799926757812, 2.5640296936035156, 1.289549469947815, -1.3324342966079712, 2.7262613773345947, 0.6812225580215454, -0.2886331081390381, -0.9991445541381836, 0.458454430103302, -0.017439240589737892, -1.254330039024353, -0.45752257108688354, -0.9489942193031311, 0.021682221442461014, -0.5863613486289978, -0.539829671382904, 0.15368781983852386, 0.45881354808807373, -0.32249966263771057, -0.3003857135772705, -0.5711013078689575, -0.643170952796936, 0.47648802399635315, -0.40823012590408325, 0.9737926721572876, -0.3252890408039093, 1.7421914339065552, -0.5575066208839417, 0.35582756996154785, 0.7391505241394043, 1.3321967124938965, 0.19453799724578857, 0.025272779166698456, 0.2646917402744293, 0.3078592121601105, 0.029202207922935486, 0.4609763026237488, 1.2596955299377441, 0.6075688004493713, 0.4477109909057617, 0.6440738439559937, -2.2418503761291504, 1.2296080589294434, -0.8650562167167664, 0.21737565100193024, 1.3437323570251465, -0.8331116437911987, 0.36051636934280396, -1.9106999635696411, -0.03432885557413101, 0.594048261642456, -2.3196723461151123, 0.26105090975761414, -1.3005520105361938, -0.5533546805381775, 0.9418861269950867, 0.2887057960033417, -1.2848377227783203, 0.2511228024959564, -0.4642208516597748, 1.1182200908660889, 0.5348396897315979, 1.1548062562942505, -1.722044825553894, -0.06810437142848969, -0.208949014544487, 0.11797267198562622, -1.268918752670288, -1.6536498069763184, 0.492613285779953, 0.5960291028022766, 0.7504976987838745, -0.052613548934459686, 0.9339908361434937, -1.0025821924209595, 0.8320680260658264, -0.9684047698974609, -1.6595538854599, -1.4237765073776245, -2.315430164337158, -2.2951812744140625, 0.7872483134269714, -0.46451336145401, -0.4588088393211365, 1.9889631271362305, -1.0434110164642334, -1.8428910970687866, 1.0309590101242065, 0.3276512026786804, -0.04737693816423416, 2.3111681938171387, 0.21898625791072845, -0.7633315920829773, 0.41758349537849426, -0.6870958805084229, 0.8039914965629578, -0.2684660851955414, 1.3712369203567505, 0.5958413481712341, -0.9164353609085083, 1.5876805782318115, -0.5087594389915466, 0.6087355017662048, -0.689825177192688, -0.5657961368560791, -0.878984272480011, 0.3159557282924652, 1.917554497718811, -0.39216575026512146, 1.6461713314056396, -0.41141757369041443, -1.6101667881011963, -1.5889806747436523, 0.8881658315658569, 0.5971378087997437, -0.8415188193321228, 0.05792791023850441, -0.4814261198043823, 0.06573066115379333, -0.011557373218238354, 1.0677735805511475, 1.1898061037063599, 0.7599872350692749, -0.35813042521476746, -0.9153522253036499, 0.19539891183376312, -0.07466630637645721, -0.6722058057785034, -1.8406682014465332, -0.3357126712799072, 0.258309930562973, 0.6473791003227234, -1.3418593406677246, 1.688929796218872, 0.8430004715919495, 2.0250961780548096, 0.9834955930709839, -0.354678213596344, 1.4993547201156616, 0.04551486670970917, 1.9000686407089233, -0.49599722027778625, 0.5921377539634705, -0.25610098242759705, -1.1792981624603271, 0.8574621677398682, -0.3987933099269867, -2.1006598472595215, -0.7797504663467407, -0.7411803007125854, -0.188731849193573, -0.6957007050514221, 0.8443317413330078, -0.24481502175331116, -1.5342336893081665, 0.12298889458179474, -0.6552749276161194, 0.11253100633621216, -1.2768369913101196, 0.1938730776309967, 0.7456050515174866, -0.7310149669647217, 0.02586684376001358, -0.28071078658103943, -1.296539068222046, -0.4208119213581085, 0.3260805904865265, 1.9363428354263306, -0.6325870156288147, 0.9126075506210327, 1.0033316612243652, -0.6515316963195801, 0.14704196155071259, 0.27183184027671814, -0.32395243644714355, 0.8171266913414001, -1.1204369068145752, -0.33626800775527954, 1.1388753652572632, -0.07046954333782196, -0.7135561108589172, 1.3485198020935059, 0.7877064943313599, -1.0432106256484985, -0.19994325935840607, -0.17559245228767395, -0.8003826141357422, -0.0112985298037529, -1.614279866218567, -0.17591571807861328, 0.3399300277233124, -1.4489102363586426, -0.3684055507183075, -0.27576884627342224, 1.3543485403060913, -0.21641789376735687, 1.4052846431732178, -0.33364084362983704, -0.1338408887386322, -0.3524026572704315, -0.42444995045661926, 0.17644207179546356, -0.2537904381752014, -0.6563827991485596, 0.20556524395942688, -0.7847744226455688, 0.30068492889404297, 1.4753987789154053, 0.3818972706794739, 0.0914195328950882, 0.4879453182220459, 1.0867645740509033, 0.37776392698287964, -0.12223073840141296, -0.8838003277778625, -1.572660207748413, 2.0000524520874023, -1.3860098123550415, 1.8413289785385132, 0.7860229015350342, -0.044415704905986786, -1.8831377029418945, -1.8702212572097778, 1.212291955947876, 1.122673511505127, 2.4354469776153564, 0.5529124140739441, 0.48730650544166565, -0.7434248924255371, -0.7299215197563171, 0.3417973518371582, -0.9526535272598267, -0.7506207823753357, 0.15462085604667664, 2.3543500900268555, 1.7354954481124878, -0.5437711477279663, -0.34361618757247925, -0.9216739535331726, 1.2035582065582275, -0.19085116684436798, 0.19699905812740326, 2.0300586223602295, -0.2373780459165573, -1.0236786603927612, 1.3599567413330078, -2.295567750930786, 0.2714666426181793, 2.0162904262542725, 0.24350810050964355, 0.09826929867267609, -1.4680029153823853, -0.7137840390205383, -0.22866620123386383, -0.44390320777893066, -1.263533115386963, 0.4596417546272278, -0.40480783581733704, -0.9296066761016846, -1.5120207071304321, 0.06140490993857384, -1.1731903553009033, -1.6934435367584229, 0.2760239541530609, 1.9135493040084839, 1.9609324932098389, -0.7494857311248779, 1.4064247608184814, -0.2582458555698395, 0.01583108864724636, 1.273085117340088, 1.2716277837753296, 3.1088449954986572, 1.826081395149231, -1.3323503732681274, 0.8209754824638367, -0.19415442645549774, -0.45039984583854675, 1.1315127611160278, -1.1197965145111084, 1.132196068763733, -0.32612156867980957, -1.2005354166030884, -1.1520015001296997, 1.0657362937927246, 0.5052057504653931, 0.05940525606274605, -0.4885016977787018, 1.2681666612625122, 0.09929941594600677, 1.353361964225769, 0.5852072834968567, -0.4354972541332245, 0.6792683005332947, -0.38476863503456116, -0.5956050753593445, 1.555715560913086, 0.164248526096344, -1.4274250268936157, -2.357320547103882, -0.3225485682487488, -0.8470463156700134, -0.0848640501499176, -0.5591332316398621, -1.0335570573806763, 1.6585677862167358, 0.4286385178565979, -1.274680495262146, -0.2812994420528412, -0.29220229387283325, -0.4483110308647156, 2.628943681716919, -1.3729466199874878, -0.08868725597858429, -0.9761642813682556, -0.44224900007247925, 1.6249862909317017, -1.1455073356628418, -0.18286821246147156, -1.0553257465362549, -0.6789459586143494, -1.3139055967330933, -0.5750477313995361, -0.03305979445576668, -0.8485705852508545, 0.7971131205558777, 0.1822359561920166, -1.1035405397415161, -0.223280131816864, -0.8666799068450928, 1.0374919176101685, -0.08560410141944885, 0.24954688549041748, 1.9327480792999268, 0.4541003704071045, -0.4283175766468048, 0.7110716700553894, 1.1369580030441284, 0.5674445629119873, -0.7081469893455505, 0.12764227390289307, -0.7028021812438965, 0.23430588841438293, -1.4064390659332275, 0.19996701180934906, -2.9654948711395264, 0.7355688214302063, -0.10797178745269775, -0.06527445465326309, -0.02112036943435669, -1.2865065336227417, 1.0782670974731445, 2.62304425239563, -1.2047429084777832, 0.4810940623283386, 0.41414082050323486, 1.1382834911346436, -1.5406732559204102, 0.2737922966480255, -0.4790688753128052, 2.05572247505188, 0.2141670137643814, 1.2856450080871582, -0.5583256483078003, -2.1358323097229004, 0.6151043176651001, -1.2042745351791382, -1.0825893878936768, 0.8106964230537415, -0.8599236011505127, 0.25474995374679565, -1.4497531652450562, -0.25995489954948425, -0.9425674676895142, -1.3036829233169556, 0.8111826777458191, 0.10202354192733765, 0.4306687116622925, -0.541724443435669, 0.4237971603870392, -2.114104986190796, -1.3281275033950806, -0.2220742255449295, -1.0227552652359009, 0.503878653049469, -0.31649264693260193, 0.593866229057312, -0.09587925672531128, 0.07228372991085052, 0.26936352252960205, 1.3766189813613892, 3.42299222946167, 0.19642969965934753, 0.20407871901988983, -0.13123677670955658, -1.0374491214752197, 1.3666772842407227, 0.9983990788459778, -0.12443728744983673, -0.6528099179267883, -0.981923520565033, 1.2695099115371704, 2.066164970397949, 1.0992685556411743, 0.08453212678432465, -0.8771392107009888, -0.7645377516746521, 0.07689589262008667, 0.17728719115257263, 0.4360426366329193, 0.966596782207489, 0.027908146381378174, 0.10234947502613068, 1.4411815404891968, 1.2321451902389526, -0.3562454581260681, 0.43673446774482727, -0.9748552441596985, -0.42379698157310486, 0.4099966585636139, 0.2779455780982971, 0.08050376176834106, 0.49059662222862244, -1.1723096370697021, -0.1875317096710205, -0.3984856903553009, -0.9398832321166992, -0.7771595120429993, -0.39466702938079834, -0.39773571491241455, 1.6082816123962402, 0.1384529322385788, -0.40534278750419617, -0.02532213367521763, -0.7339400053024292, -0.15129873156547546, -1.0521912574768066, 0.29669204354286194, -0.16304005682468414, -0.09026245772838593, -0.12389807403087616, 1.6386220455169678, -0.9778161644935608, -2.093771457672119, 0.2107352316379547, 0.2853926122188568, -0.4010162949562073, 0.20223140716552734, 1.7690894603729248, 0.5788775086402893, 1.3447930812835693, 1.2203882932662964, 0.9490981101989746, -0.6300792098045349, -1.21181058883667, 0.6387639045715332, 1.0211015939712524, -1.3679850101470947, 0.8487284779548645, -0.07209248840808868, -0.5174074769020081, 0.7300654053688049, 1.3226252794265747, 0.3928520083427429, -1.9895552396774292, 0.8233619332313538, -0.8400937914848328, 0.663605809211731, 0.6174386739730835, 0.7801759243011475, 0.18633930385112762, 0.8599982261657715, -1.3082456588745117, -1.1244096755981445, -0.6916803121566772, -0.5348843932151794, 1.9064892530441284, -0.18342028558254242, 0.5194885730743408, -0.12381118535995483, -1.1978862285614014, -0.10272052884101868, 0.7675830721855164, 0.3695272207260132, -0.41755181550979614, 0.9086280465126038, -0.6009957194328308, -1.0309226512908936, -1.307831048965454, -0.4839537441730499, -0.9892363548278809, -0.8779111504554749, 0.9697885513305664, 0.7511063814163208, 0.450829416513443, 1.9724737405776978, 0.5635650157928467, 0.312894731760025, -2.700786828994751, 0.8406166434288025, 0.3224237263202667, 0.05087719112634659, 1.0325827598571777, 0.2443864941596985, 1.1239231824874878, 0.04640811309218407, 0.6288036108016968, -2.313190221786499, 2.1534249782562256, -0.23776988685131073, 0.6386319398880005, -0.03275586664676666, -0.19292184710502625, 1.046163558959961, 0.5007941126823425, 0.5721238851547241, -1.1555993556976318, 0.7823591232299805, -0.5719671249389648, 1.1160187721252441, 0.9050438404083252, -0.8849269151687622, 0.016700491309165955, 1.337943434715271, 0.41516271233558655, -0.3782939612865448, -0.9210975766181946, -0.9182634353637695, 0.9563988447189331, 1.7339190244674683, -0.021059125661849976, 0.03523026406764984, 0.8233337998390198, 0.6503086090087891, -1.3257935047149658, 0.06801700592041016, -0.7262111306190491, -0.6742118000984192, 1.6796836853027344, 1.9907002449035645, -0.08143143355846405, -0.3135054111480713, -0.7555837035179138, -1.1967393159866333, 0.7930483818054199, -0.052703600376844406, 0.18112239241600037, 0.7229764461517334, -0.6569831967353821, 1.1673104763031006, 0.6076998710632324, 1.0046247243881226, -0.001597052440047264, 0.41224050521850586, 0.41919705271720886, -0.3395228385925293, -1.1856271028518677, -0.3108527362346649, -1.056675910949707, -2.5442955493927, 0.47017085552215576, -0.15036658942699432, -1.493090271949768, 0.06595644354820251, -0.998106062412262, 0.8596829771995544, -0.6075422167778015, -1.1519887447357178, -1.4691318273544312, 0.34451332688331604, -0.14079827070236206, 0.861042320728302, -1.6229171752929688, -0.11302025616168976, 1.2875607013702393, 1.0256136655807495, -0.5085784792900085, 1.0397807359695435, 0.26003241539001465, 0.9715023040771484, 0.8085780143737793, -0.37982410192489624, 0.5050826668739319, 0.069755420088768, -1.3623241186141968, 0.44054314494132996, 1.2241847515106201, 0.22152680158615112, 1.4421125650405884, -0.4930092394351959, 0.08392550051212311, 0.4701260030269623, -0.6066710948944092, -0.43919968605041504, -0.46737048029899597, 0.7621508836746216, 0.05931888893246651, -0.9499996304512024, -0.034610118716955185, -0.12426547706127167, -0.24316368997097015, 0.2757064402103424, -1.4536210298538208, -0.27275317907333374, -0.42713794112205505, -0.5414760112762451, -1.3201862573623657, 0.009266139939427376, 1.2842631340026855, -0.798733651638031, -0.27583736181259155, 0.5532963275909424, 0.41015565395355225, 0.5640243291854858, 0.5754366517066956, -0.6553816199302673, -0.3621092140674591, -0.3623013198375702, -0.37450695037841797, 0.2818472981452942, 1.2514088153839111, -0.06985896080732346, -1.0804944038391113, 0.808795690536499, -0.46433088183403015, 0.08152510225772858, 2.0356781482696533, 0.05921975150704384, -0.782233715057373, 0.3066920340061188, -0.699823260307312, 1.7601525783538818, 1.682178020477295, 1.2761873006820679, -0.1056683212518692, -0.877620279788971, 0.6080060005187988, -0.2709651589393616, -0.29815834760665894, 0.9657407402992249, 0.4879419803619385, -0.1353570818901062, -1.3826533555984497, 0.5398803353309631, 1.2725425958633423, -0.8703221678733826, -0.6995837092399597, 0.02777792513370514, -0.9032952189445496, 1.1370606422424316, 0.706089437007904, 0.33174270391464233, 0.1467203050851822, 1.552445650100708, 0.6874377131462097, -0.45528391003608704, 0.548234224319458, 0.4754340946674347, -0.18679244816303253, -2.079550266265869, -0.9041566252708435, 0.36740824580192566, -0.307322233915329, -1.6262528896331787, 1.3286421298980713, -1.1824970245361328, -1.0209637880325317, 0.4618024230003357, 0.1357736438512802, 1.3599128723144531, 0.3179626166820526, 1.7954025268554688, 2.1934494972229004, 0.9606991410255432, 0.2896612882614136, 1.2304737567901611, -0.057177770882844925, -0.41483500599861145, 1.8850864171981812, -0.38138020038604736, 0.5430934429168701, 1.015220046043396, -0.3700835108757019, -1.039381980895996, -0.7965106964111328, -1.2305552959442139, -0.6114823222160339, 1.2466391324996948, 0.15431079268455505, -1.1618311405181885, 0.19455517828464508, 1.5972906351089478, 0.060076627880334854, -0.21114423871040344, 0.740587055683136, 0.44805005192756653, -0.792146623134613, -0.03947828337550163, -0.8198652863502502, 0.4389253258705139, -0.09361697733402252, -0.3152417242527008, 0.17798054218292236, 0.5308330059051514, 1.3113727569580078, -0.0806335061788559, 0.10938644409179688, 1.2163912057876587, -1.3410494327545166, 1.535282850265503, -0.5877421498298645, 0.2913748025894165, -2.5215790271759033, 1.3490830659866333, -0.8357251882553101, 1.8751448392868042, -2.4742038249969482, 0.4816121757030487, -0.5162215828895569, -0.3579832911491394, 0.33947211503982544, -0.40443941950798035, 0.10532216727733612, -0.13763320446014404, -0.9821263551712036, -0.17578108608722687, -0.7514265775680542, 0.6486578583717346, 1.2023240327835083, 1.3241446018218994, -1.1899513006210327, -0.25487133860588074, -1.762313961982727, -0.18014617264270782, -0.8164674639701843, 0.3685607612133026, -2.0018210411071777, -0.14001990854740143, -2.0237014293670654, -2.440892219543457, -1.366455316543579, -0.8492563962936401, 1.0212403535842896, 0.23898400366306305, -0.9778971076011658, 1.080766201019287, -0.2969520092010498, -1.7745128870010376, 1.1121628284454346, -2.2041823863983154 ]
https://github.com/huggingface/datasets/issues/4241
NonMatchingChecksumError when attempting to download GLUE
This appears to work. Thank you! On Wed, Apr 27, 2022, 1:18 PM Steven Liu ***@***.***> wrote: > Hi :) > > I think your issue may be related to the older nlp library. I was able to > download glue with the latest version of datasets. Can you try updating > with: > > pip install -U datasets > > Then you can download: > > from datasets import load_datasetds = load_dataset("glue", "rte") > > β€” > Reply to this email directly, view it on GitHub > <https://github.com/huggingface/datasets/issues/4241#issuecomment-1111267650>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ACJUEKLUP2EL7ES3RRWJRPTVHFZHBANCNFSM5UPJBYXA> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
## Describe the bug I am trying to download the GLUE dataset from the NLP module but get an error (see below). ## Steps to reproduce the bug ```python import nlp nlp.__version__ # '0.2.0' nlp.load_dataset('glue', name="rte", download_mode="force_redownload") ``` ## Expected results I expect the dataset to download without an error. ## Actual results ``` INFO:nlp.load:Checking /home/richier/.cache/huggingface/datasets/5fe6ab0df8a32a3371b2e6a969d31d855a19563724fb0d0f163748c270c0ac60.2ea96febf19981fae5f13f0a43d4e2aa58bc619bc23acf06de66675f425a5538.py for additional imports. INFO:nlp.load:Found main folder for dataset https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py at /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue INFO:nlp.load:Found specific version folder for dataset https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py at /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4 INFO:nlp.load:Found script file from https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py to /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4/glue.py INFO:nlp.load:Found dataset infos file from https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/dataset_infos.json to /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4/dataset_infos.json INFO:nlp.load:Found metadata file for dataset https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py at /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4/glue.json INFO:nlp.info:Loading Dataset Infos from /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4 INFO:nlp.builder:Generating dataset glue (/home/richier/.cache/huggingface/datasets/glue/rte/1.0.0) INFO:nlp.builder:Dataset not on Hf google storage. Downloading and preparing it from source INFO:nlp.utils.file_utils:Couldn't get ETag version for url https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb INFO:nlp.utils.file_utils:https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb not found in cache or force_download set to True, downloading to /home/richier/.cache/huggingface/datasets/downloads/tmpldt3n805 Downloading and preparing dataset glue/rte (download: 680.81 KiB, generated: 1.83 MiB, total: 2.49 MiB) to /home/richier/.cache/huggingface/datasets/glue/rte/1.0.0... Downloading: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 73.0/73.0 [00:00<00:00, 73.9kB/s] INFO:nlp.utils.file_utils:storing https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb in cache at /home/richier/.cache/huggingface/datasets/downloads/e8b62ee44e6f8b6aea761935928579ffe1aa55d161808c482e0725abbdcf9c64 INFO:nlp.utils.file_utils:creating metadata file for /home/richier/.cache/huggingface/datasets/downloads/e8b62ee44e6f8b6aea761935928579ffe1aa55d161808c482e0725abbdcf9c64 --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) <ipython-input-7-669a8343dcc1> in <module> ----> 1 nlp.load_dataset('glue', name="rte", download_mode="force_redownload") ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/load.py in load_dataset(path, name, version, data_dir, data_files, split, cache_dir, download_config, download_mode, ignore_verifications, save_infos, **config_kwargs) 518 download_mode=download_mode, 519 ignore_verifications=ignore_verifications, --> 520 save_infos=save_infos, 521 ) 522 ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, save_infos, try_from_hf_gcs, dl_manager, **download_and_prepare_kwargs) 418 verify_infos = not save_infos and not ignore_verifications 419 self._download_and_prepare( --> 420 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs 421 ) 422 # Sync info ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs) 458 # Checksums verification 459 if verify_infos: --> 460 verify_checksums(self.info.download_checksums, dl_manager.get_recorded_sizes_checksums()) 461 for split_generator in split_generators: 462 if str(split_generator.split_info.name).lower() == "all": ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums) 34 bad_urls = [url for url in expected_checksums if expected_checksums[url] != recorded_checksums[url]] 35 if len(bad_urls) > 0: ---> 36 raise NonMatchingChecksumError(str(bad_urls)) 37 logger.info("All the checksums matched successfully.") 38 NonMatchingChecksumError: ['https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb'] ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Linux-4.18.0-348.20.1.el8_5.x86_64-x86_64-with-redhat-8.5-Ootpa - Python version: 3.6.13 - PyArrow version: 6.0.1 - Pandas version: 1.1.5
782
110
NonMatchingChecksumError when attempting to download GLUE ## Describe the bug I am trying to download the GLUE dataset from the NLP module but get an error (see below). ## Steps to reproduce the bug ```python import nlp nlp.__version__ # '0.2.0' nlp.load_dataset('glue', name="rte", download_mode="force_redownload") ``` ## Expected results I expect the dataset to download without an error. ## Actual results ``` INFO:nlp.load:Checking /home/richier/.cache/huggingface/datasets/5fe6ab0df8a32a3371b2e6a969d31d855a19563724fb0d0f163748c270c0ac60.2ea96febf19981fae5f13f0a43d4e2aa58bc619bc23acf06de66675f425a5538.py for additional imports. INFO:nlp.load:Found main folder for dataset https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py at /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue INFO:nlp.load:Found specific version folder for dataset https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py at /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4 INFO:nlp.load:Found script file from https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py to /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4/glue.py INFO:nlp.load:Found dataset infos file from https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/dataset_infos.json to /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4/dataset_infos.json INFO:nlp.load:Found metadata file for dataset https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/glue/glue.py at /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4/glue.json INFO:nlp.info:Loading Dataset Infos from /home/richier/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/datasets/glue/637080968c182118f006d3ea39dd9937940e81cfffc8d79836eaae8bba307fc4 INFO:nlp.builder:Generating dataset glue (/home/richier/.cache/huggingface/datasets/glue/rte/1.0.0) INFO:nlp.builder:Dataset not on Hf google storage. Downloading and preparing it from source INFO:nlp.utils.file_utils:Couldn't get ETag version for url https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb INFO:nlp.utils.file_utils:https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb not found in cache or force_download set to True, downloading to /home/richier/.cache/huggingface/datasets/downloads/tmpldt3n805 Downloading and preparing dataset glue/rte (download: 680.81 KiB, generated: 1.83 MiB, total: 2.49 MiB) to /home/richier/.cache/huggingface/datasets/glue/rte/1.0.0... Downloading: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 73.0/73.0 [00:00<00:00, 73.9kB/s] INFO:nlp.utils.file_utils:storing https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb in cache at /home/richier/.cache/huggingface/datasets/downloads/e8b62ee44e6f8b6aea761935928579ffe1aa55d161808c482e0725abbdcf9c64 INFO:nlp.utils.file_utils:creating metadata file for /home/richier/.cache/huggingface/datasets/downloads/e8b62ee44e6f8b6aea761935928579ffe1aa55d161808c482e0725abbdcf9c64 --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) <ipython-input-7-669a8343dcc1> in <module> ----> 1 nlp.load_dataset('glue', name="rte", download_mode="force_redownload") ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/load.py in load_dataset(path, name, version, data_dir, data_files, split, cache_dir, download_config, download_mode, ignore_verifications, save_infos, **config_kwargs) 518 download_mode=download_mode, 519 ignore_verifications=ignore_verifications, --> 520 save_infos=save_infos, 521 ) 522 ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/builder.py in download_and_prepare(self, download_config, download_mode, ignore_verifications, save_infos, try_from_hf_gcs, dl_manager, **download_and_prepare_kwargs) 418 verify_infos = not save_infos and not ignore_verifications 419 self._download_and_prepare( --> 420 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs 421 ) 422 # Sync info ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs) 458 # Checksums verification 459 if verify_infos: --> 460 verify_checksums(self.info.download_checksums, dl_manager.get_recorded_sizes_checksums()) 461 for split_generator in split_generators: 462 if str(split_generator.split_info.name).lower() == "all": ~/anaconda3/envs/py36_bert_ee_torch1_11/lib/python3.6/site-packages/nlp/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums) 34 bad_urls = [url for url in expected_checksums if expected_checksums[url] != recorded_checksums[url]] 35 if len(bad_urls) > 0: ---> 36 raise NonMatchingChecksumError(str(bad_urls)) 37 logger.info("All the checksums matched successfully.") 38 NonMatchingChecksumError: ['https://firebasestorage.googleapis.com/v0/b/mtl-sentence-representations.appspot.com/o/data%2FRTE.zip?alt=media&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb'] ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.0.0 - Platform: Linux-4.18.0-348.20.1.el8_5.x86_64-x86_64-with-redhat-8.5-Ootpa - Python version: 3.6.13 - PyArrow version: 6.0.1 - Pandas version: 1.1.5 This appears to work. Thank you! On Wed, Apr 27, 2022, 1:18 PM Steven Liu ***@***.***> wrote: > Hi :) > > I think your issue may be related to the older nlp library. I was able to > download glue with the latest version of datasets. Can you try updating > with: > > pip install -U datasets > > Then you can download: > > from datasets import load_datasetds = load_dataset("glue", "rte") > > β€” > Reply to this email directly, view it on GitHub > <https://github.com/huggingface/datasets/issues/4241#issuecomment-1111267650>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ACJUEKLUP2EL7ES3RRWJRPTVHFZHBANCNFSM5UPJBYXA> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
[ -1.167021632194519, -0.9371128082275391, -0.7908138632774353, 1.319181203842163, -0.17419584095478058, -1.2544281482696533, 0.11773422360420227, -1.0371555089950562, 1.5875951051712036, -0.6915667653083801, 0.20951901376247406, -1.6552684307098389, -0.09963834285736084, -0.5304948091506958, -0.635225772857666, -0.9485264420509338, -0.3367857038974762, -0.8876282572746277, 1.0266799926757812, 2.5640296936035156, 1.289549469947815, -1.3324342966079712, 2.7262613773345947, 0.6812225580215454, -0.2886331081390381, -0.9991445541381836, 0.458454430103302, -0.017439240589737892, -1.254330039024353, -0.45752257108688354, -0.9489942193031311, 0.021682221442461014, -0.5863613486289978, -0.539829671382904, 0.15368781983852386, 0.45881354808807373, -0.32249966263771057, -0.3003857135772705, -0.5711013078689575, -0.643170952796936, 0.47648802399635315, -0.40823012590408325, 0.9737926721572876, -0.3252890408039093, 1.7421914339065552, -0.5575066208839417, 0.35582756996154785, 0.7391505241394043, 1.3321967124938965, 0.19453799724578857, 0.025272779166698456, 0.2646917402744293, 0.3078592121601105, 0.029202207922935486, 0.4609763026237488, 1.2596955299377441, 0.6075688004493713, 0.4477109909057617, 0.6440738439559937, -2.2418503761291504, 1.2296080589294434, -0.8650562167167664, 0.21737565100193024, 1.3437323570251465, -0.8331116437911987, 0.36051636934280396, -1.9106999635696411, -0.03432885557413101, 0.594048261642456, -2.3196723461151123, 0.26105090975761414, -1.3005520105361938, -0.5533546805381775, 0.9418861269950867, 0.2887057960033417, -1.2848377227783203, 0.2511228024959564, -0.4642208516597748, 1.1182200908660889, 0.5348396897315979, 1.1548062562942505, -1.722044825553894, -0.06810437142848969, -0.208949014544487, 0.11797267198562622, -1.268918752670288, -1.6536498069763184, 0.492613285779953, 0.5960291028022766, 0.7504976987838745, -0.052613548934459686, 0.9339908361434937, -1.0025821924209595, 0.8320680260658264, -0.9684047698974609, -1.6595538854599, -1.4237765073776245, -2.315430164337158, -2.2951812744140625, 0.7872483134269714, -0.46451336145401, -0.4588088393211365, 1.9889631271362305, -1.0434110164642334, -1.8428910970687866, 1.0309590101242065, 0.3276512026786804, -0.04737693816423416, 2.3111681938171387, 0.21898625791072845, -0.7633315920829773, 0.41758349537849426, -0.6870958805084229, 0.8039914965629578, -0.2684660851955414, 1.3712369203567505, 0.5958413481712341, -0.9164353609085083, 1.5876805782318115, -0.5087594389915466, 0.6087355017662048, -0.689825177192688, -0.5657961368560791, -0.878984272480011, 0.3159557282924652, 1.917554497718811, -0.39216575026512146, 1.6461713314056396, -0.41141757369041443, -1.6101667881011963, -1.5889806747436523, 0.8881658315658569, 0.5971378087997437, -0.8415188193321228, 0.05792791023850441, -0.4814261198043823, 0.06573066115379333, -0.011557373218238354, 1.0677735805511475, 1.1898061037063599, 0.7599872350692749, -0.35813042521476746, -0.9153522253036499, 0.19539891183376312, -0.07466630637645721, -0.6722058057785034, -1.8406682014465332, -0.3357126712799072, 0.258309930562973, 0.6473791003227234, -1.3418593406677246, 1.688929796218872, 0.8430004715919495, 2.0250961780548096, 0.9834955930709839, -0.354678213596344, 1.4993547201156616, 0.04551486670970917, 1.9000686407089233, -0.49599722027778625, 0.5921377539634705, -0.25610098242759705, -1.1792981624603271, 0.8574621677398682, -0.3987933099269867, -2.1006598472595215, -0.7797504663467407, -0.7411803007125854, -0.188731849193573, -0.6957007050514221, 0.8443317413330078, -0.24481502175331116, -1.5342336893081665, 0.12298889458179474, -0.6552749276161194, 0.11253100633621216, -1.2768369913101196, 0.1938730776309967, 0.7456050515174866, -0.7310149669647217, 0.02586684376001358, -0.28071078658103943, -1.296539068222046, -0.4208119213581085, 0.3260805904865265, 1.9363428354263306, -0.6325870156288147, 0.9126075506210327, 1.0033316612243652, -0.6515316963195801, 0.14704196155071259, 0.27183184027671814, -0.32395243644714355, 0.8171266913414001, -1.1204369068145752, -0.33626800775527954, 1.1388753652572632, -0.07046954333782196, -0.7135561108589172, 1.3485198020935059, 0.7877064943313599, -1.0432106256484985, -0.19994325935840607, -0.17559245228767395, -0.8003826141357422, -0.0112985298037529, -1.614279866218567, -0.17591571807861328, 0.3399300277233124, -1.4489102363586426, -0.3684055507183075, -0.27576884627342224, 1.3543485403060913, -0.21641789376735687, 1.4052846431732178, -0.33364084362983704, -0.1338408887386322, -0.3524026572704315, -0.42444995045661926, 0.17644207179546356, -0.2537904381752014, -0.6563827991485596, 0.20556524395942688, -0.7847744226455688, 0.30068492889404297, 1.4753987789154053, 0.3818972706794739, 0.0914195328950882, 0.4879453182220459, 1.0867645740509033, 0.37776392698287964, -0.12223073840141296, -0.8838003277778625, -1.572660207748413, 2.0000524520874023, -1.3860098123550415, 1.8413289785385132, 0.7860229015350342, -0.044415704905986786, -1.8831377029418945, -1.8702212572097778, 1.212291955947876, 1.122673511505127, 2.4354469776153564, 0.5529124140739441, 0.48730650544166565, -0.7434248924255371, -0.7299215197563171, 0.3417973518371582, -0.9526535272598267, -0.7506207823753357, 0.15462085604667664, 2.3543500900268555, 1.7354954481124878, -0.5437711477279663, -0.34361618757247925, -0.9216739535331726, 1.2035582065582275, -0.19085116684436798, 0.19699905812740326, 2.0300586223602295, -0.2373780459165573, -1.0236786603927612, 1.3599567413330078, -2.295567750930786, 0.2714666426181793, 2.0162904262542725, 0.24350810050964355, 0.09826929867267609, -1.4680029153823853, -0.7137840390205383, -0.22866620123386383, -0.44390320777893066, -1.263533115386963, 0.4596417546272278, -0.40480783581733704, -0.9296066761016846, -1.5120207071304321, 0.06140490993857384, -1.1731903553009033, -1.6934435367584229, 0.2760239541530609, 1.9135493040084839, 1.9609324932098389, -0.7494857311248779, 1.4064247608184814, -0.2582458555698395, 0.01583108864724636, 1.273085117340088, 1.2716277837753296, 3.1088449954986572, 1.826081395149231, -1.3323503732681274, 0.8209754824638367, -0.19415442645549774, -0.45039984583854675, 1.1315127611160278, -1.1197965145111084, 1.132196068763733, -0.32612156867980957, -1.2005354166030884, -1.1520015001296997, 1.0657362937927246, 0.5052057504653931, 0.05940525606274605, -0.4885016977787018, 1.2681666612625122, 0.09929941594600677, 1.353361964225769, 0.5852072834968567, -0.4354972541332245, 0.6792683005332947, -0.38476863503456116, -0.5956050753593445, 1.555715560913086, 0.164248526096344, -1.4274250268936157, -2.357320547103882, -0.3225485682487488, -0.8470463156700134, -0.0848640501499176, -0.5591332316398621, -1.0335570573806763, 1.6585677862167358, 0.4286385178565979, -1.274680495262146, -0.2812994420528412, -0.29220229387283325, -0.4483110308647156, 2.628943681716919, -1.3729466199874878, -0.08868725597858429, -0.9761642813682556, -0.44224900007247925, 1.6249862909317017, -1.1455073356628418, -0.18286821246147156, -1.0553257465362549, -0.6789459586143494, -1.3139055967330933, -0.5750477313995361, -0.03305979445576668, -0.8485705852508545, 0.7971131205558777, 0.1822359561920166, -1.1035405397415161, -0.223280131816864, -0.8666799068450928, 1.0374919176101685, -0.08560410141944885, 0.24954688549041748, 1.9327480792999268, 0.4541003704071045, -0.4283175766468048, 0.7110716700553894, 1.1369580030441284, 0.5674445629119873, -0.7081469893455505, 0.12764227390289307, -0.7028021812438965, 0.23430588841438293, -1.4064390659332275, 0.19996701180934906, -2.9654948711395264, 0.7355688214302063, -0.10797178745269775, -0.06527445465326309, -0.02112036943435669, -1.2865065336227417, 1.0782670974731445, 2.62304425239563, -1.2047429084777832, 0.4810940623283386, 0.41414082050323486, 1.1382834911346436, -1.5406732559204102, 0.2737922966480255, -0.4790688753128052, 2.05572247505188, 0.2141670137643814, 1.2856450080871582, -0.5583256483078003, -2.1358323097229004, 0.6151043176651001, -1.2042745351791382, -1.0825893878936768, 0.8106964230537415, -0.8599236011505127, 0.25474995374679565, -1.4497531652450562, -0.25995489954948425, -0.9425674676895142, -1.3036829233169556, 0.8111826777458191, 0.10202354192733765, 0.4306687116622925, -0.541724443435669, 0.4237971603870392, -2.114104986190796, -1.3281275033950806, -0.2220742255449295, -1.0227552652359009, 0.503878653049469, -0.31649264693260193, 0.593866229057312, -0.09587925672531128, 0.07228372991085052, 0.26936352252960205, 1.3766189813613892, 3.42299222946167, 0.19642969965934753, 0.20407871901988983, -0.13123677670955658, -1.0374491214752197, 1.3666772842407227, 0.9983990788459778, -0.12443728744983673, -0.6528099179267883, -0.981923520565033, 1.2695099115371704, 2.066164970397949, 1.0992685556411743, 0.08453212678432465, -0.8771392107009888, -0.7645377516746521, 0.07689589262008667, 0.17728719115257263, 0.4360426366329193, 0.966596782207489, 0.027908146381378174, 0.10234947502613068, 1.4411815404891968, 1.2321451902389526, -0.3562454581260681, 0.43673446774482727, -0.9748552441596985, -0.42379698157310486, 0.4099966585636139, 0.2779455780982971, 0.08050376176834106, 0.49059662222862244, -1.1723096370697021, -0.1875317096710205, -0.3984856903553009, -0.9398832321166992, -0.7771595120429993, -0.39466702938079834, -0.39773571491241455, 1.6082816123962402, 0.1384529322385788, -0.40534278750419617, -0.02532213367521763, -0.7339400053024292, -0.15129873156547546, -1.0521912574768066, 0.29669204354286194, -0.16304005682468414, -0.09026245772838593, -0.12389807403087616, 1.6386220455169678, -0.9778161644935608, -2.093771457672119, 0.2107352316379547, 0.2853926122188568, -0.4010162949562073, 0.20223140716552734, 1.7690894603729248, 0.5788775086402893, 1.3447930812835693, 1.2203882932662964, 0.9490981101989746, -0.6300792098045349, -1.21181058883667, 0.6387639045715332, 1.0211015939712524, -1.3679850101470947, 0.8487284779548645, -0.07209248840808868, -0.5174074769020081, 0.7300654053688049, 1.3226252794265747, 0.3928520083427429, -1.9895552396774292, 0.8233619332313538, -0.8400937914848328, 0.663605809211731, 0.6174386739730835, 0.7801759243011475, 0.18633930385112762, 0.8599982261657715, -1.3082456588745117, -1.1244096755981445, -0.6916803121566772, -0.5348843932151794, 1.9064892530441284, -0.18342028558254242, 0.5194885730743408, -0.12381118535995483, -1.1978862285614014, -0.10272052884101868, 0.7675830721855164, 0.3695272207260132, -0.41755181550979614, 0.9086280465126038, -0.6009957194328308, -1.0309226512908936, -1.307831048965454, -0.4839537441730499, -0.9892363548278809, -0.8779111504554749, 0.9697885513305664, 0.7511063814163208, 0.450829416513443, 1.9724737405776978, 0.5635650157928467, 0.312894731760025, -2.700786828994751, 0.8406166434288025, 0.3224237263202667, 0.05087719112634659, 1.0325827598571777, 0.2443864941596985, 1.1239231824874878, 0.04640811309218407, 0.6288036108016968, -2.313190221786499, 2.1534249782562256, -0.23776988685131073, 0.6386319398880005, -0.03275586664676666, -0.19292184710502625, 1.046163558959961, 0.5007941126823425, 0.5721238851547241, -1.1555993556976318, 0.7823591232299805, -0.5719671249389648, 1.1160187721252441, 0.9050438404083252, -0.8849269151687622, 0.016700491309165955, 1.337943434715271, 0.41516271233558655, -0.3782939612865448, -0.9210975766181946, -0.9182634353637695, 0.9563988447189331, 1.7339190244674683, -0.021059125661849976, 0.03523026406764984, 0.8233337998390198, 0.6503086090087891, -1.3257935047149658, 0.06801700592041016, -0.7262111306190491, -0.6742118000984192, 1.6796836853027344, 1.9907002449035645, -0.08143143355846405, -0.3135054111480713, -0.7555837035179138, -1.1967393159866333, 0.7930483818054199, -0.052703600376844406, 0.18112239241600037, 0.7229764461517334, -0.6569831967353821, 1.1673104763031006, 0.6076998710632324, 1.0046247243881226, -0.001597052440047264, 0.41224050521850586, 0.41919705271720886, -0.3395228385925293, -1.1856271028518677, -0.3108527362346649, -1.056675910949707, -2.5442955493927, 0.47017085552215576, -0.15036658942699432, -1.493090271949768, 0.06595644354820251, -0.998106062412262, 0.8596829771995544, -0.6075422167778015, -1.1519887447357178, -1.4691318273544312, 0.34451332688331604, -0.14079827070236206, 0.861042320728302, -1.6229171752929688, -0.11302025616168976, 1.2875607013702393, 1.0256136655807495, -0.5085784792900085, 1.0397807359695435, 0.26003241539001465, 0.9715023040771484, 0.8085780143737793, -0.37982410192489624, 0.5050826668739319, 0.069755420088768, -1.3623241186141968, 0.44054314494132996, 1.2241847515106201, 0.22152680158615112, 1.4421125650405884, -0.4930092394351959, 0.08392550051212311, 0.4701260030269623, -0.6066710948944092, -0.43919968605041504, -0.46737048029899597, 0.7621508836746216, 0.05931888893246651, -0.9499996304512024, -0.034610118716955185, -0.12426547706127167, -0.24316368997097015, 0.2757064402103424, -1.4536210298538208, -0.27275317907333374, -0.42713794112205505, -0.5414760112762451, -1.3201862573623657, 0.009266139939427376, 1.2842631340026855, -0.798733651638031, -0.27583736181259155, 0.5532963275909424, 0.41015565395355225, 0.5640243291854858, 0.5754366517066956, -0.6553816199302673, -0.3621092140674591, -0.3623013198375702, -0.37450695037841797, 0.2818472981452942, 1.2514088153839111, -0.06985896080732346, -1.0804944038391113, 0.808795690536499, -0.46433088183403015, 0.08152510225772858, 2.0356781482696533, 0.05921975150704384, -0.782233715057373, 0.3066920340061188, -0.699823260307312, 1.7601525783538818, 1.682178020477295, 1.2761873006820679, -0.1056683212518692, -0.877620279788971, 0.6080060005187988, -0.2709651589393616, -0.29815834760665894, 0.9657407402992249, 0.4879419803619385, -0.1353570818901062, -1.3826533555984497, 0.5398803353309631, 1.2725425958633423, -0.8703221678733826, -0.6995837092399597, 0.02777792513370514, -0.9032952189445496, 1.1370606422424316, 0.706089437007904, 0.33174270391464233, 0.1467203050851822, 1.552445650100708, 0.6874377131462097, -0.45528391003608704, 0.548234224319458, 0.4754340946674347, -0.18679244816303253, -2.079550266265869, -0.9041566252708435, 0.36740824580192566, -0.307322233915329, -1.6262528896331787, 1.3286421298980713, -1.1824970245361328, -1.0209637880325317, 0.4618024230003357, 0.1357736438512802, 1.3599128723144531, 0.3179626166820526, 1.7954025268554688, 2.1934494972229004, 0.9606991410255432, 0.2896612882614136, 1.2304737567901611, -0.057177770882844925, -0.41483500599861145, 1.8850864171981812, -0.38138020038604736, 0.5430934429168701, 1.015220046043396, -0.3700835108757019, -1.039381980895996, -0.7965106964111328, -1.2305552959442139, -0.6114823222160339, 1.2466391324996948, 0.15431079268455505, -1.1618311405181885, 0.19455517828464508, 1.5972906351089478, 0.060076627880334854, -0.21114423871040344, 0.740587055683136, 0.44805005192756653, -0.792146623134613, -0.03947828337550163, -0.8198652863502502, 0.4389253258705139, -0.09361697733402252, -0.3152417242527008, 0.17798054218292236, 0.5308330059051514, 1.3113727569580078, -0.0806335061788559, 0.10938644409179688, 1.2163912057876587, -1.3410494327545166, 1.535282850265503, -0.5877421498298645, 0.2913748025894165, -2.5215790271759033, 1.3490830659866333, -0.8357251882553101, 1.8751448392868042, -2.4742038249969482, 0.4816121757030487, -0.5162215828895569, -0.3579832911491394, 0.33947211503982544, -0.40443941950798035, 0.10532216727733612, -0.13763320446014404, -0.9821263551712036, -0.17578108608722687, -0.7514265775680542, 0.6486578583717346, 1.2023240327835083, 1.3241446018218994, -1.1899513006210327, -0.25487133860588074, -1.762313961982727, -0.18014617264270782, -0.8164674639701843, 0.3685607612133026, -2.0018210411071777, -0.14001990854740143, -2.0237014293670654, -2.440892219543457, -1.366455316543579, -0.8492563962936401, 1.0212403535842896, 0.23898400366306305, -0.9778971076011658, 1.080766201019287, -0.2969520092010498, -1.7745128870010376, 1.1121628284454346, -2.2041823863983154 ]
https://github.com/huggingface/datasets/issues/4238
Dataset caching policy
Hi @loretoparisi, thanks for reporting. There is an option to force the redownload of the data files (and thus not using previously download and cached data files): `load_dataset(..., download_mode="force_redownload")`. Please, let me know if this fixes your problem. I can confirm you that your dataset loads without any problem for me: ```python In [2]: ds = load_dataset("loretoparisi/tatoeba-sentences", data_files={"train": "train.csv", "test": "test.csv"}, delimiter="\t", column_names=['label', 'text']) In [3]: ds Out[3]: DatasetDict({ train: Dataset({ features: ['label', 'text'], num_rows: 8256449 }) test: Dataset({ features: ['label', 'text'], num_rows: 2061204 }) }) ```
## Describe the bug I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error ``` [/usr/local/lib/python3.7/dist-packages/datasets/features/features.py](https://localhost:8080/#) in str2int(self, values) 852 if value not in self._str2int: 853 value = str(value).strip() --> 854 output.append(self._str2int[str(value)]) 855 else: 856 # No names provided, try to integerize KeyError: '\\N' ``` The file now is cleanup up, but I still get the error. This happens even if I inspect the local cached contents, and cleanup the files locally: ```python from datasets import load_dataset_builder dataset_builder = load_dataset_builder("loretoparisi/tatoeba-sentences") print(dataset_builder.cache_dir) print(dataset_builder.info.features) print(dataset_builder.info.splits) ``` ``` Using custom data configuration loretoparisi--tatoeba-sentences-e59b8ad92f1bb8dd /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-e59b8ad92f1bb8dd/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519 None None ``` and removing files located at `/root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-*`. Is there any remote file caching policy in place? If so, is it possibile to programmatically disable it? Currently it seems that the file `test.csv` on the repo [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences/blob/main/test.csv) is cached remotely. In fact I download locally the file from raw link, the file is up-to-date; but If I use it within `datasets` as shown above, it gives to me always the first revision of the file, not the last. Thank you. ## Steps to reproduce the bug ```python from datasets import load_dataset,Features,Value,ClassLabel class_names = ["cmn","deu","rus","fra","eng","jpn","spa","ita","kor","vie","nld","epo","por","tur","heb","hun","ell","ind","ara","arz","fin","bul","yue","swe","ukr","bel","que","ces","swh","nno","wuu","nob","zsm","est","kat","pol","lat","urd","sqi","isl","fry","afr","ron","fao","san","bre","tat","yid","uig","uzb","srp","qya","dan","pes","slk","eus","cycl","acm","tgl","lvs","kaz","hye","hin","lit","ben","cat","bos","hrv","tha","orv","cha","mon","lzh","scn","gle","mkd","slv","frm","glg","vol","ain","jbo","tok","ina","nds","mal","tlh","roh","ltz","oss","ido","gla","mlt","sco","ast","jav","oci","ile","ota","xal","tel","sjn","nov","khm","tpi","ang","aze","tgk","tuk","chv","hsb","dsb","bod","sme","cym","mri","ksh","kmr","ewe","kab","ber","tpw","udm","lld","pms","lad","grn","mlg","xho","pnb","grc","hat","lao","npi","cor","nah","avk","mar","guj","pan","kir","myv","prg","sux","crs","ckt","bak","zlm","hil","cbk","chr","nav","lkt","enm","arq","lin","abk","pcd","rom","gsw","tam","zul","awa","wln","amh","bar","hbo","mhr","bho","mrj","ckb","osx","pfl","mgm","sna","mah","hau","kan","nog","sin","glv","dng","kal","liv","vro","apc","jdt","fur","che","haw","yor","crh","pdc","ppl","kin","shs","mnw","tet","sah","kum","ngt","nya","pus","hif","mya","moh","wol","tir","ton","lzz","oar","lug","brx","non","mww","hak","nlv","ngu","bua","aym","vec","ibo","tkl","bam","kha","ceb","lou","fuc","smo","gag","lfn","arg","umb","tyv","kjh","oji","cyo","urh","kzj","pam","srd","lmo","swg","mdf","gil","snd","tso","sot","zza","tsn","pau","som","egl","ady","asm","ori","dtp","cho","max","kam","niu","sag","ilo","kaa","fuv","nch","hoc","iba","gbm","sun","war","mvv","pap","ary","kxi","csb","pag","cos","rif","kek","krc","aii","ban","ssw","tvl","mfe","tah","bvy","bcl","hnj","nau","nst","afb","quc","min","tmw","mad","bjn","mai","cjy","got","hsn","gan","tzl","dws","ldn","afh","sgs","krl","vep","rue","tly","mic","ext","izh","sma","jam","cmo","mwl","kpv","koi","bis","ike","run","evn","ryu","mnc","aoz","otk","kas","aln","akl","yua","shy","fkv","gos","fij","thv","zgh","gcf","cay","xmf","tig","div","lij","rap","hrx","cpi","tts","gaa","tmr","iii","ltg","bzt","syc","emx","gom","chg","osp","stq","frr","fro","nys","toi","new","phn","jpa","rel","drt","chn","pli","laa","bal","hdn","hax","mik","ajp","xqa","pal","crk","mni","lut","ayl","ood","sdh","ofs","nus","kiu","diq","qxq","alt","bfz","klj","mus","srn","guc","lim","zea","shi","mnr","bom","sat","szl"] features = Features({ 'label': ClassLabel(names=class_names), 'text': Value('string')}) num_labels = features['label'].num_classes data_files = { "train": "train.csv", "test": "test.csv" } sentences = load_dataset( "loretoparisi/tatoeba-sentences", data_files=data_files, delimiter='\t', column_names=['label', 'text'], ) # You can make this part faster with num_proc=<some int> sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) sentences = sentences.shuffle() ``` ## Expected results Properly tokenize dataset file `test.csv` without issues. ## Actual results Specify the actual results or traceback. ``` Downloading data files: 100% 2/2 [00:16<00:00, 7.34s/it] Downloading data: 100% 391M/391M [00:12<00:00, 36.6MB/s] Downloading data: 100% 92.4M/92.4M [00:02<00:00, 40.0MB/s] Extracting data files: 100% 2/2 [00:00<00:00, 47.66it/s] Dataset csv downloaded and prepared to /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-efeff8965c730a2c/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519. Subsequent calls will reuse this data. 100% 2/2 [00:00<00:00, 25.94it/s] 11% 942339/8256449 [01:55<13:11, 9245.85ex/s] --------------------------------------------------------------------------- KeyError Traceback (most recent call last) [<ipython-input-3-6a9867fad8d6>](https://localhost:8080/#) in <module>() 12 ) 13 # You can make this part faster with num_proc=<some int> ---> 14 sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) 15 sentences = sentences.shuffle() 10 frames [/usr/local/lib/python3.7/dist-packages/datasets/features/features.py](https://localhost:8080/#) in str2int(self, values) 852 if value not in self._str2int: 853 value = str(value).strip() --> 854 output.append(self._str2int[str(value)]) 855 else: 856 # No names provided, try to integerize KeyError: '\\N' ``` ## Environment info ``` - `datasets` version: 2.1.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 - Pandas version: 1.3.5 - ``` ``` - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: <fill in> - Using distributed or parallel set-up in script?: <fill in> - ```
783
87
Dataset caching policy ## Describe the bug I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error ``` [/usr/local/lib/python3.7/dist-packages/datasets/features/features.py](https://localhost:8080/#) in str2int(self, values) 852 if value not in self._str2int: 853 value = str(value).strip() --> 854 output.append(self._str2int[str(value)]) 855 else: 856 # No names provided, try to integerize KeyError: '\\N' ``` The file now is cleanup up, but I still get the error. This happens even if I inspect the local cached contents, and cleanup the files locally: ```python from datasets import load_dataset_builder dataset_builder = load_dataset_builder("loretoparisi/tatoeba-sentences") print(dataset_builder.cache_dir) print(dataset_builder.info.features) print(dataset_builder.info.splits) ``` ``` Using custom data configuration loretoparisi--tatoeba-sentences-e59b8ad92f1bb8dd /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-e59b8ad92f1bb8dd/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519 None None ``` and removing files located at `/root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-*`. Is there any remote file caching policy in place? If so, is it possibile to programmatically disable it? Currently it seems that the file `test.csv` on the repo [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences/blob/main/test.csv) is cached remotely. In fact I download locally the file from raw link, the file is up-to-date; but If I use it within `datasets` as shown above, it gives to me always the first revision of the file, not the last. Thank you. ## Steps to reproduce the bug ```python from datasets import load_dataset,Features,Value,ClassLabel class_names = ["cmn","deu","rus","fra","eng","jpn","spa","ita","kor","vie","nld","epo","por","tur","heb","hun","ell","ind","ara","arz","fin","bul","yue","swe","ukr","bel","que","ces","swh","nno","wuu","nob","zsm","est","kat","pol","lat","urd","sqi","isl","fry","afr","ron","fao","san","bre","tat","yid","uig","uzb","srp","qya","dan","pes","slk","eus","cycl","acm","tgl","lvs","kaz","hye","hin","lit","ben","cat","bos","hrv","tha","orv","cha","mon","lzh","scn","gle","mkd","slv","frm","glg","vol","ain","jbo","tok","ina","nds","mal","tlh","roh","ltz","oss","ido","gla","mlt","sco","ast","jav","oci","ile","ota","xal","tel","sjn","nov","khm","tpi","ang","aze","tgk","tuk","chv","hsb","dsb","bod","sme","cym","mri","ksh","kmr","ewe","kab","ber","tpw","udm","lld","pms","lad","grn","mlg","xho","pnb","grc","hat","lao","npi","cor","nah","avk","mar","guj","pan","kir","myv","prg","sux","crs","ckt","bak","zlm","hil","cbk","chr","nav","lkt","enm","arq","lin","abk","pcd","rom","gsw","tam","zul","awa","wln","amh","bar","hbo","mhr","bho","mrj","ckb","osx","pfl","mgm","sna","mah","hau","kan","nog","sin","glv","dng","kal","liv","vro","apc","jdt","fur","che","haw","yor","crh","pdc","ppl","kin","shs","mnw","tet","sah","kum","ngt","nya","pus","hif","mya","moh","wol","tir","ton","lzz","oar","lug","brx","non","mww","hak","nlv","ngu","bua","aym","vec","ibo","tkl","bam","kha","ceb","lou","fuc","smo","gag","lfn","arg","umb","tyv","kjh","oji","cyo","urh","kzj","pam","srd","lmo","swg","mdf","gil","snd","tso","sot","zza","tsn","pau","som","egl","ady","asm","ori","dtp","cho","max","kam","niu","sag","ilo","kaa","fuv","nch","hoc","iba","gbm","sun","war","mvv","pap","ary","kxi","csb","pag","cos","rif","kek","krc","aii","ban","ssw","tvl","mfe","tah","bvy","bcl","hnj","nau","nst","afb","quc","min","tmw","mad","bjn","mai","cjy","got","hsn","gan","tzl","dws","ldn","afh","sgs","krl","vep","rue","tly","mic","ext","izh","sma","jam","cmo","mwl","kpv","koi","bis","ike","run","evn","ryu","mnc","aoz","otk","kas","aln","akl","yua","shy","fkv","gos","fij","thv","zgh","gcf","cay","xmf","tig","div","lij","rap","hrx","cpi","tts","gaa","tmr","iii","ltg","bzt","syc","emx","gom","chg","osp","stq","frr","fro","nys","toi","new","phn","jpa","rel","drt","chn","pli","laa","bal","hdn","hax","mik","ajp","xqa","pal","crk","mni","lut","ayl","ood","sdh","ofs","nus","kiu","diq","qxq","alt","bfz","klj","mus","srn","guc","lim","zea","shi","mnr","bom","sat","szl"] features = Features({ 'label': ClassLabel(names=class_names), 'text': Value('string')}) num_labels = features['label'].num_classes data_files = { "train": "train.csv", "test": "test.csv" } sentences = load_dataset( "loretoparisi/tatoeba-sentences", data_files=data_files, delimiter='\t', column_names=['label', 'text'], ) # You can make this part faster with num_proc=<some int> sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) sentences = sentences.shuffle() ``` ## Expected results Properly tokenize dataset file `test.csv` without issues. ## Actual results Specify the actual results or traceback. ``` Downloading data files: 100% 2/2 [00:16<00:00, 7.34s/it] Downloading data: 100% 391M/391M [00:12<00:00, 36.6MB/s] Downloading data: 100% 92.4M/92.4M [00:02<00:00, 40.0MB/s] Extracting data files: 100% 2/2 [00:00<00:00, 47.66it/s] Dataset csv downloaded and prepared to /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-efeff8965c730a2c/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519. Subsequent calls will reuse this data. 100% 2/2 [00:00<00:00, 25.94it/s] 11% 942339/8256449 [01:55<13:11, 9245.85ex/s] --------------------------------------------------------------------------- KeyError Traceback (most recent call last) [<ipython-input-3-6a9867fad8d6>](https://localhost:8080/#) in <module>() 12 ) 13 # You can make this part faster with num_proc=<some int> ---> 14 sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) 15 sentences = sentences.shuffle() 10 frames [/usr/local/lib/python3.7/dist-packages/datasets/features/features.py](https://localhost:8080/#) in str2int(self, values) 852 if value not in self._str2int: 853 value = str(value).strip() --> 854 output.append(self._str2int[str(value)]) 855 else: 856 # No names provided, try to integerize KeyError: '\\N' ``` ## Environment info ``` - `datasets` version: 2.1.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 - Pandas version: 1.3.5 - ``` ``` - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: <fill in> - Using distributed or parallel set-up in script?: <fill in> - ``` Hi @loretoparisi, thanks for reporting. There is an option to force the redownload of the data files (and thus not using previously download and cached data files): `load_dataset(..., download_mode="force_redownload")`. Please, let me know if this fixes your problem. I can confirm you that your dataset loads without any problem for me: ```python In [2]: ds = load_dataset("loretoparisi/tatoeba-sentences", data_files={"train": "train.csv", "test": "test.csv"}, delimiter="\t", column_names=['label', 'text']) In [3]: ds Out[3]: DatasetDict({ train: Dataset({ features: ['label', 'text'], num_rows: 8256449 }) test: Dataset({ features: ['label', 'text'], num_rows: 2061204 }) }) ```
[ -1.184346318244934, -0.8846843242645264, -0.778140664100647, 1.4549767971038818, -0.08425062894821167, -1.2840534448623657, 0.09011413902044296, -0.9552542567253113, 1.6598578691482544, -0.7701401114463806, 0.3181559145450592, -1.6752535104751587, 0.020424887537956238, -0.5375863909721375, -0.7423824667930603, -0.7933813333511353, -0.3734804093837738, -0.8531193733215332, 1.0393558740615845, 2.4701120853424072, 1.2401710748672485, -1.363675594329834, 2.7785043716430664, 0.6777925491333008, -0.25129231810569763, -1.0293110609054565, 0.5641726851463318, -0.03513217717409134, -1.2870296239852905, -0.47761106491088867, -0.9729710817337036, 0.04961024969816208, -0.5021036267280579, -0.5127713084220886, 0.06715948134660721, 0.39931702613830566, -0.2514674663543701, -0.3799000680446625, -0.5447743535041809, -0.7262154817581177, 0.4595191180706024, -0.2965856194496155, 0.8860039114952087, -0.21879005432128906, 1.8810515403747559, -0.5482281446456909, 0.3652111291885376, 0.6597769856452942, 1.2919851541519165, 0.1610131412744522, -0.02889914996922016, 0.40546417236328125, 0.28539931774139404, -0.02893850952386856, 0.5471685528755188, 1.3200137615203857, 0.5633050799369812, 0.4522116184234619, 0.7457965016365051, -2.2541465759277344, 1.3282361030578613, -0.9493855834007263, 0.33836036920547485, 1.2713762521743774, -0.9570218920707703, 0.320554256439209, -1.8313816785812378, -0.09079010039567947, 0.5296634435653687, -2.2567899227142334, 0.21608790755271912, -1.3382344245910645, -0.5183040499687195, 0.9973549246788025, 0.30320921540260315, -1.268747091293335, 0.18985110521316528, -0.44803881645202637, 1.106708288192749, 0.39042848348617554, 1.2006983757019043, -1.6561522483825684, -0.03431914001703262, -0.29130637645721436, 0.14030411839485168, -1.2918716669082642, -1.6923401355743408, 0.6134223341941833, 0.6294181942939758, 0.6759037375450134, -0.1637422889471054, 1.0400930643081665, -1.012331485748291, 0.8129614591598511, -0.9767273664474487, -1.6963664293289185, -1.3990981578826904, -2.234445095062256, -2.2618520259857178, 0.821329653263092, -0.48654019832611084, -0.5098051428794861, 2.06648588180542, -1.1180380582809448, -1.8420898914337158, 1.1302670240402222, 0.33785006403923035, 0.015330415219068527, 2.3212978839874268, 0.3006012737751007, -0.722636878490448, 0.44547539949417114, -0.7019999027252197, 0.8318225741386414, -0.23974482715129852, 1.3330409526824951, 0.4968165159225464, -1.0738321542739868, 1.6286059617996216, -0.3639591634273529, 0.5396745204925537, -0.6848441958427429, -0.4838365614414215, -0.7403388619422913, 0.2934403419494629, 1.9469071626663208, -0.35453957319259644, 1.5793509483337402, -0.3451177477836609, -1.5941039323806763, -1.5144506692886353, 0.7503666281700134, 0.5931270718574524, -0.8082752227783203, 0.08200778067111969, -0.4252634644508362, 0.1196863129734993, 0.020707203075289726, 1.1147209405899048, 1.219312310218811, 0.7038719654083252, -0.26481491327285767, -0.8886616230010986, 0.23318709433078766, 0.02493336983025074, -0.6297130584716797, -1.8299795389175415, -0.2784639894962311, 0.18537011742591858, 0.6846004724502563, -1.2221136093139648, 1.7315901517868042, 0.8923154473304749, 2.02626895904541, 1.0631940364837646, -0.2903980016708374, 1.5534228086471558, 0.03944510966539383, 1.8289355039596558, -0.44210439920425415, 0.6086467504501343, -0.36158788204193115, -1.1139847040176392, 0.8129611015319824, -0.30153053998947144, -2.073744773864746, -0.7388837933540344, -0.7850790619850159, -0.15115444362163544, -0.7855518460273743, 0.9337257742881775, -0.30874818563461304, -1.5029481649398804, 0.1601599156856537, -0.7255977392196655, 0.11037757247686386, -1.2945120334625244, 0.19761539995670319, 0.713707447052002, -0.6990088820457458, 0.04918719828128815, -0.29579100012779236, -1.3056347370147705, -0.42277419567108154, 0.32772815227508545, 1.8580697774887085, -0.7314799427986145, 1.0033771991729736, 1.0641608238220215, -0.6704479455947876, 0.031935930252075195, 0.3419620990753174, -0.26192140579223633, 0.8938637375831604, -1.112060785293579, -0.40171265602111816, 1.1392394304275513, -0.09626556187868118, -0.5961139798164368, 1.3699538707733154, 0.7582244277000427, -1.0703647136688232, -0.23430274426937103, -0.20626819133758545, -0.8682754039764404, -0.04880455881357193, -1.5838254690170288, -0.18606139719486237, 0.32069966197013855, -1.4686415195465088, -0.42095422744750977, -0.18042553961277008, 1.3136650323867798, -0.17090409994125366, 1.4334594011306763, -0.3067145347595215, -0.1666802316904068, -0.28766703605651855, -0.4871847927570343, 0.16921919584274292, -0.1488252580165863, -0.6251168251037598, 0.28717949986457825, -0.790259063243866, 0.31658998131752014, 1.492648959159851, 0.379096120595932, 0.0008390713483095169, 0.5335695743560791, 1.157985806465149, 0.33410465717315674, -0.00022146198898553848, -0.8963144421577454, -1.626023530960083, 2.0274598598480225, -1.5151687860488892, 1.9556764364242554, 0.8107432723045349, -0.018700741231441498, -1.7695927619934082, -1.896591067314148, 1.4019545316696167, 1.1486228704452515, 2.399385452270508, 0.5449938774108887, 0.421744167804718, -0.7268015146255493, -0.7227703332901001, 0.3861343562602997, -1.0106712579727173, -0.7339181303977966, 0.062330275774002075, 2.3901734352111816, 1.8031249046325684, -0.45990338921546936, -0.24893982708454132, -0.9119160175323486, 1.2585480213165283, -0.1805448979139328, 0.19946260750293732, 1.9768425226211548, -0.2580139636993408, -1.0613141059875488, 1.3044625520706177, -2.27590012550354, 0.21145792305469513, 2.0090880393981934, 0.20651601254940033, 0.08274488151073456, -1.438651204109192, -0.6354751586914062, -0.1537698656320572, -0.498293936252594, -1.2558484077453613, 0.5729346871376038, -0.3347642719745636, -0.8504194021224976, -1.4164161682128906, 0.047106578946113586, -1.1769667863845825, -1.728482961654663, 0.3625854253768921, 1.9392187595367432, 2.0465080738067627, -0.7728780508041382, 1.4162482023239136, -0.26857972145080566, 0.21161137521266937, 1.2395577430725098, 1.2718989849090576, 3.1346242427825928, 1.8509889841079712, -1.3667964935302734, 0.7106136679649353, -0.163779154419899, -0.5007964372634888, 1.231845736503601, -1.0939372777938843, 1.1372888088226318, -0.17810019850730896, -1.2854851484298706, -1.2262736558914185, 0.9700950980186462, 0.49236220121383667, 0.018482249230146408, -0.4613334834575653, 1.225264549255371, 0.10876469314098358, 1.2523833513259888, 0.5889865756034851, -0.44118496775627136, 0.6155479550361633, -0.32723960280418396, -0.57750004529953, 1.57326340675354, 0.10775917768478394, -1.4252139329910278, -2.272385597229004, -0.1525031179189682, -0.8879189491271973, 0.037156976759433746, -0.6764201521873474, -0.9831531643867493, 1.6161092519760132, 0.41173654794692993, -1.2481635808944702, -0.2287144660949707, -0.3968663215637207, -0.596693217754364, 2.5921220779418945, -1.3422454595565796, -0.18058516085147858, -0.9916328191757202, -0.5254178643226624, 1.5610003471374512, -1.1856375932693481, -0.22068460285663605, -1.0276124477386475, -0.5918744802474976, -1.28466796875, -0.5885038375854492, 0.02785622887313366, -0.843910813331604, 0.769202470779419, 0.09204096347093582, -1.1295065879821777, -0.2537928521633148, -0.9221445322036743, 0.9648131132125854, -0.16524866223335266, 0.18305175006389618, 1.8174458742141724, 0.4294019639492035, -0.4434276819229126, 0.7242529392242432, 1.1484262943267822, 0.6320908665657043, -0.5398983955383301, 0.18757937848567963, -0.7042597532272339, 0.30794578790664673, -1.3801950216293335, 0.3074795603752136, -2.9257712364196777, 0.7064204812049866, -0.0882757306098938, -0.03143998235464096, -0.06781463325023651, -1.3361159563064575, 1.0287740230560303, 2.6056058406829834, -1.1099607944488525, 0.4654904007911682, 0.40818652510643005, 1.1659406423568726, -1.6261341571807861, 0.20472902059555054, -0.5465234518051147, 2.1155965328216553, 0.13828958570957184, 1.2248708009719849, -0.523578405380249, -2.2060186862945557, 0.6347461342811584, -1.2676873207092285, -1.0355440378189087, 0.8814719915390015, -0.8931629061698914, 0.17459183931350708, -1.363916039466858, -0.2118716686964035, -0.9117501378059387, -1.112433910369873, 0.7185235619544983, 0.1840725541114807, 0.4523816406726837, -0.6117989420890808, 0.3456275463104248, -2.0916454792022705, -1.3635188341140747, -0.14779748022556305, -1.006428837776184, 0.4858221709728241, -0.3108808100223541, 0.5814599990844727, -0.113233283162117, -0.004601155873388052, 0.31250283122062683, 1.3688303232192993, 3.37873911857605, 0.20753566920757294, 0.28838804364204407, -0.1459638625383377, -0.963683009147644, 1.447355031967163, 0.9242479205131531, -0.20883581042289734, -0.6150931715965271, -1.0669595003128052, 1.2887943983078003, 1.9794971942901611, 1.0968892574310303, 0.058309346437454224, -0.8362815976142883, -0.8292443156242371, 0.10498619824647903, 0.14141446352005005, 0.5521320104598999, 0.8778561949729919, 0.03993171453475952, 0.12464598566293716, 1.3550324440002441, 1.1755191087722778, -0.45771127939224243, 0.503707766532898, -0.9135527014732361, -0.45319777727127075, 0.38307616114616394, 0.2312384396791458, 0.10705411434173584, 0.38373273611068726, -1.0484687089920044, -0.30294451117515564, -0.32172268629074097, -0.9226619601249695, -0.7296006083488464, -0.34089937806129456, -0.4103909134864807, 1.6196717023849487, 0.04822681099176407, -0.4825626015663147, -0.00974275916814804, -0.7451594471931458, -0.15819092094898224, -1.0317693948745728, 0.23405860364437103, -0.15804150700569153, -0.07042873650789261, -0.08256959915161133, 1.6565337181091309, -0.9713889360427856, -2.10214900970459, 0.23045659065246582, 0.262439489364624, -0.4218578040599823, 0.20431052148342133, 1.736812710762024, 0.5313073992729187, 1.3955904245376587, 1.4015345573425293, 0.9832704067230225, -0.6669588685035706, -1.1995642185211182, 0.6683748960494995, 0.9309666752815247, -1.4206924438476562, 0.8130398988723755, -0.10710844397544861, -0.5110914707183838, 0.7121005654335022, 1.4106740951538086, 0.4990854263305664, -2.058788537979126, 0.8585930466651917, -0.8906136155128479, 0.6973910331726074, 0.6658516526222229, 0.77781742811203, 0.23096197843551636, 0.8536570072174072, -1.2453175783157349, -1.159754753112793, -0.7222474217414856, -0.6172083616256714, 1.856868863105774, -0.17502623796463013, 0.4267427325248718, -0.13630974292755127, -1.2561120986938477, -0.1196519285440445, 0.7468483448028564, 0.2940243184566498, -0.46395769715309143, 0.7737299799919128, -0.6569783091545105, -0.9813060760498047, -1.3348232507705688, -0.4568491578102112, -0.9722697734832764, -0.8747366666793823, 0.9579071402549744, 0.8474251627922058, 0.3643224239349365, 1.9148786067962646, 0.612372875213623, 0.2364368587732315, -2.6176209449768066, 0.8721314668655396, 0.33464357256889343, -0.05581039935350418, 0.8457011580467224, 0.25985559821128845, 1.1217128038406372, 0.025811145082116127, 0.616436243057251, -2.3049027919769287, 2.180769681930542, -0.25349804759025574, 0.6635909676551819, 0.007613582536578178, -0.2817576229572296, 1.1253435611724854, 0.5013647675514221, 0.6266083121299744, -1.098813533782959, 0.7243102192878723, -0.6388983726501465, 1.0941879749298096, 0.9267849326133728, -0.922454297542572, 0.0562911331653595, 1.355606198310852, 0.3789946734905243, -0.5075637698173523, -0.8791048526763916, -0.9341084361076355, 0.9824168682098389, 1.7285789251327515, -0.06276962161064148, 0.029996106401085854, 0.8864293694496155, 0.7581576108932495, -1.2732369899749756, 0.06535965204238892, -0.6626449227333069, -0.7874958515167236, 1.6876546144485474, 2.0542163848876953, -0.08717931807041168, -0.16191835701465607, -0.8096488118171692, -1.212296724319458, 0.820110559463501, -0.06342993676662445, 0.07917609810829163, 0.6528677344322205, -0.6775119304656982, 1.1919033527374268, 0.7691280245780945, 0.9619768857955933, 0.0957048237323761, 0.327237993478775, 0.35091060400009155, -0.257730096578598, -1.181425929069519, -0.38971978425979614, -1.0995701551437378, -2.5487871170043945, 0.4475303292274475, -0.23915979266166687, -1.4218798875808716, 0.05670744180679321, -1.0099010467529297, 0.80142742395401, -0.5658720135688782, -1.0845597982406616, -1.437961220741272, 0.3108100891113281, -0.15929722785949707, 0.8294210433959961, -1.680251121520996, -0.09261633455753326, 1.220028281211853, 0.9365774393081665, -0.5858548283576965, 0.9492747187614441, 0.24576161801815033, 0.9761046171188354, 0.9298037886619568, -0.42887601256370544, 0.5564741492271423, 0.13795210421085358, -1.3063212633132935, 0.44447222352027893, 1.181161642074585, 0.14531481266021729, 1.4711346626281738, -0.4075116515159607, 0.027664175257086754, 0.48563137650489807, -0.4997028112411499, -0.5647140145301819, -0.5793112516403198, 0.6522670984268188, 0.03862829506397247, -0.974368691444397, -0.029676152393221855, 0.005024932324886322, -0.24229131639003754, 0.24430657923221588, -1.50303316116333, -0.23889374732971191, -0.26647526025772095, -0.5462745428085327, -1.3157817125320435, -0.07109200209379196, 1.3664356470108032, -0.7866610884666443, -0.284498006105423, 0.47637662291526794, 0.35955941677093506, 0.5059739351272583, 0.5949181914329529, -0.7411344647407532, -0.32370132207870483, -0.28818270564079285, -0.3601745665073395, 0.3532983064651489, 1.2962172031402588, -0.07694503664970398, -0.9811698198318481, 0.6438583135604858, -0.33256980776786804, 0.111838698387146, 1.9364973306655884, 0.04133286327123642, -0.7110582590103149, 0.3333105742931366, -0.6763235926628113, 1.8157856464385986, 1.7389800548553467, 1.357411503791809, -0.07847856730222702, -0.9676243662834167, 0.6485779881477356, -0.29228830337524414, -0.3353549838066101, 0.9575177431106567, 0.42743411660194397, -0.14888785779476166, -1.4284557104110718, 0.6447216272354126, 1.3289299011230469, -0.9391836524009705, -0.7828424572944641, -0.00037312228232622147, -0.8911482691764832, 1.13558828830719, 0.6563720703125, 0.2817419469356537, 0.2091916799545288, 1.5449811220169067, 0.7024574279785156, -0.3999243378639221, 0.5483049154281616, 0.4943075180053711, -0.20909357070922852, -2.175396680831909, -1.0631446838378906, 0.29450345039367676, -0.2848517596721649, -1.620662808418274, 1.381401777267456, -1.1872137784957886, -0.9591692686080933, 0.529401957988739, 0.06613623350858688, 1.4209071397781372, 0.32151123881340027, 1.6804335117340088, 2.0733590126037598, 0.885556697845459, 0.3259809911251068, 1.3135974407196045, -0.1816461980342865, -0.443921834230423, 1.744359016418457, -0.508685290813446, 0.5063111186027527, 0.9567070007324219, -0.3803657293319702, -1.1772717237472534, -0.7953160405158997, -1.2747269868850708, -0.7260932326316833, 1.1556661128997803, 0.09148009121417999, -1.0818299055099487, 0.2794181704521179, 1.5700477361679077, 0.08349895477294922, -0.25395306944847107, 0.648362934589386, 0.4582797884941101, -0.7881302833557129, -0.15593531727790833, -0.9202213287353516, 0.4889136850833893, -0.15460611879825592, -0.3571537435054779, 0.2811533212661743, 0.47976672649383545, 1.2319655418395996, 0.010547857731580734, 0.05636310577392578, 1.2695930004119873, -1.425520896911621, 1.4762353897094727, -0.6239778399467468, 0.3504679799079895, -2.4884259700775146, 1.4353094100952148, -0.896573007106781, 1.900381326675415, -2.5989949703216553, 0.5029720067977905, -0.5818294882774353, -0.4953988790512085, 0.33777913451194763, -0.33543339371681213, 0.1551579087972641, -0.11106284707784653, -1.0048046112060547, -0.14164400100708008, -0.7436183094978333, 0.5906752943992615, 1.238158106803894, 1.3785477876663208, -1.0929250717163086, -0.2540164887905121, -1.748142957687378, -0.2526571750640869, -0.6361633539199829, 0.2532498836517334, -2.0082554817199707, -0.17885905504226685, -1.9555628299713135, -2.4361166954040527, -1.3354995250701904, -0.9017261862754822, 1.0629534721374512, 0.19458596408367157, -0.9158230423927307, 1.0751643180847168, -0.4085629880428314, -1.8130512237548828, 1.127989649772644, -2.1597073078155518 ]
https://github.com/huggingface/datasets/issues/4238
Dataset caching policy
@albertvillanova thank you, it seems it still does not work using: ```python sentences = load_dataset( "loretoparisi/tatoeba-sentences", data_files=data_files, delimiter='\t', column_names=['label', 'text'], download_mode="force_redownload" ) ``` [This](https://colab.research.google.com/drive/1EA6FWo5pHxU8rPHHRn24NlHqRPiOlPTr?usp=sharing) is my notebook! The problem is that the download file's revision for `test.csv` is not correctly parsed ![Schermata 2022-04-27 alle 18 09 41](https://user-images.githubusercontent.com/163333/165563507-0be53eb6-8f61-49b0-b959-306e59281de3.png) If you download that file `test.csv` from the repo, the line `\\N` is not there anymore (it was there at the first file upload). My impression is that the Apache Arrow file is still cached - so server side, despite of enabling a forced download. For what I can see I get those two arrow files, but I cannot grep the bad line (`\\N`) since are binary files: ``` !ls -l /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-efeff8965c730a2c/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519 !ls -l /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-efeff8965c730a2c/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519/csv-test.arrow !head /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-efeff8965c730a2c/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519/dataset_info.json ```
## Describe the bug I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error ``` [/usr/local/lib/python3.7/dist-packages/datasets/features/features.py](https://localhost:8080/#) in str2int(self, values) 852 if value not in self._str2int: 853 value = str(value).strip() --> 854 output.append(self._str2int[str(value)]) 855 else: 856 # No names provided, try to integerize KeyError: '\\N' ``` The file now is cleanup up, but I still get the error. This happens even if I inspect the local cached contents, and cleanup the files locally: ```python from datasets import load_dataset_builder dataset_builder = load_dataset_builder("loretoparisi/tatoeba-sentences") print(dataset_builder.cache_dir) print(dataset_builder.info.features) print(dataset_builder.info.splits) ``` ``` Using custom data configuration loretoparisi--tatoeba-sentences-e59b8ad92f1bb8dd /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-e59b8ad92f1bb8dd/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519 None None ``` and removing files located at `/root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-*`. Is there any remote file caching policy in place? If so, is it possibile to programmatically disable it? Currently it seems that the file `test.csv` on the repo [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences/blob/main/test.csv) is cached remotely. In fact I download locally the file from raw link, the file is up-to-date; but If I use it within `datasets` as shown above, it gives to me always the first revision of the file, not the last. Thank you. ## Steps to reproduce the bug ```python from datasets import load_dataset,Features,Value,ClassLabel class_names = ["cmn","deu","rus","fra","eng","jpn","spa","ita","kor","vie","nld","epo","por","tur","heb","hun","ell","ind","ara","arz","fin","bul","yue","swe","ukr","bel","que","ces","swh","nno","wuu","nob","zsm","est","kat","pol","lat","urd","sqi","isl","fry","afr","ron","fao","san","bre","tat","yid","uig","uzb","srp","qya","dan","pes","slk","eus","cycl","acm","tgl","lvs","kaz","hye","hin","lit","ben","cat","bos","hrv","tha","orv","cha","mon","lzh","scn","gle","mkd","slv","frm","glg","vol","ain","jbo","tok","ina","nds","mal","tlh","roh","ltz","oss","ido","gla","mlt","sco","ast","jav","oci","ile","ota","xal","tel","sjn","nov","khm","tpi","ang","aze","tgk","tuk","chv","hsb","dsb","bod","sme","cym","mri","ksh","kmr","ewe","kab","ber","tpw","udm","lld","pms","lad","grn","mlg","xho","pnb","grc","hat","lao","npi","cor","nah","avk","mar","guj","pan","kir","myv","prg","sux","crs","ckt","bak","zlm","hil","cbk","chr","nav","lkt","enm","arq","lin","abk","pcd","rom","gsw","tam","zul","awa","wln","amh","bar","hbo","mhr","bho","mrj","ckb","osx","pfl","mgm","sna","mah","hau","kan","nog","sin","glv","dng","kal","liv","vro","apc","jdt","fur","che","haw","yor","crh","pdc","ppl","kin","shs","mnw","tet","sah","kum","ngt","nya","pus","hif","mya","moh","wol","tir","ton","lzz","oar","lug","brx","non","mww","hak","nlv","ngu","bua","aym","vec","ibo","tkl","bam","kha","ceb","lou","fuc","smo","gag","lfn","arg","umb","tyv","kjh","oji","cyo","urh","kzj","pam","srd","lmo","swg","mdf","gil","snd","tso","sot","zza","tsn","pau","som","egl","ady","asm","ori","dtp","cho","max","kam","niu","sag","ilo","kaa","fuv","nch","hoc","iba","gbm","sun","war","mvv","pap","ary","kxi","csb","pag","cos","rif","kek","krc","aii","ban","ssw","tvl","mfe","tah","bvy","bcl","hnj","nau","nst","afb","quc","min","tmw","mad","bjn","mai","cjy","got","hsn","gan","tzl","dws","ldn","afh","sgs","krl","vep","rue","tly","mic","ext","izh","sma","jam","cmo","mwl","kpv","koi","bis","ike","run","evn","ryu","mnc","aoz","otk","kas","aln","akl","yua","shy","fkv","gos","fij","thv","zgh","gcf","cay","xmf","tig","div","lij","rap","hrx","cpi","tts","gaa","tmr","iii","ltg","bzt","syc","emx","gom","chg","osp","stq","frr","fro","nys","toi","new","phn","jpa","rel","drt","chn","pli","laa","bal","hdn","hax","mik","ajp","xqa","pal","crk","mni","lut","ayl","ood","sdh","ofs","nus","kiu","diq","qxq","alt","bfz","klj","mus","srn","guc","lim","zea","shi","mnr","bom","sat","szl"] features = Features({ 'label': ClassLabel(names=class_names), 'text': Value('string')}) num_labels = features['label'].num_classes data_files = { "train": "train.csv", "test": "test.csv" } sentences = load_dataset( "loretoparisi/tatoeba-sentences", data_files=data_files, delimiter='\t', column_names=['label', 'text'], ) # You can make this part faster with num_proc=<some int> sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) sentences = sentences.shuffle() ``` ## Expected results Properly tokenize dataset file `test.csv` without issues. ## Actual results Specify the actual results or traceback. ``` Downloading data files: 100% 2/2 [00:16<00:00, 7.34s/it] Downloading data: 100% 391M/391M [00:12<00:00, 36.6MB/s] Downloading data: 100% 92.4M/92.4M [00:02<00:00, 40.0MB/s] Extracting data files: 100% 2/2 [00:00<00:00, 47.66it/s] Dataset csv downloaded and prepared to /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-efeff8965c730a2c/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519. Subsequent calls will reuse this data. 100% 2/2 [00:00<00:00, 25.94it/s] 11% 942339/8256449 [01:55<13:11, 9245.85ex/s] --------------------------------------------------------------------------- KeyError Traceback (most recent call last) [<ipython-input-3-6a9867fad8d6>](https://localhost:8080/#) in <module>() 12 ) 13 # You can make this part faster with num_proc=<some int> ---> 14 sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) 15 sentences = sentences.shuffle() 10 frames [/usr/local/lib/python3.7/dist-packages/datasets/features/features.py](https://localhost:8080/#) in str2int(self, values) 852 if value not in self._str2int: 853 value = str(value).strip() --> 854 output.append(self._str2int[str(value)]) 855 else: 856 # No names provided, try to integerize KeyError: '\\N' ``` ## Environment info ``` - `datasets` version: 2.1.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 - Pandas version: 1.3.5 - ``` ``` - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: <fill in> - Using distributed or parallel set-up in script?: <fill in> - ```
783
125
Dataset caching policy ## Describe the bug I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error ``` [/usr/local/lib/python3.7/dist-packages/datasets/features/features.py](https://localhost:8080/#) in str2int(self, values) 852 if value not in self._str2int: 853 value = str(value).strip() --> 854 output.append(self._str2int[str(value)]) 855 else: 856 # No names provided, try to integerize KeyError: '\\N' ``` The file now is cleanup up, but I still get the error. This happens even if I inspect the local cached contents, and cleanup the files locally: ```python from datasets import load_dataset_builder dataset_builder = load_dataset_builder("loretoparisi/tatoeba-sentences") print(dataset_builder.cache_dir) print(dataset_builder.info.features) print(dataset_builder.info.splits) ``` ``` Using custom data configuration loretoparisi--tatoeba-sentences-e59b8ad92f1bb8dd /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-e59b8ad92f1bb8dd/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519 None None ``` and removing files located at `/root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-*`. Is there any remote file caching policy in place? If so, is it possibile to programmatically disable it? Currently it seems that the file `test.csv` on the repo [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences/blob/main/test.csv) is cached remotely. In fact I download locally the file from raw link, the file is up-to-date; but If I use it within `datasets` as shown above, it gives to me always the first revision of the file, not the last. Thank you. ## Steps to reproduce the bug ```python from datasets import load_dataset,Features,Value,ClassLabel class_names = ["cmn","deu","rus","fra","eng","jpn","spa","ita","kor","vie","nld","epo","por","tur","heb","hun","ell","ind","ara","arz","fin","bul","yue","swe","ukr","bel","que","ces","swh","nno","wuu","nob","zsm","est","kat","pol","lat","urd","sqi","isl","fry","afr","ron","fao","san","bre","tat","yid","uig","uzb","srp","qya","dan","pes","slk","eus","cycl","acm","tgl","lvs","kaz","hye","hin","lit","ben","cat","bos","hrv","tha","orv","cha","mon","lzh","scn","gle","mkd","slv","frm","glg","vol","ain","jbo","tok","ina","nds","mal","tlh","roh","ltz","oss","ido","gla","mlt","sco","ast","jav","oci","ile","ota","xal","tel","sjn","nov","khm","tpi","ang","aze","tgk","tuk","chv","hsb","dsb","bod","sme","cym","mri","ksh","kmr","ewe","kab","ber","tpw","udm","lld","pms","lad","grn","mlg","xho","pnb","grc","hat","lao","npi","cor","nah","avk","mar","guj","pan","kir","myv","prg","sux","crs","ckt","bak","zlm","hil","cbk","chr","nav","lkt","enm","arq","lin","abk","pcd","rom","gsw","tam","zul","awa","wln","amh","bar","hbo","mhr","bho","mrj","ckb","osx","pfl","mgm","sna","mah","hau","kan","nog","sin","glv","dng","kal","liv","vro","apc","jdt","fur","che","haw","yor","crh","pdc","ppl","kin","shs","mnw","tet","sah","kum","ngt","nya","pus","hif","mya","moh","wol","tir","ton","lzz","oar","lug","brx","non","mww","hak","nlv","ngu","bua","aym","vec","ibo","tkl","bam","kha","ceb","lou","fuc","smo","gag","lfn","arg","umb","tyv","kjh","oji","cyo","urh","kzj","pam","srd","lmo","swg","mdf","gil","snd","tso","sot","zza","tsn","pau","som","egl","ady","asm","ori","dtp","cho","max","kam","niu","sag","ilo","kaa","fuv","nch","hoc","iba","gbm","sun","war","mvv","pap","ary","kxi","csb","pag","cos","rif","kek","krc","aii","ban","ssw","tvl","mfe","tah","bvy","bcl","hnj","nau","nst","afb","quc","min","tmw","mad","bjn","mai","cjy","got","hsn","gan","tzl","dws","ldn","afh","sgs","krl","vep","rue","tly","mic","ext","izh","sma","jam","cmo","mwl","kpv","koi","bis","ike","run","evn","ryu","mnc","aoz","otk","kas","aln","akl","yua","shy","fkv","gos","fij","thv","zgh","gcf","cay","xmf","tig","div","lij","rap","hrx","cpi","tts","gaa","tmr","iii","ltg","bzt","syc","emx","gom","chg","osp","stq","frr","fro","nys","toi","new","phn","jpa","rel","drt","chn","pli","laa","bal","hdn","hax","mik","ajp","xqa","pal","crk","mni","lut","ayl","ood","sdh","ofs","nus","kiu","diq","qxq","alt","bfz","klj","mus","srn","guc","lim","zea","shi","mnr","bom","sat","szl"] features = Features({ 'label': ClassLabel(names=class_names), 'text': Value('string')}) num_labels = features['label'].num_classes data_files = { "train": "train.csv", "test": "test.csv" } sentences = load_dataset( "loretoparisi/tatoeba-sentences", data_files=data_files, delimiter='\t', column_names=['label', 'text'], ) # You can make this part faster with num_proc=<some int> sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) sentences = sentences.shuffle() ``` ## Expected results Properly tokenize dataset file `test.csv` without issues. ## Actual results Specify the actual results or traceback. ``` Downloading data files: 100% 2/2 [00:16<00:00, 7.34s/it] Downloading data: 100% 391M/391M [00:12<00:00, 36.6MB/s] Downloading data: 100% 92.4M/92.4M [00:02<00:00, 40.0MB/s] Extracting data files: 100% 2/2 [00:00<00:00, 47.66it/s] Dataset csv downloaded and prepared to /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-efeff8965c730a2c/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519. Subsequent calls will reuse this data. 100% 2/2 [00:00<00:00, 25.94it/s] 11% 942339/8256449 [01:55<13:11, 9245.85ex/s] --------------------------------------------------------------------------- KeyError Traceback (most recent call last) [<ipython-input-3-6a9867fad8d6>](https://localhost:8080/#) in <module>() 12 ) 13 # You can make this part faster with num_proc=<some int> ---> 14 sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) 15 sentences = sentences.shuffle() 10 frames [/usr/local/lib/python3.7/dist-packages/datasets/features/features.py](https://localhost:8080/#) in str2int(self, values) 852 if value not in self._str2int: 853 value = str(value).strip() --> 854 output.append(self._str2int[str(value)]) 855 else: 856 # No names provided, try to integerize KeyError: '\\N' ``` ## Environment info ``` - `datasets` version: 2.1.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 - Pandas version: 1.3.5 - ``` ``` - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: <fill in> - Using distributed or parallel set-up in script?: <fill in> - ``` @albertvillanova thank you, it seems it still does not work using: ```python sentences = load_dataset( "loretoparisi/tatoeba-sentences", data_files=data_files, delimiter='\t', column_names=['label', 'text'], download_mode="force_redownload" ) ``` [This](https://colab.research.google.com/drive/1EA6FWo5pHxU8rPHHRn24NlHqRPiOlPTr?usp=sharing) is my notebook! The problem is that the download file's revision for `test.csv` is not correctly parsed ![Schermata 2022-04-27 alle 18 09 41](https://user-images.githubusercontent.com/163333/165563507-0be53eb6-8f61-49b0-b959-306e59281de3.png) If you download that file `test.csv` from the repo, the line `\\N` is not there anymore (it was there at the first file upload). My impression is that the Apache Arrow file is still cached - so server side, despite of enabling a forced download. For what I can see I get those two arrow files, but I cannot grep the bad line (`\\N`) since are binary files: ``` !ls -l /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-efeff8965c730a2c/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519 !ls -l /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-efeff8965c730a2c/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519/csv-test.arrow !head /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-efeff8965c730a2c/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519/dataset_info.json ```
[ -1.184346318244934, -0.8846843242645264, -0.778140664100647, 1.4549767971038818, -0.08425062894821167, -1.2840534448623657, 0.09011413902044296, -0.9552542567253113, 1.6598578691482544, -0.7701401114463806, 0.3181559145450592, -1.6752535104751587, 0.020424887537956238, -0.5375863909721375, -0.7423824667930603, -0.7933813333511353, -0.3734804093837738, -0.8531193733215332, 1.0393558740615845, 2.4701120853424072, 1.2401710748672485, -1.363675594329834, 2.7785043716430664, 0.6777925491333008, -0.25129231810569763, -1.0293110609054565, 0.5641726851463318, -0.03513217717409134, -1.2870296239852905, -0.47761106491088867, -0.9729710817337036, 0.04961024969816208, -0.5021036267280579, -0.5127713084220886, 0.06715948134660721, 0.39931702613830566, -0.2514674663543701, -0.3799000680446625, -0.5447743535041809, -0.7262154817581177, 0.4595191180706024, -0.2965856194496155, 0.8860039114952087, -0.21879005432128906, 1.8810515403747559, -0.5482281446456909, 0.3652111291885376, 0.6597769856452942, 1.2919851541519165, 0.1610131412744522, -0.02889914996922016, 0.40546417236328125, 0.28539931774139404, -0.02893850952386856, 0.5471685528755188, 1.3200137615203857, 0.5633050799369812, 0.4522116184234619, 0.7457965016365051, -2.2541465759277344, 1.3282361030578613, -0.9493855834007263, 0.33836036920547485, 1.2713762521743774, -0.9570218920707703, 0.320554256439209, -1.8313816785812378, -0.09079010039567947, 0.5296634435653687, -2.2567899227142334, 0.21608790755271912, -1.3382344245910645, -0.5183040499687195, 0.9973549246788025, 0.30320921540260315, -1.268747091293335, 0.18985110521316528, -0.44803881645202637, 1.106708288192749, 0.39042848348617554, 1.2006983757019043, -1.6561522483825684, -0.03431914001703262, -0.29130637645721436, 0.14030411839485168, -1.2918716669082642, -1.6923401355743408, 0.6134223341941833, 0.6294181942939758, 0.6759037375450134, -0.1637422889471054, 1.0400930643081665, -1.012331485748291, 0.8129614591598511, -0.9767273664474487, -1.6963664293289185, -1.3990981578826904, -2.234445095062256, -2.2618520259857178, 0.821329653263092, -0.48654019832611084, -0.5098051428794861, 2.06648588180542, -1.1180380582809448, -1.8420898914337158, 1.1302670240402222, 0.33785006403923035, 0.015330415219068527, 2.3212978839874268, 0.3006012737751007, -0.722636878490448, 0.44547539949417114, -0.7019999027252197, 0.8318225741386414, -0.23974482715129852, 1.3330409526824951, 0.4968165159225464, -1.0738321542739868, 1.6286059617996216, -0.3639591634273529, 0.5396745204925537, -0.6848441958427429, -0.4838365614414215, -0.7403388619422913, 0.2934403419494629, 1.9469071626663208, -0.35453957319259644, 1.5793509483337402, -0.3451177477836609, -1.5941039323806763, -1.5144506692886353, 0.7503666281700134, 0.5931270718574524, -0.8082752227783203, 0.08200778067111969, -0.4252634644508362, 0.1196863129734993, 0.020707203075289726, 1.1147209405899048, 1.219312310218811, 0.7038719654083252, -0.26481491327285767, -0.8886616230010986, 0.23318709433078766, 0.02493336983025074, -0.6297130584716797, -1.8299795389175415, -0.2784639894962311, 0.18537011742591858, 0.6846004724502563, -1.2221136093139648, 1.7315901517868042, 0.8923154473304749, 2.02626895904541, 1.0631940364837646, -0.2903980016708374, 1.5534228086471558, 0.03944510966539383, 1.8289355039596558, -0.44210439920425415, 0.6086467504501343, -0.36158788204193115, -1.1139847040176392, 0.8129611015319824, -0.30153053998947144, -2.073744773864746, -0.7388837933540344, -0.7850790619850159, -0.15115444362163544, -0.7855518460273743, 0.9337257742881775, -0.30874818563461304, -1.5029481649398804, 0.1601599156856537, -0.7255977392196655, 0.11037757247686386, -1.2945120334625244, 0.19761539995670319, 0.713707447052002, -0.6990088820457458, 0.04918719828128815, -0.29579100012779236, -1.3056347370147705, -0.42277419567108154, 0.32772815227508545, 1.8580697774887085, -0.7314799427986145, 1.0033771991729736, 1.0641608238220215, -0.6704479455947876, 0.031935930252075195, 0.3419620990753174, -0.26192140579223633, 0.8938637375831604, -1.112060785293579, -0.40171265602111816, 1.1392394304275513, -0.09626556187868118, -0.5961139798164368, 1.3699538707733154, 0.7582244277000427, -1.0703647136688232, -0.23430274426937103, -0.20626819133758545, -0.8682754039764404, -0.04880455881357193, -1.5838254690170288, -0.18606139719486237, 0.32069966197013855, -1.4686415195465088, -0.42095422744750977, -0.18042553961277008, 1.3136650323867798, -0.17090409994125366, 1.4334594011306763, -0.3067145347595215, -0.1666802316904068, -0.28766703605651855, -0.4871847927570343, 0.16921919584274292, -0.1488252580165863, -0.6251168251037598, 0.28717949986457825, -0.790259063243866, 0.31658998131752014, 1.492648959159851, 0.379096120595932, 0.0008390713483095169, 0.5335695743560791, 1.157985806465149, 0.33410465717315674, -0.00022146198898553848, -0.8963144421577454, -1.626023530960083, 2.0274598598480225, -1.5151687860488892, 1.9556764364242554, 0.8107432723045349, -0.018700741231441498, -1.7695927619934082, -1.896591067314148, 1.4019545316696167, 1.1486228704452515, 2.399385452270508, 0.5449938774108887, 0.421744167804718, -0.7268015146255493, -0.7227703332901001, 0.3861343562602997, -1.0106712579727173, -0.7339181303977966, 0.062330275774002075, 2.3901734352111816, 1.8031249046325684, -0.45990338921546936, -0.24893982708454132, -0.9119160175323486, 1.2585480213165283, -0.1805448979139328, 0.19946260750293732, 1.9768425226211548, -0.2580139636993408, -1.0613141059875488, 1.3044625520706177, -2.27590012550354, 0.21145792305469513, 2.0090880393981934, 0.20651601254940033, 0.08274488151073456, -1.438651204109192, -0.6354751586914062, -0.1537698656320572, -0.498293936252594, -1.2558484077453613, 0.5729346871376038, -0.3347642719745636, -0.8504194021224976, -1.4164161682128906, 0.047106578946113586, -1.1769667863845825, -1.728482961654663, 0.3625854253768921, 1.9392187595367432, 2.0465080738067627, -0.7728780508041382, 1.4162482023239136, -0.26857972145080566, 0.21161137521266937, 1.2395577430725098, 1.2718989849090576, 3.1346242427825928, 1.8509889841079712, -1.3667964935302734, 0.7106136679649353, -0.163779154419899, -0.5007964372634888, 1.231845736503601, -1.0939372777938843, 1.1372888088226318, -0.17810019850730896, -1.2854851484298706, -1.2262736558914185, 0.9700950980186462, 0.49236220121383667, 0.018482249230146408, -0.4613334834575653, 1.225264549255371, 0.10876469314098358, 1.2523833513259888, 0.5889865756034851, -0.44118496775627136, 0.6155479550361633, -0.32723960280418396, -0.57750004529953, 1.57326340675354, 0.10775917768478394, -1.4252139329910278, -2.272385597229004, -0.1525031179189682, -0.8879189491271973, 0.037156976759433746, -0.6764201521873474, -0.9831531643867493, 1.6161092519760132, 0.41173654794692993, -1.2481635808944702, -0.2287144660949707, -0.3968663215637207, -0.596693217754364, 2.5921220779418945, -1.3422454595565796, -0.18058516085147858, -0.9916328191757202, -0.5254178643226624, 1.5610003471374512, -1.1856375932693481, -0.22068460285663605, -1.0276124477386475, -0.5918744802474976, -1.28466796875, -0.5885038375854492, 0.02785622887313366, -0.843910813331604, 0.769202470779419, 0.09204096347093582, -1.1295065879821777, -0.2537928521633148, -0.9221445322036743, 0.9648131132125854, -0.16524866223335266, 0.18305175006389618, 1.8174458742141724, 0.4294019639492035, -0.4434276819229126, 0.7242529392242432, 1.1484262943267822, 0.6320908665657043, -0.5398983955383301, 0.18757937848567963, -0.7042597532272339, 0.30794578790664673, -1.3801950216293335, 0.3074795603752136, -2.9257712364196777, 0.7064204812049866, -0.0882757306098938, -0.03143998235464096, -0.06781463325023651, -1.3361159563064575, 1.0287740230560303, 2.6056058406829834, -1.1099607944488525, 0.4654904007911682, 0.40818652510643005, 1.1659406423568726, -1.6261341571807861, 0.20472902059555054, -0.5465234518051147, 2.1155965328216553, 0.13828958570957184, 1.2248708009719849, -0.523578405380249, -2.2060186862945557, 0.6347461342811584, -1.2676873207092285, -1.0355440378189087, 0.8814719915390015, -0.8931629061698914, 0.17459183931350708, -1.363916039466858, -0.2118716686964035, -0.9117501378059387, -1.112433910369873, 0.7185235619544983, 0.1840725541114807, 0.4523816406726837, -0.6117989420890808, 0.3456275463104248, -2.0916454792022705, -1.3635188341140747, -0.14779748022556305, -1.006428837776184, 0.4858221709728241, -0.3108808100223541, 0.5814599990844727, -0.113233283162117, -0.004601155873388052, 0.31250283122062683, 1.3688303232192993, 3.37873911857605, 0.20753566920757294, 0.28838804364204407, -0.1459638625383377, -0.963683009147644, 1.447355031967163, 0.9242479205131531, -0.20883581042289734, -0.6150931715965271, -1.0669595003128052, 1.2887943983078003, 1.9794971942901611, 1.0968892574310303, 0.058309346437454224, -0.8362815976142883, -0.8292443156242371, 0.10498619824647903, 0.14141446352005005, 0.5521320104598999, 0.8778561949729919, 0.03993171453475952, 0.12464598566293716, 1.3550324440002441, 1.1755191087722778, -0.45771127939224243, 0.503707766532898, -0.9135527014732361, -0.45319777727127075, 0.38307616114616394, 0.2312384396791458, 0.10705411434173584, 0.38373273611068726, -1.0484687089920044, -0.30294451117515564, -0.32172268629074097, -0.9226619601249695, -0.7296006083488464, -0.34089937806129456, -0.4103909134864807, 1.6196717023849487, 0.04822681099176407, -0.4825626015663147, -0.00974275916814804, -0.7451594471931458, -0.15819092094898224, -1.0317693948745728, 0.23405860364437103, -0.15804150700569153, -0.07042873650789261, -0.08256959915161133, 1.6565337181091309, -0.9713889360427856, -2.10214900970459, 0.23045659065246582, 0.262439489364624, -0.4218578040599823, 0.20431052148342133, 1.736812710762024, 0.5313073992729187, 1.3955904245376587, 1.4015345573425293, 0.9832704067230225, -0.6669588685035706, -1.1995642185211182, 0.6683748960494995, 0.9309666752815247, -1.4206924438476562, 0.8130398988723755, -0.10710844397544861, -0.5110914707183838, 0.7121005654335022, 1.4106740951538086, 0.4990854263305664, -2.058788537979126, 0.8585930466651917, -0.8906136155128479, 0.6973910331726074, 0.6658516526222229, 0.77781742811203, 0.23096197843551636, 0.8536570072174072, -1.2453175783157349, -1.159754753112793, -0.7222474217414856, -0.6172083616256714, 1.856868863105774, -0.17502623796463013, 0.4267427325248718, -0.13630974292755127, -1.2561120986938477, -0.1196519285440445, 0.7468483448028564, 0.2940243184566498, -0.46395769715309143, 0.7737299799919128, -0.6569783091545105, -0.9813060760498047, -1.3348232507705688, -0.4568491578102112, -0.9722697734832764, -0.8747366666793823, 0.9579071402549744, 0.8474251627922058, 0.3643224239349365, 1.9148786067962646, 0.612372875213623, 0.2364368587732315, -2.6176209449768066, 0.8721314668655396, 0.33464357256889343, -0.05581039935350418, 0.8457011580467224, 0.25985559821128845, 1.1217128038406372, 0.025811145082116127, 0.616436243057251, -2.3049027919769287, 2.180769681930542, -0.25349804759025574, 0.6635909676551819, 0.007613582536578178, -0.2817576229572296, 1.1253435611724854, 0.5013647675514221, 0.6266083121299744, -1.098813533782959, 0.7243102192878723, -0.6388983726501465, 1.0941879749298096, 0.9267849326133728, -0.922454297542572, 0.0562911331653595, 1.355606198310852, 0.3789946734905243, -0.5075637698173523, -0.8791048526763916, -0.9341084361076355, 0.9824168682098389, 1.7285789251327515, -0.06276962161064148, 0.029996106401085854, 0.8864293694496155, 0.7581576108932495, -1.2732369899749756, 0.06535965204238892, -0.6626449227333069, -0.7874958515167236, 1.6876546144485474, 2.0542163848876953, -0.08717931807041168, -0.16191835701465607, -0.8096488118171692, -1.212296724319458, 0.820110559463501, -0.06342993676662445, 0.07917609810829163, 0.6528677344322205, -0.6775119304656982, 1.1919033527374268, 0.7691280245780945, 0.9619768857955933, 0.0957048237323761, 0.327237993478775, 0.35091060400009155, -0.257730096578598, -1.181425929069519, -0.38971978425979614, -1.0995701551437378, -2.5487871170043945, 0.4475303292274475, -0.23915979266166687, -1.4218798875808716, 0.05670744180679321, -1.0099010467529297, 0.80142742395401, -0.5658720135688782, -1.0845597982406616, -1.437961220741272, 0.3108100891113281, -0.15929722785949707, 0.8294210433959961, -1.680251121520996, -0.09261633455753326, 1.220028281211853, 0.9365774393081665, -0.5858548283576965, 0.9492747187614441, 0.24576161801815033, 0.9761046171188354, 0.9298037886619568, -0.42887601256370544, 0.5564741492271423, 0.13795210421085358, -1.3063212633132935, 0.44447222352027893, 1.181161642074585, 0.14531481266021729, 1.4711346626281738, -0.4075116515159607, 0.027664175257086754, 0.48563137650489807, -0.4997028112411499, -0.5647140145301819, -0.5793112516403198, 0.6522670984268188, 0.03862829506397247, -0.974368691444397, -0.029676152393221855, 0.005024932324886322, -0.24229131639003754, 0.24430657923221588, -1.50303316116333, -0.23889374732971191, -0.26647526025772095, -0.5462745428085327, -1.3157817125320435, -0.07109200209379196, 1.3664356470108032, -0.7866610884666443, -0.284498006105423, 0.47637662291526794, 0.35955941677093506, 0.5059739351272583, 0.5949181914329529, -0.7411344647407532, -0.32370132207870483, -0.28818270564079285, -0.3601745665073395, 0.3532983064651489, 1.2962172031402588, -0.07694503664970398, -0.9811698198318481, 0.6438583135604858, -0.33256980776786804, 0.111838698387146, 1.9364973306655884, 0.04133286327123642, -0.7110582590103149, 0.3333105742931366, -0.6763235926628113, 1.8157856464385986, 1.7389800548553467, 1.357411503791809, -0.07847856730222702, -0.9676243662834167, 0.6485779881477356, -0.29228830337524414, -0.3353549838066101, 0.9575177431106567, 0.42743411660194397, -0.14888785779476166, -1.4284557104110718, 0.6447216272354126, 1.3289299011230469, -0.9391836524009705, -0.7828424572944641, -0.00037312228232622147, -0.8911482691764832, 1.13558828830719, 0.6563720703125, 0.2817419469356537, 0.2091916799545288, 1.5449811220169067, 0.7024574279785156, -0.3999243378639221, 0.5483049154281616, 0.4943075180053711, -0.20909357070922852, -2.175396680831909, -1.0631446838378906, 0.29450345039367676, -0.2848517596721649, -1.620662808418274, 1.381401777267456, -1.1872137784957886, -0.9591692686080933, 0.529401957988739, 0.06613623350858688, 1.4209071397781372, 0.32151123881340027, 1.6804335117340088, 2.0733590126037598, 0.885556697845459, 0.3259809911251068, 1.3135974407196045, -0.1816461980342865, -0.443921834230423, 1.744359016418457, -0.508685290813446, 0.5063111186027527, 0.9567070007324219, -0.3803657293319702, -1.1772717237472534, -0.7953160405158997, -1.2747269868850708, -0.7260932326316833, 1.1556661128997803, 0.09148009121417999, -1.0818299055099487, 0.2794181704521179, 1.5700477361679077, 0.08349895477294922, -0.25395306944847107, 0.648362934589386, 0.4582797884941101, -0.7881302833557129, -0.15593531727790833, -0.9202213287353516, 0.4889136850833893, -0.15460611879825592, -0.3571537435054779, 0.2811533212661743, 0.47976672649383545, 1.2319655418395996, 0.010547857731580734, 0.05636310577392578, 1.2695930004119873, -1.425520896911621, 1.4762353897094727, -0.6239778399467468, 0.3504679799079895, -2.4884259700775146, 1.4353094100952148, -0.896573007106781, 1.900381326675415, -2.5989949703216553, 0.5029720067977905, -0.5818294882774353, -0.4953988790512085, 0.33777913451194763, -0.33543339371681213, 0.1551579087972641, -0.11106284707784653, -1.0048046112060547, -0.14164400100708008, -0.7436183094978333, 0.5906752943992615, 1.238158106803894, 1.3785477876663208, -1.0929250717163086, -0.2540164887905121, -1.748142957687378, -0.2526571750640869, -0.6361633539199829, 0.2532498836517334, -2.0082554817199707, -0.17885905504226685, -1.9555628299713135, -2.4361166954040527, -1.3354995250701904, -0.9017261862754822, 1.0629534721374512, 0.19458596408367157, -0.9158230423927307, 1.0751643180847168, -0.4085629880428314, -1.8130512237548828, 1.127989649772644, -2.1597073078155518 ]
https://github.com/huggingface/datasets/issues/4238
Dataset caching policy
SOLVED! The problem was the with the file itself, using caching parameter helped indeed. Thanks for helping!
## Describe the bug I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error ``` [/usr/local/lib/python3.7/dist-packages/datasets/features/features.py](https://localhost:8080/#) in str2int(self, values) 852 if value not in self._str2int: 853 value = str(value).strip() --> 854 output.append(self._str2int[str(value)]) 855 else: 856 # No names provided, try to integerize KeyError: '\\N' ``` The file now is cleanup up, but I still get the error. This happens even if I inspect the local cached contents, and cleanup the files locally: ```python from datasets import load_dataset_builder dataset_builder = load_dataset_builder("loretoparisi/tatoeba-sentences") print(dataset_builder.cache_dir) print(dataset_builder.info.features) print(dataset_builder.info.splits) ``` ``` Using custom data configuration loretoparisi--tatoeba-sentences-e59b8ad92f1bb8dd /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-e59b8ad92f1bb8dd/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519 None None ``` and removing files located at `/root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-*`. Is there any remote file caching policy in place? If so, is it possibile to programmatically disable it? Currently it seems that the file `test.csv` on the repo [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences/blob/main/test.csv) is cached remotely. In fact I download locally the file from raw link, the file is up-to-date; but If I use it within `datasets` as shown above, it gives to me always the first revision of the file, not the last. Thank you. ## Steps to reproduce the bug ```python from datasets import load_dataset,Features,Value,ClassLabel class_names = ["cmn","deu","rus","fra","eng","jpn","spa","ita","kor","vie","nld","epo","por","tur","heb","hun","ell","ind","ara","arz","fin","bul","yue","swe","ukr","bel","que","ces","swh","nno","wuu","nob","zsm","est","kat","pol","lat","urd","sqi","isl","fry","afr","ron","fao","san","bre","tat","yid","uig","uzb","srp","qya","dan","pes","slk","eus","cycl","acm","tgl","lvs","kaz","hye","hin","lit","ben","cat","bos","hrv","tha","orv","cha","mon","lzh","scn","gle","mkd","slv","frm","glg","vol","ain","jbo","tok","ina","nds","mal","tlh","roh","ltz","oss","ido","gla","mlt","sco","ast","jav","oci","ile","ota","xal","tel","sjn","nov","khm","tpi","ang","aze","tgk","tuk","chv","hsb","dsb","bod","sme","cym","mri","ksh","kmr","ewe","kab","ber","tpw","udm","lld","pms","lad","grn","mlg","xho","pnb","grc","hat","lao","npi","cor","nah","avk","mar","guj","pan","kir","myv","prg","sux","crs","ckt","bak","zlm","hil","cbk","chr","nav","lkt","enm","arq","lin","abk","pcd","rom","gsw","tam","zul","awa","wln","amh","bar","hbo","mhr","bho","mrj","ckb","osx","pfl","mgm","sna","mah","hau","kan","nog","sin","glv","dng","kal","liv","vro","apc","jdt","fur","che","haw","yor","crh","pdc","ppl","kin","shs","mnw","tet","sah","kum","ngt","nya","pus","hif","mya","moh","wol","tir","ton","lzz","oar","lug","brx","non","mww","hak","nlv","ngu","bua","aym","vec","ibo","tkl","bam","kha","ceb","lou","fuc","smo","gag","lfn","arg","umb","tyv","kjh","oji","cyo","urh","kzj","pam","srd","lmo","swg","mdf","gil","snd","tso","sot","zza","tsn","pau","som","egl","ady","asm","ori","dtp","cho","max","kam","niu","sag","ilo","kaa","fuv","nch","hoc","iba","gbm","sun","war","mvv","pap","ary","kxi","csb","pag","cos","rif","kek","krc","aii","ban","ssw","tvl","mfe","tah","bvy","bcl","hnj","nau","nst","afb","quc","min","tmw","mad","bjn","mai","cjy","got","hsn","gan","tzl","dws","ldn","afh","sgs","krl","vep","rue","tly","mic","ext","izh","sma","jam","cmo","mwl","kpv","koi","bis","ike","run","evn","ryu","mnc","aoz","otk","kas","aln","akl","yua","shy","fkv","gos","fij","thv","zgh","gcf","cay","xmf","tig","div","lij","rap","hrx","cpi","tts","gaa","tmr","iii","ltg","bzt","syc","emx","gom","chg","osp","stq","frr","fro","nys","toi","new","phn","jpa","rel","drt","chn","pli","laa","bal","hdn","hax","mik","ajp","xqa","pal","crk","mni","lut","ayl","ood","sdh","ofs","nus","kiu","diq","qxq","alt","bfz","klj","mus","srn","guc","lim","zea","shi","mnr","bom","sat","szl"] features = Features({ 'label': ClassLabel(names=class_names), 'text': Value('string')}) num_labels = features['label'].num_classes data_files = { "train": "train.csv", "test": "test.csv" } sentences = load_dataset( "loretoparisi/tatoeba-sentences", data_files=data_files, delimiter='\t', column_names=['label', 'text'], ) # You can make this part faster with num_proc=<some int> sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) sentences = sentences.shuffle() ``` ## Expected results Properly tokenize dataset file `test.csv` without issues. ## Actual results Specify the actual results or traceback. ``` Downloading data files: 100% 2/2 [00:16<00:00, 7.34s/it] Downloading data: 100% 391M/391M [00:12<00:00, 36.6MB/s] Downloading data: 100% 92.4M/92.4M [00:02<00:00, 40.0MB/s] Extracting data files: 100% 2/2 [00:00<00:00, 47.66it/s] Dataset csv downloaded and prepared to /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-efeff8965c730a2c/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519. Subsequent calls will reuse this data. 100% 2/2 [00:00<00:00, 25.94it/s] 11% 942339/8256449 [01:55<13:11, 9245.85ex/s] --------------------------------------------------------------------------- KeyError Traceback (most recent call last) [<ipython-input-3-6a9867fad8d6>](https://localhost:8080/#) in <module>() 12 ) 13 # You can make this part faster with num_proc=<some int> ---> 14 sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) 15 sentences = sentences.shuffle() 10 frames [/usr/local/lib/python3.7/dist-packages/datasets/features/features.py](https://localhost:8080/#) in str2int(self, values) 852 if value not in self._str2int: 853 value = str(value).strip() --> 854 output.append(self._str2int[str(value)]) 855 else: 856 # No names provided, try to integerize KeyError: '\\N' ``` ## Environment info ``` - `datasets` version: 2.1.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 - Pandas version: 1.3.5 - ``` ``` - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: <fill in> - Using distributed or parallel set-up in script?: <fill in> - ```
783
17
Dataset caching policy ## Describe the bug I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error ``` [/usr/local/lib/python3.7/dist-packages/datasets/features/features.py](https://localhost:8080/#) in str2int(self, values) 852 if value not in self._str2int: 853 value = str(value).strip() --> 854 output.append(self._str2int[str(value)]) 855 else: 856 # No names provided, try to integerize KeyError: '\\N' ``` The file now is cleanup up, but I still get the error. This happens even if I inspect the local cached contents, and cleanup the files locally: ```python from datasets import load_dataset_builder dataset_builder = load_dataset_builder("loretoparisi/tatoeba-sentences") print(dataset_builder.cache_dir) print(dataset_builder.info.features) print(dataset_builder.info.splits) ``` ``` Using custom data configuration loretoparisi--tatoeba-sentences-e59b8ad92f1bb8dd /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-e59b8ad92f1bb8dd/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519 None None ``` and removing files located at `/root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-*`. Is there any remote file caching policy in place? If so, is it possibile to programmatically disable it? Currently it seems that the file `test.csv` on the repo [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences/blob/main/test.csv) is cached remotely. In fact I download locally the file from raw link, the file is up-to-date; but If I use it within `datasets` as shown above, it gives to me always the first revision of the file, not the last. Thank you. ## Steps to reproduce the bug ```python from datasets import load_dataset,Features,Value,ClassLabel class_names = ["cmn","deu","rus","fra","eng","jpn","spa","ita","kor","vie","nld","epo","por","tur","heb","hun","ell","ind","ara","arz","fin","bul","yue","swe","ukr","bel","que","ces","swh","nno","wuu","nob","zsm","est","kat","pol","lat","urd","sqi","isl","fry","afr","ron","fao","san","bre","tat","yid","uig","uzb","srp","qya","dan","pes","slk","eus","cycl","acm","tgl","lvs","kaz","hye","hin","lit","ben","cat","bos","hrv","tha","orv","cha","mon","lzh","scn","gle","mkd","slv","frm","glg","vol","ain","jbo","tok","ina","nds","mal","tlh","roh","ltz","oss","ido","gla","mlt","sco","ast","jav","oci","ile","ota","xal","tel","sjn","nov","khm","tpi","ang","aze","tgk","tuk","chv","hsb","dsb","bod","sme","cym","mri","ksh","kmr","ewe","kab","ber","tpw","udm","lld","pms","lad","grn","mlg","xho","pnb","grc","hat","lao","npi","cor","nah","avk","mar","guj","pan","kir","myv","prg","sux","crs","ckt","bak","zlm","hil","cbk","chr","nav","lkt","enm","arq","lin","abk","pcd","rom","gsw","tam","zul","awa","wln","amh","bar","hbo","mhr","bho","mrj","ckb","osx","pfl","mgm","sna","mah","hau","kan","nog","sin","glv","dng","kal","liv","vro","apc","jdt","fur","che","haw","yor","crh","pdc","ppl","kin","shs","mnw","tet","sah","kum","ngt","nya","pus","hif","mya","moh","wol","tir","ton","lzz","oar","lug","brx","non","mww","hak","nlv","ngu","bua","aym","vec","ibo","tkl","bam","kha","ceb","lou","fuc","smo","gag","lfn","arg","umb","tyv","kjh","oji","cyo","urh","kzj","pam","srd","lmo","swg","mdf","gil","snd","tso","sot","zza","tsn","pau","som","egl","ady","asm","ori","dtp","cho","max","kam","niu","sag","ilo","kaa","fuv","nch","hoc","iba","gbm","sun","war","mvv","pap","ary","kxi","csb","pag","cos","rif","kek","krc","aii","ban","ssw","tvl","mfe","tah","bvy","bcl","hnj","nau","nst","afb","quc","min","tmw","mad","bjn","mai","cjy","got","hsn","gan","tzl","dws","ldn","afh","sgs","krl","vep","rue","tly","mic","ext","izh","sma","jam","cmo","mwl","kpv","koi","bis","ike","run","evn","ryu","mnc","aoz","otk","kas","aln","akl","yua","shy","fkv","gos","fij","thv","zgh","gcf","cay","xmf","tig","div","lij","rap","hrx","cpi","tts","gaa","tmr","iii","ltg","bzt","syc","emx","gom","chg","osp","stq","frr","fro","nys","toi","new","phn","jpa","rel","drt","chn","pli","laa","bal","hdn","hax","mik","ajp","xqa","pal","crk","mni","lut","ayl","ood","sdh","ofs","nus","kiu","diq","qxq","alt","bfz","klj","mus","srn","guc","lim","zea","shi","mnr","bom","sat","szl"] features = Features({ 'label': ClassLabel(names=class_names), 'text': Value('string')}) num_labels = features['label'].num_classes data_files = { "train": "train.csv", "test": "test.csv" } sentences = load_dataset( "loretoparisi/tatoeba-sentences", data_files=data_files, delimiter='\t', column_names=['label', 'text'], ) # You can make this part faster with num_proc=<some int> sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) sentences = sentences.shuffle() ``` ## Expected results Properly tokenize dataset file `test.csv` without issues. ## Actual results Specify the actual results or traceback. ``` Downloading data files: 100% 2/2 [00:16<00:00, 7.34s/it] Downloading data: 100% 391M/391M [00:12<00:00, 36.6MB/s] Downloading data: 100% 92.4M/92.4M [00:02<00:00, 40.0MB/s] Extracting data files: 100% 2/2 [00:00<00:00, 47.66it/s] Dataset csv downloaded and prepared to /root/.cache/huggingface/datasets/csv/loretoparisi--tatoeba-sentences-efeff8965c730a2c/0.0.0/433e0ccc46f9880962cc2b12065189766fbb2bee57a221866138fb9203c83519. Subsequent calls will reuse this data. 100% 2/2 [00:00<00:00, 25.94it/s] 11% 942339/8256449 [01:55<13:11, 9245.85ex/s] --------------------------------------------------------------------------- KeyError Traceback (most recent call last) [<ipython-input-3-6a9867fad8d6>](https://localhost:8080/#) in <module>() 12 ) 13 # You can make this part faster with num_proc=<some int> ---> 14 sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) 15 sentences = sentences.shuffle() 10 frames [/usr/local/lib/python3.7/dist-packages/datasets/features/features.py](https://localhost:8080/#) in str2int(self, values) 852 if value not in self._str2int: 853 value = str(value).strip() --> 854 output.append(self._str2int[str(value)]) 855 else: 856 # No names provided, try to integerize KeyError: '\\N' ``` ## Environment info ``` - `datasets` version: 2.1.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - PyArrow version: 6.0.1 - Pandas version: 1.3.5 - ``` ``` - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using GPU in script?: <fill in> - Using distributed or parallel set-up in script?: <fill in> - ``` SOLVED! The problem was the with the file itself, using caching parameter helped indeed. Thanks for helping!
[ -1.184346318244934, -0.8846843242645264, -0.778140664100647, 1.4549767971038818, -0.08425062894821167, -1.2840534448623657, 0.09011413902044296, -0.9552542567253113, 1.6598578691482544, -0.7701401114463806, 0.3181559145450592, -1.6752535104751587, 0.020424887537956238, -0.5375863909721375, -0.7423824667930603, -0.7933813333511353, -0.3734804093837738, -0.8531193733215332, 1.0393558740615845, 2.4701120853424072, 1.2401710748672485, -1.363675594329834, 2.7785043716430664, 0.6777925491333008, -0.25129231810569763, -1.0293110609054565, 0.5641726851463318, -0.03513217717409134, -1.2870296239852905, -0.47761106491088867, -0.9729710817337036, 0.04961024969816208, -0.5021036267280579, -0.5127713084220886, 0.06715948134660721, 0.39931702613830566, -0.2514674663543701, -0.3799000680446625, -0.5447743535041809, -0.7262154817581177, 0.4595191180706024, -0.2965856194496155, 0.8860039114952087, -0.21879005432128906, 1.8810515403747559, -0.5482281446456909, 0.3652111291885376, 0.6597769856452942, 1.2919851541519165, 0.1610131412744522, -0.02889914996922016, 0.40546417236328125, 0.28539931774139404, -0.02893850952386856, 0.5471685528755188, 1.3200137615203857, 0.5633050799369812, 0.4522116184234619, 0.7457965016365051, -2.2541465759277344, 1.3282361030578613, -0.9493855834007263, 0.33836036920547485, 1.2713762521743774, -0.9570218920707703, 0.320554256439209, -1.8313816785812378, -0.09079010039567947, 0.5296634435653687, -2.2567899227142334, 0.21608790755271912, -1.3382344245910645, -0.5183040499687195, 0.9973549246788025, 0.30320921540260315, -1.268747091293335, 0.18985110521316528, -0.44803881645202637, 1.106708288192749, 0.39042848348617554, 1.2006983757019043, -1.6561522483825684, -0.03431914001703262, -0.29130637645721436, 0.14030411839485168, -1.2918716669082642, -1.6923401355743408, 0.6134223341941833, 0.6294181942939758, 0.6759037375450134, -0.1637422889471054, 1.0400930643081665, -1.012331485748291, 0.8129614591598511, -0.9767273664474487, -1.6963664293289185, -1.3990981578826904, -2.234445095062256, -2.2618520259857178, 0.821329653263092, -0.48654019832611084, -0.5098051428794861, 2.06648588180542, -1.1180380582809448, -1.8420898914337158, 1.1302670240402222, 0.33785006403923035, 0.015330415219068527, 2.3212978839874268, 0.3006012737751007, -0.722636878490448, 0.44547539949417114, -0.7019999027252197, 0.8318225741386414, -0.23974482715129852, 1.3330409526824951, 0.4968165159225464, -1.0738321542739868, 1.6286059617996216, -0.3639591634273529, 0.5396745204925537, -0.6848441958427429, -0.4838365614414215, -0.7403388619422913, 0.2934403419494629, 1.9469071626663208, -0.35453957319259644, 1.5793509483337402, -0.3451177477836609, -1.5941039323806763, -1.5144506692886353, 0.7503666281700134, 0.5931270718574524, -0.8082752227783203, 0.08200778067111969, -0.4252634644508362, 0.1196863129734993, 0.020707203075289726, 1.1147209405899048, 1.219312310218811, 0.7038719654083252, -0.26481491327285767, -0.8886616230010986, 0.23318709433078766, 0.02493336983025074, -0.6297130584716797, -1.8299795389175415, -0.2784639894962311, 0.18537011742591858, 0.6846004724502563, -1.2221136093139648, 1.7315901517868042, 0.8923154473304749, 2.02626895904541, 1.0631940364837646, -0.2903980016708374, 1.5534228086471558, 0.03944510966539383, 1.8289355039596558, -0.44210439920425415, 0.6086467504501343, -0.36158788204193115, -1.1139847040176392, 0.8129611015319824, -0.30153053998947144, -2.073744773864746, -0.7388837933540344, -0.7850790619850159, -0.15115444362163544, -0.7855518460273743, 0.9337257742881775, -0.30874818563461304, -1.5029481649398804, 0.1601599156856537, -0.7255977392196655, 0.11037757247686386, -1.2945120334625244, 0.19761539995670319, 0.713707447052002, -0.6990088820457458, 0.04918719828128815, -0.29579100012779236, -1.3056347370147705, -0.42277419567108154, 0.32772815227508545, 1.8580697774887085, -0.7314799427986145, 1.0033771991729736, 1.0641608238220215, -0.6704479455947876, 0.031935930252075195, 0.3419620990753174, -0.26192140579223633, 0.8938637375831604, -1.112060785293579, -0.40171265602111816, 1.1392394304275513, -0.09626556187868118, -0.5961139798164368, 1.3699538707733154, 0.7582244277000427, -1.0703647136688232, -0.23430274426937103, -0.20626819133758545, -0.8682754039764404, -0.04880455881357193, -1.5838254690170288, -0.18606139719486237, 0.32069966197013855, -1.4686415195465088, -0.42095422744750977, -0.18042553961277008, 1.3136650323867798, -0.17090409994125366, 1.4334594011306763, -0.3067145347595215, -0.1666802316904068, -0.28766703605651855, -0.4871847927570343, 0.16921919584274292, -0.1488252580165863, -0.6251168251037598, 0.28717949986457825, -0.790259063243866, 0.31658998131752014, 1.492648959159851, 0.379096120595932, 0.0008390713483095169, 0.5335695743560791, 1.157985806465149, 0.33410465717315674, -0.00022146198898553848, -0.8963144421577454, -1.626023530960083, 2.0274598598480225, -1.5151687860488892, 1.9556764364242554, 0.8107432723045349, -0.018700741231441498, -1.7695927619934082, -1.896591067314148, 1.4019545316696167, 1.1486228704452515, 2.399385452270508, 0.5449938774108887, 0.421744167804718, -0.7268015146255493, -0.7227703332901001, 0.3861343562602997, -1.0106712579727173, -0.7339181303977966, 0.062330275774002075, 2.3901734352111816, 1.8031249046325684, -0.45990338921546936, -0.24893982708454132, -0.9119160175323486, 1.2585480213165283, -0.1805448979139328, 0.19946260750293732, 1.9768425226211548, -0.2580139636993408, -1.0613141059875488, 1.3044625520706177, -2.27590012550354, 0.21145792305469513, 2.0090880393981934, 0.20651601254940033, 0.08274488151073456, -1.438651204109192, -0.6354751586914062, -0.1537698656320572, -0.498293936252594, -1.2558484077453613, 0.5729346871376038, -0.3347642719745636, -0.8504194021224976, -1.4164161682128906, 0.047106578946113586, -1.1769667863845825, -1.728482961654663, 0.3625854253768921, 1.9392187595367432, 2.0465080738067627, -0.7728780508041382, 1.4162482023239136, -0.26857972145080566, 0.21161137521266937, 1.2395577430725098, 1.2718989849090576, 3.1346242427825928, 1.8509889841079712, -1.3667964935302734, 0.7106136679649353, -0.163779154419899, -0.5007964372634888, 1.231845736503601, -1.0939372777938843, 1.1372888088226318, -0.17810019850730896, -1.2854851484298706, -1.2262736558914185, 0.9700950980186462, 0.49236220121383667, 0.018482249230146408, -0.4613334834575653, 1.225264549255371, 0.10876469314098358, 1.2523833513259888, 0.5889865756034851, -0.44118496775627136, 0.6155479550361633, -0.32723960280418396, -0.57750004529953, 1.57326340675354, 0.10775917768478394, -1.4252139329910278, -2.272385597229004, -0.1525031179189682, -0.8879189491271973, 0.037156976759433746, -0.6764201521873474, -0.9831531643867493, 1.6161092519760132, 0.41173654794692993, -1.2481635808944702, -0.2287144660949707, -0.3968663215637207, -0.596693217754364, 2.5921220779418945, -1.3422454595565796, -0.18058516085147858, -0.9916328191757202, -0.5254178643226624, 1.5610003471374512, -1.1856375932693481, -0.22068460285663605, -1.0276124477386475, -0.5918744802474976, -1.28466796875, -0.5885038375854492, 0.02785622887313366, -0.843910813331604, 0.769202470779419, 0.09204096347093582, -1.1295065879821777, -0.2537928521633148, -0.9221445322036743, 0.9648131132125854, -0.16524866223335266, 0.18305175006389618, 1.8174458742141724, 0.4294019639492035, -0.4434276819229126, 0.7242529392242432, 1.1484262943267822, 0.6320908665657043, -0.5398983955383301, 0.18757937848567963, -0.7042597532272339, 0.30794578790664673, -1.3801950216293335, 0.3074795603752136, -2.9257712364196777, 0.7064204812049866, -0.0882757306098938, -0.03143998235464096, -0.06781463325023651, -1.3361159563064575, 1.0287740230560303, 2.6056058406829834, -1.1099607944488525, 0.4654904007911682, 0.40818652510643005, 1.1659406423568726, -1.6261341571807861, 0.20472902059555054, -0.5465234518051147, 2.1155965328216553, 0.13828958570957184, 1.2248708009719849, -0.523578405380249, -2.2060186862945557, 0.6347461342811584, -1.2676873207092285, -1.0355440378189087, 0.8814719915390015, -0.8931629061698914, 0.17459183931350708, -1.363916039466858, -0.2118716686964035, -0.9117501378059387, -1.112433910369873, 0.7185235619544983, 0.1840725541114807, 0.4523816406726837, -0.6117989420890808, 0.3456275463104248, -2.0916454792022705, -1.3635188341140747, -0.14779748022556305, -1.006428837776184, 0.4858221709728241, -0.3108808100223541, 0.5814599990844727, -0.113233283162117, -0.004601155873388052, 0.31250283122062683, 1.3688303232192993, 3.37873911857605, 0.20753566920757294, 0.28838804364204407, -0.1459638625383377, -0.963683009147644, 1.447355031967163, 0.9242479205131531, -0.20883581042289734, -0.6150931715965271, -1.0669595003128052, 1.2887943983078003, 1.9794971942901611, 1.0968892574310303, 0.058309346437454224, -0.8362815976142883, -0.8292443156242371, 0.10498619824647903, 0.14141446352005005, 0.5521320104598999, 0.8778561949729919, 0.03993171453475952, 0.12464598566293716, 1.3550324440002441, 1.1755191087722778, -0.45771127939224243, 0.503707766532898, -0.9135527014732361, -0.45319777727127075, 0.38307616114616394, 0.2312384396791458, 0.10705411434173584, 0.38373273611068726, -1.0484687089920044, -0.30294451117515564, -0.32172268629074097, -0.9226619601249695, -0.7296006083488464, -0.34089937806129456, -0.4103909134864807, 1.6196717023849487, 0.04822681099176407, -0.4825626015663147, -0.00974275916814804, -0.7451594471931458, -0.15819092094898224, -1.0317693948745728, 0.23405860364437103, -0.15804150700569153, -0.07042873650789261, -0.08256959915161133, 1.6565337181091309, -0.9713889360427856, -2.10214900970459, 0.23045659065246582, 0.262439489364624, -0.4218578040599823, 0.20431052148342133, 1.736812710762024, 0.5313073992729187, 1.3955904245376587, 1.4015345573425293, 0.9832704067230225, -0.6669588685035706, -1.1995642185211182, 0.6683748960494995, 0.9309666752815247, -1.4206924438476562, 0.8130398988723755, -0.10710844397544861, -0.5110914707183838, 0.7121005654335022, 1.4106740951538086, 0.4990854263305664, -2.058788537979126, 0.8585930466651917, -0.8906136155128479, 0.6973910331726074, 0.6658516526222229, 0.77781742811203, 0.23096197843551636, 0.8536570072174072, -1.2453175783157349, -1.159754753112793, -0.7222474217414856, -0.6172083616256714, 1.856868863105774, -0.17502623796463013, 0.4267427325248718, -0.13630974292755127, -1.2561120986938477, -0.1196519285440445, 0.7468483448028564, 0.2940243184566498, -0.46395769715309143, 0.7737299799919128, -0.6569783091545105, -0.9813060760498047, -1.3348232507705688, -0.4568491578102112, -0.9722697734832764, -0.8747366666793823, 0.9579071402549744, 0.8474251627922058, 0.3643224239349365, 1.9148786067962646, 0.612372875213623, 0.2364368587732315, -2.6176209449768066, 0.8721314668655396, 0.33464357256889343, -0.05581039935350418, 0.8457011580467224, 0.25985559821128845, 1.1217128038406372, 0.025811145082116127, 0.616436243057251, -2.3049027919769287, 2.180769681930542, -0.25349804759025574, 0.6635909676551819, 0.007613582536578178, -0.2817576229572296, 1.1253435611724854, 0.5013647675514221, 0.6266083121299744, -1.098813533782959, 0.7243102192878723, -0.6388983726501465, 1.0941879749298096, 0.9267849326133728, -0.922454297542572, 0.0562911331653595, 1.355606198310852, 0.3789946734905243, -0.5075637698173523, -0.8791048526763916, -0.9341084361076355, 0.9824168682098389, 1.7285789251327515, -0.06276962161064148, 0.029996106401085854, 0.8864293694496155, 0.7581576108932495, -1.2732369899749756, 0.06535965204238892, -0.6626449227333069, -0.7874958515167236, 1.6876546144485474, 2.0542163848876953, -0.08717931807041168, -0.16191835701465607, -0.8096488118171692, -1.212296724319458, 0.820110559463501, -0.06342993676662445, 0.07917609810829163, 0.6528677344322205, -0.6775119304656982, 1.1919033527374268, 0.7691280245780945, 0.9619768857955933, 0.0957048237323761, 0.327237993478775, 0.35091060400009155, -0.257730096578598, -1.181425929069519, -0.38971978425979614, -1.0995701551437378, -2.5487871170043945, 0.4475303292274475, -0.23915979266166687, -1.4218798875808716, 0.05670744180679321, -1.0099010467529297, 0.80142742395401, -0.5658720135688782, -1.0845597982406616, -1.437961220741272, 0.3108100891113281, -0.15929722785949707, 0.8294210433959961, -1.680251121520996, -0.09261633455753326, 1.220028281211853, 0.9365774393081665, -0.5858548283576965, 0.9492747187614441, 0.24576161801815033, 0.9761046171188354, 0.9298037886619568, -0.42887601256370544, 0.5564741492271423, 0.13795210421085358, -1.3063212633132935, 0.44447222352027893, 1.181161642074585, 0.14531481266021729, 1.4711346626281738, -0.4075116515159607, 0.027664175257086754, 0.48563137650489807, -0.4997028112411499, -0.5647140145301819, -0.5793112516403198, 0.6522670984268188, 0.03862829506397247, -0.974368691444397, -0.029676152393221855, 0.005024932324886322, -0.24229131639003754, 0.24430657923221588, -1.50303316116333, -0.23889374732971191, -0.26647526025772095, -0.5462745428085327, -1.3157817125320435, -0.07109200209379196, 1.3664356470108032, -0.7866610884666443, -0.284498006105423, 0.47637662291526794, 0.35955941677093506, 0.5059739351272583, 0.5949181914329529, -0.7411344647407532, -0.32370132207870483, -0.28818270564079285, -0.3601745665073395, 0.3532983064651489, 1.2962172031402588, -0.07694503664970398, -0.9811698198318481, 0.6438583135604858, -0.33256980776786804, 0.111838698387146, 1.9364973306655884, 0.04133286327123642, -0.7110582590103149, 0.3333105742931366, -0.6763235926628113, 1.8157856464385986, 1.7389800548553467, 1.357411503791809, -0.07847856730222702, -0.9676243662834167, 0.6485779881477356, -0.29228830337524414, -0.3353549838066101, 0.9575177431106567, 0.42743411660194397, -0.14888785779476166, -1.4284557104110718, 0.6447216272354126, 1.3289299011230469, -0.9391836524009705, -0.7828424572944641, -0.00037312228232622147, -0.8911482691764832, 1.13558828830719, 0.6563720703125, 0.2817419469356537, 0.2091916799545288, 1.5449811220169067, 0.7024574279785156, -0.3999243378639221, 0.5483049154281616, 0.4943075180053711, -0.20909357070922852, -2.175396680831909, -1.0631446838378906, 0.29450345039367676, -0.2848517596721649, -1.620662808418274, 1.381401777267456, -1.1872137784957886, -0.9591692686080933, 0.529401957988739, 0.06613623350858688, 1.4209071397781372, 0.32151123881340027, 1.6804335117340088, 2.0733590126037598, 0.885556697845459, 0.3259809911251068, 1.3135974407196045, -0.1816461980342865, -0.443921834230423, 1.744359016418457, -0.508685290813446, 0.5063111186027527, 0.9567070007324219, -0.3803657293319702, -1.1772717237472534, -0.7953160405158997, -1.2747269868850708, -0.7260932326316833, 1.1556661128997803, 0.09148009121417999, -1.0818299055099487, 0.2794181704521179, 1.5700477361679077, 0.08349895477294922, -0.25395306944847107, 0.648362934589386, 0.4582797884941101, -0.7881302833557129, -0.15593531727790833, -0.9202213287353516, 0.4889136850833893, -0.15460611879825592, -0.3571537435054779, 0.2811533212661743, 0.47976672649383545, 1.2319655418395996, 0.010547857731580734, 0.05636310577392578, 1.2695930004119873, -1.425520896911621, 1.4762353897094727, -0.6239778399467468, 0.3504679799079895, -2.4884259700775146, 1.4353094100952148, -0.896573007106781, 1.900381326675415, -2.5989949703216553, 0.5029720067977905, -0.5818294882774353, -0.4953988790512085, 0.33777913451194763, -0.33543339371681213, 0.1551579087972641, -0.11106284707784653, -1.0048046112060547, -0.14164400100708008, -0.7436183094978333, 0.5906752943992615, 1.238158106803894, 1.3785477876663208, -1.0929250717163086, -0.2540164887905121, -1.748142957687378, -0.2526571750640869, -0.6361633539199829, 0.2532498836517334, -2.0082554817199707, -0.17885905504226685, -1.9555628299713135, -2.4361166954040527, -1.3354995250701904, -0.9017261862754822, 1.0629534721374512, 0.19458596408367157, -0.9158230423927307, 1.0751643180847168, -0.4085629880428314, -1.8130512237548828, 1.127989649772644, -2.1597073078155518 ]
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
Thanks for reporting. I understand it's an error in the dataset script. To reproduce: ```python >>> import datasets as ds >>> split_names = ds.get_dataset_split_names("mozilla-foundation/common_voice_8_0", use_auth_token="**********") Downloading builder script: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 10.9k/10.9k [00:00<00:00, 10.9MB/s] Downloading extra modules: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.98k/2.98k [00:00<00:00, 3.36MB/s] Downloading extra modules: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 53.1k/53.1k [00:00<00:00, 650kB/s] No config specified, defaulting to: common_voice/en Traceback (most recent call last): File "/home/slesage/hf/datasets-preview-backend/libs/libmodels/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 280, in get_dataset_config_info for split_generator in builder._split_generators( File "/home/slesage/.cache/huggingface/modules/datasets_modules/datasets/mozilla-foundation--common_voice_8_0/720589e6e5ad674019008b719053303a71716db1b27e63c9846df02fdf93f2f3/common_voice_8_0.py", line 153, in _split_generators self._log_download(self.config.name, bundle_version, hf_auth_token) File "/home/slesage/.cache/huggingface/modules/datasets_modules/datasets/mozilla-foundation--common_voice_8_0/720589e6e5ad674019008b719053303a71716db1b27e63c9846df02fdf93f2f3/common_voice_8_0.py", line 139, in _log_download email = HfApi().whoami(auth_token)["email"] KeyError: 'email' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/slesage/hf/datasets-preview-backend/libs/libmodels/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 323, in get_dataset_split_names info = get_dataset_config_info( File "/home/slesage/hf/datasets-preview-backend/libs/libmodels/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 285, in get_dataset_config_info raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config. ```
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
784
151
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 Thanks for reporting. I understand it's an error in the dataset script. To reproduce: ```python >>> import datasets as ds >>> split_names = ds.get_dataset_split_names("mozilla-foundation/common_voice_8_0", use_auth_token="**********") Downloading builder script: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 10.9k/10.9k [00:00<00:00, 10.9MB/s] Downloading extra modules: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.98k/2.98k [00:00<00:00, 3.36MB/s] Downloading extra modules: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 53.1k/53.1k [00:00<00:00, 650kB/s] No config specified, defaulting to: common_voice/en Traceback (most recent call last): File "/home/slesage/hf/datasets-preview-backend/libs/libmodels/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 280, in get_dataset_config_info for split_generator in builder._split_generators( File "/home/slesage/.cache/huggingface/modules/datasets_modules/datasets/mozilla-foundation--common_voice_8_0/720589e6e5ad674019008b719053303a71716db1b27e63c9846df02fdf93f2f3/common_voice_8_0.py", line 153, in _split_generators self._log_download(self.config.name, bundle_version, hf_auth_token) File "/home/slesage/.cache/huggingface/modules/datasets_modules/datasets/mozilla-foundation--common_voice_8_0/720589e6e5ad674019008b719053303a71716db1b27e63c9846df02fdf93f2f3/common_voice_8_0.py", line 139, in _log_download email = HfApi().whoami(auth_token)["email"] KeyError: 'email' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/slesage/hf/datasets-preview-backend/libs/libmodels/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 323, in get_dataset_split_names info = get_dataset_config_info( File "/home/slesage/hf/datasets-preview-backend/libs/libmodels/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 285, in get_dataset_config_info raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config. ```
[ -1.210037112236023, -0.8946057558059692, -0.6435888409614563, 1.329050898551941, -0.14699207246303558, -1.2846145629882812, 0.15607203543186188, -1.0925593376159668, 1.524633526802063, -0.6602165699005127, 0.23302631080150604, -1.6079670190811157, -0.07557850331068039, -0.5002406239509583, -0.7416560053825378, -0.8483732342720032, -0.39945635199546814, -0.8411332964897156, 0.9581155180931091, 2.5173914432525635, 1.3004271984100342, -1.3437061309814453, 2.7465877532958984, 0.591871976852417, -0.24823378026485443, -0.9729509949684143, 0.5740160942077637, 0.07212682068347931, -1.3080979585647583, -0.46231427788734436, -0.9193325042724609, 0.012056305073201656, -0.6061547994613647, -0.2849161624908447, 0.10715359449386597, 0.4227626621723175, -0.23283344507217407, -0.25416985154151917, -0.6018522381782532, -0.754562258720398, 0.5266373753547668, -0.32847359776496887, 0.9685482382774353, -0.34705641865730286, 1.7104222774505615, -0.6627542972564697, 0.4452264904975891, 0.695699155330658, 1.1838624477386475, 0.1333409696817398, 0.11309292167425156, 0.30994337797164917, 0.3513851761817932, -0.015080793760716915, 0.5339941382408142, 1.2308831214904785, 0.5981237888336182, 0.4591853618621826, 0.6292999386787415, -2.181971549987793, 1.2545266151428223, -0.8509663343429565, 0.22989687323570251, 1.419960379600525, -0.8124545216560364, 0.3410397171974182, -1.841719150543213, -0.11883781850337982, 0.6513477563858032, -2.304884433746338, 0.28512248396873474, -1.332236886024475, -0.5975333452224731, 0.9201838374137878, 0.3152121901512146, -1.1662063598632812, 0.19261367619037628, -0.574859619140625, 1.0500060319900513, 0.36066535115242004, 1.0984247922897339, -1.6401888132095337, -0.05920586735010147, -0.15871576964855194, 0.10650523751974106, -1.3049163818359375, -1.653896450996399, 0.5865724086761475, 0.5500853657722473, 0.6780661344528198, -0.09232700616121292, 1.0016415119171143, -1.085968255996704, 0.9036699533462524, -1.0343642234802246, -1.6675773859024048, -1.4151822328567505, -2.428668260574341, -2.259752035140991, 0.7902972102165222, -0.4179511070251465, -0.4655613303184509, 2.0182085037231445, -0.9579333066940308, -1.6732465028762817, 1.0192385911941528, 0.2925037443637848, 0.08159942179918289, 2.38081955909729, 0.19346396625041962, -0.760932445526123, 0.4485389292240143, -0.755730152130127, 0.8329145312309265, -0.18412446975708008, 1.3051379919052124, 0.484733521938324, -1.0018986463546753, 1.561923861503601, -0.4600578844547272, 0.546936571598053, -0.6016474366188049, -0.5760096311569214, -0.7727930545806885, 0.18685097992420197, 1.8934376239776611, -0.29751452803611755, 1.5575364828109741, -0.2753644585609436, -1.569655179977417, -1.4878787994384766, 0.827452540397644, 0.5523943901062012, -0.9566482305526733, -0.009429692290723324, -0.5329376459121704, 0.15115801990032196, -0.052962712943553925, 1.0936279296875, 1.2802237272262573, 0.7424177527427673, -0.33315369486808777, -0.8300812244415283, 0.14498363435268402, -0.16723376512527466, -0.73768550157547, -1.8497693538665771, -0.2499915063381195, 0.22254067659378052, 0.6945224404335022, -1.26437509059906, 1.801896095275879, 0.9031857848167419, 2.0208585262298584, 0.975383460521698, -0.409843772649765, 1.4640047550201416, 0.022158902138471603, 1.7537790536880493, -0.5691356062889099, 0.6257936358451843, -0.3248193860054016, -1.0538312196731567, 0.8848519325256348, -0.2917695939540863, -2.0438292026519775, -0.7852867245674133, -0.756218433380127, -0.2017788290977478, -0.7663028240203857, 0.8823404908180237, -0.3091947138309479, -1.4655426740646362, 0.1469147503376007, -0.6915706396102905, 0.1711299866437912, -1.2039052248001099, 0.21384911239147186, 0.7501980662345886, -0.6587488055229187, -0.040346454828977585, -0.20534749329090118, -1.3058803081512451, -0.4829102158546448, 0.4280398190021515, 1.9503058195114136, -0.5687891244888306, 0.9414978623390198, 1.01362144947052, -0.6594417095184326, 0.16177651286125183, 0.22118330001831055, -0.31375619769096375, 0.7886590361595154, -1.1820262670516968, -0.46208953857421875, 1.0758899450302124, -0.2550448775291443, -0.6553704738616943, 1.479024887084961, 0.7680333256721497, -1.1311702728271484, -0.29602453112602234, -0.18284223973751068, -0.8641355037689209, 0.04149460792541504, -1.5517700910568237, -0.2155544012784958, 0.38484987616539, -1.5416773557662964, -0.3738826513290405, -0.1274694949388504, 1.3968570232391357, -0.19369493424892426, 1.4333711862564087, -0.2757871150970459, -0.15815310180187225, -0.2925831079483032, -0.5200760364532471, 0.16988979279994965, -0.24176809191703796, -0.5478998422622681, 0.20131835341453552, -0.852194607257843, 0.2989961802959442, 1.5077143907546997, 0.2638188898563385, 0.009718491695821285, 0.4327508211135864, 1.0675870180130005, 0.3665187954902649, -0.05061336234211922, -0.8602445125579834, -1.6086543798446655, 2.017803430557251, -1.4725431203842163, 1.926361083984375, 0.7836821675300598, -0.0884675681591034, -1.78823721408844, -1.8311007022857666, 1.2361451387405396, 1.0909208059310913, 2.3873672485351562, 0.49482882022857666, 0.42756736278533936, -0.6855884194374084, -0.7855700850486755, 0.3528296649456024, -0.9388834238052368, -0.6827685832977295, 0.1884450614452362, 2.362658977508545, 1.8088574409484863, -0.5188747644424438, -0.21320652961730957, -0.8546136617660522, 1.298426866531372, -0.1690417230129242, 0.2149951010942459, 2.096280336380005, -0.259714275598526, -1.0313688516616821, 1.3789297342300415, -2.3518667221069336, 0.3449692726135254, 2.0935633182525635, 0.3347345292568207, 0.12987399101257324, -1.4319909811019897, -0.6086991429328918, -0.40257251262664795, -0.4810678958892822, -1.2775064706802368, 0.5552268624305725, -0.2685762643814087, -0.8782821893692017, -1.4181946516036987, 0.04469949007034302, -1.214537262916565, -1.7456433773040771, 0.43134161829948425, 1.9714349508285522, 2.1228716373443604, -0.7098738551139832, 1.3568025827407837, -0.3615109324455261, 0.001964380033314228, 1.2371381521224976, 1.3017780780792236, 3.086729049682617, 1.9159488677978516, -1.2843672037124634, 0.7313624620437622, -0.2600877583026886, -0.4566726088523865, 1.0823341608047485, -1.1280497312545776, 1.1279525756835938, -0.2039766162633896, -1.256920576095581, -1.1996808052062988, 1.1320546865463257, 0.4649319350719452, 0.016067881137132645, -0.5151593685150146, 1.2969837188720703, 0.11760872602462769, 1.362572431564331, 0.5509151220321655, -0.4236226975917816, 0.5153176784515381, -0.40398991107940674, -0.6132580041885376, 1.694728136062622, 0.16760236024856567, -1.5785926580429077, -2.430973529815674, -0.32099318504333496, -0.9133456349372864, 0.005424645729362965, -0.616121768951416, -1.13633394241333, 1.6643067598342896, 0.38692429661750793, -1.2720485925674438, -0.28897544741630554, -0.27672937512397766, -0.494066059589386, 2.6245830059051514, -1.2789918184280396, -0.03696537762880325, -0.9624515175819397, -0.5916368365287781, 1.6234513521194458, -1.225014090538025, -0.2800123393535614, -1.0757970809936523, -0.6657925844192505, -1.2354096174240112, -0.4328022003173828, 0.03848608210682869, -0.947605550289154, 0.7846114039421082, 0.13799762725830078, -1.092393398284912, -0.295254647731781, -0.9518011808395386, 1.076354742050171, -0.08493092656135559, 0.13185496628284454, 1.766198754310608, 0.24422380328178406, -0.41991010308265686, 0.7092993855476379, 1.2151403427124023, 0.6556775569915771, -0.7069060206413269, -0.09881550818681717, -0.6530184149742126, 0.3703412413597107, -1.3691987991333008, 0.21468228101730347, -2.9640800952911377, 0.7529998421669006, -0.17591476440429688, -0.051504675298929214, -0.06568697094917297, -1.3022843599319458, 1.1410915851593018, 2.5941097736358643, -1.1065306663513184, 0.556524395942688, 0.4369082748889923, 1.025278091430664, -1.5637520551681519, 0.31421974301338196, -0.5152201652526855, 2.065765857696533, 0.12436866760253906, 1.2398922443389893, -0.5502329468727112, -2.2257189750671387, 0.6923745274543762, -1.148552656173706, -1.0782910585403442, 0.8097571730613708, -0.9089879989624023, 0.3092786967754364, -1.4665838479995728, -0.2909996509552002, -1.0150846242904663, -1.2588746547698975, 0.6231836676597595, 0.13372713327407837, 0.44690874218940735, -0.5604656934738159, 0.3290613889694214, -2.3153176307678223, -1.4187618494033813, -0.17310233414173126, -1.0535106658935547, 0.5834589004516602, -0.41803473234176636, 0.5743584036827087, 0.0416804775595665, 0.14319580793380737, 0.30130645632743835, 1.4555436372756958, 3.3928396701812744, 0.09611788392066956, 0.2073775678873062, -0.1468464881181717, -1.0006600618362427, 1.414283275604248, 0.9453559517860413, 0.030180785804986954, -0.6170830130577087, -1.000623345375061, 1.2422986030578613, 2.0591208934783936, 1.0521066188812256, 0.018028467893600464, -0.8852006793022156, -0.7366098761558533, 0.05942701920866966, 0.22669020295143127, 0.5932978391647339, 0.9847140312194824, -0.08725512027740479, 0.0892714411020279, 1.386395812034607, 1.153946876525879, -0.27439677715301514, 0.36983153223991394, -0.9447888135910034, -0.3942771255970001, 0.3830474019050598, 0.20511138439178467, 0.030601054430007935, 0.5499076843261719, -1.0373629331588745, -0.21615096926689148, -0.2669694125652313, -0.8579549193382263, -0.7602368593215942, -0.4046744406223297, -0.4492596983909607, 1.6010925769805908, 0.11420302093029022, -0.4542240798473358, 0.08348414301872253, -0.7063174843788147, -0.14667463302612305, -1.1115195751190186, 0.20614220201969147, -0.09945166856050491, -0.04541477560997009, -0.20760956406593323, 1.6828685998916626, -0.8839762806892395, -2.075833797454834, 0.0916440561413765, 0.32860830426216125, -0.37571796774864197, 0.15809506177902222, 1.748428225517273, 0.5181315541267395, 1.360493779182434, 1.2581413984298706, 0.9506363868713379, -0.5125799179077148, -1.250829815864563, 0.6539415717124939, 0.9654702544212341, -1.2671339511871338, 0.9191641211509705, -0.26119542121887207, -0.4623853266239166, 0.7277993559837341, 1.393819808959961, 0.4390734136104584, -2.0138230323791504, 0.9731325507164001, -0.9534326195716858, 0.7960319519042969, 0.7406778931617737, 0.7707814574241638, 0.2572643458843231, 0.870036780834198, -1.2538076639175415, -1.0557421445846558, -0.7200369238853455, -0.624476432800293, 1.9169763326644897, -0.3269228935241699, 0.46480923891067505, -0.1576746255159378, -1.1549513339996338, -0.1110985055565834, 0.8459591865539551, 0.46849894523620605, -0.4005888104438782, 0.8251891136169434, -0.55670565366745, -0.9779302477836609, -1.1416407823562622, -0.42058074474334717, -0.9791778326034546, -0.8666244745254517, 0.9766978025436401, 0.7304487228393555, 0.5429885983467102, 2.0021798610687256, 0.6171106100082397, 0.3346727788448334, -2.662343740463257, 0.8664295077323914, 0.2819153666496277, -0.04824872687458992, 1.0239733457565308, 0.23540709912776947, 1.1864235401153564, 0.009062674827873707, 0.5390625, -2.340170383453369, 2.2378110885620117, -0.21783702075481415, 0.7232161164283752, 0.017137691378593445, -0.18625831604003906, 1.1643935441970825, 0.5861995220184326, 0.5292389988899231, -1.1155037879943848, 0.8033635020256042, -0.5883761644363403, 1.03582763671875, 0.9095438122749329, -0.8823468089103699, 0.04418708384037018, 1.3739984035491943, 0.4207949936389923, -0.47570663690567017, -0.9693049192428589, -0.8652462959289551, 0.9435700178146362, 1.713007926940918, -0.03693108260631561, 0.028683148324489594, 0.8438056707382202, 0.6288618445396423, -1.1998151540756226, 0.04965851455926895, -0.6860536336898804, -0.7388059496879578, 1.704781174659729, 2.040121078491211, -0.04473280534148216, -0.11805170774459839, -0.7150161266326904, -1.3468633890151978, 0.7336006164550781, -0.1096271350979805, 0.10977305471897125, 0.5898870825767517, -0.6474378108978271, 1.0925822257995605, 0.621291995048523, 1.0619564056396484, -0.046696003526449203, 0.3665387034416199, 0.42353555560112, -0.35087502002716064, -1.1875970363616943, -0.5088039636611938, -1.1228424310684204, -2.5363216400146484, 0.42812296748161316, -0.28980574011802673, -1.4989492893218994, 0.05795299634337425, -1.0674715042114258, 0.8836377859115601, -0.6110177636146545, -1.0674026012420654, -1.5270206928253174, 0.35597071051597595, -0.17893287539482117, 0.9597017168998718, -1.5979368686676025, -0.23482313752174377, 1.1983526945114136, 0.8351803421974182, -0.5822995901107788, 0.9581081867218018, 0.2675148546695709, 0.9525432586669922, 0.6959618926048279, -0.40744438767433167, 0.5760829448699951, 0.07093469798564911, -1.3221569061279297, 0.47012874484062195, 1.2498897314071655, 0.16279028356075287, 1.3784563541412354, -0.4486807584762573, 0.06885858625173569, 0.4391724765300751, -0.5910475850105286, -0.47641560435295105, -0.4037185311317444, 0.6847466826438904, 0.07620012760162354, -1.0545623302459717, -0.16872775554656982, -0.1818678379058838, -0.2889852523803711, 0.19166666269302368, -1.466424584388733, -0.2703794538974762, -0.4018678069114685, -0.4213394820690155, -1.3789184093475342, 0.030562765896320343, 1.3718191385269165, -0.7706812620162964, -0.29120934009552, 0.4329245090484619, 0.4450298547744751, 0.6035931706428528, 0.6555843353271484, -0.7513803839683533, -0.25547781586647034, -0.422179639339447, -0.25649645924568176, 0.24906682968139648, 1.2231584787368774, -0.06743528693914413, -1.02895987033844, 0.6427493095397949, -0.4269865155220032, 0.18400166928768158, 2.000131130218506, 0.02445622906088829, -0.6269683837890625, 0.40134912729263306, -0.7248017191886902, 1.7808146476745605, 1.67853844165802, 1.2596189975738525, -0.08513902127742767, -0.8598658442497253, 0.5781542062759399, -0.3051106631755829, -0.3190685510635376, 0.876181423664093, 0.4499792456626892, -0.23595444858074188, -1.4220973253250122, 0.6540758609771729, 1.2642228603363037, -0.9071466326713562, -0.7319340705871582, 0.18410228192806244, -0.9522167444229126, 1.2422291040420532, 0.5589331388473511, 0.4115649461746216, 0.32377350330352783, 1.510007381439209, 0.7137765884399414, -0.4777296483516693, 0.4987543225288391, 0.5343825817108154, -0.26775872707366943, -2.1110150814056396, -1.0489612817764282, 0.3388480246067047, -0.43896687030792236, -1.571285605430603, 1.4200913906097412, -1.0872044563293457, -1.0121341943740845, 0.48662152886390686, 0.10286708176136017, 1.2563257217407227, 0.38645726442337036, 1.7807903289794922, 2.0672993659973145, 0.9097731113433838, 0.4110083281993866, 1.2531993389129639, -0.10522102564573288, -0.44000738859176636, 1.887000560760498, -0.4406111538410187, 0.526750385761261, 1.0675017833709717, -0.3765435814857483, -1.0164151191711426, -0.8131888508796692, -1.1191051006317139, -0.6418164372444153, 1.1061317920684814, 0.10187557339668274, -1.1518075466156006, 0.19140857458114624, 1.5688115358352661, 0.19138693809509277, -0.15632376074790955, 0.6792623996734619, 0.34957578778266907, -0.7558273673057556, -0.16233927011489868, -0.9454985857009888, 0.5149645209312439, -0.21509554982185364, -0.31299805641174316, 0.15947818756103516, 0.5718897581100464, 1.291527509689331, -0.12771110236644745, 0.10472559928894043, 1.1735237836837769, -1.4242899417877197, 1.5167083740234375, -0.5746279954910278, 0.2881336212158203, -2.4177825450897217, 1.3389277458190918, -0.6685379147529602, 1.9158344268798828, -2.596440076828003, 0.41035085916519165, -0.571597695350647, -0.4679258465766907, 0.28219014406204224, -0.3180466294288635, 0.1682770997285843, -0.09905179589986801, -1.0493005514144897, 0.0007802993059158325, -0.7358970046043396, 0.5566280484199524, 1.131178855895996, 1.4694483280181885, -1.1154474020004272, -0.21706664562225342, -1.6878652572631836, -0.18981103599071503, -0.7441525459289551, 0.3072110712528229, -1.9551339149475098, -0.11940564960241318, -1.966235637664795, -2.370159387588501, -1.4110980033874512, -0.8223595023155212, 1.0408358573913574, 0.18267063796520233, -0.9827889204025269, 1.2110447883605957, -0.38314250111579895, -1.790604829788208, 1.1583985090255737, -2.19303297996521 ]
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
Thanks for reporting @patrickvonplaten and thanks for the investigation @severo. Unfortunately I'm not able to reproduce the error. I think the error has to do with authentication with `huggingface_hub`, because the exception is thrown from these code lines: https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0/blob/main/common_voice_8_0.py#L137-L139 ```python from huggingface_hub import HfApi, HfFolder if isinstance(auth_token, bool): email = HfApi().whoami(auth_token) email = HfApi().whoami(auth_token)["email"] ``` Could you please verify the previous code with the `auth_token` you pass to `load_dataset(..., use_auth_token=auth_token,...`?
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
784
70
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 Thanks for reporting @patrickvonplaten and thanks for the investigation @severo. Unfortunately I'm not able to reproduce the error. I think the error has to do with authentication with `huggingface_hub`, because the exception is thrown from these code lines: https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0/blob/main/common_voice_8_0.py#L137-L139 ```python from huggingface_hub import HfApi, HfFolder if isinstance(auth_token, bool): email = HfApi().whoami(auth_token) email = HfApi().whoami(auth_token)["email"] ``` Could you please verify the previous code with the `auth_token` you pass to `load_dataset(..., use_auth_token=auth_token,...`?
[ -1.1560957431793213, -0.8214601278305054, -0.6647424101829529, 1.6064451932907104, -0.16850776970386505, -1.2155156135559082, 0.25397729873657227, -1.0248994827270508, 1.6116269826889038, -0.7507413625717163, 0.35028791427612305, -1.6208829879760742, -0.0015691136941313744, -0.5813003778457642, -0.8133187294006348, -0.8573247194290161, -0.3916676342487335, -0.6605873107910156, 1.034796953201294, 2.480613946914673, 1.22068452835083, -1.2828553915023804, 2.746119976043701, 0.6374902725219727, -0.24080383777618408, -1.14559006690979, 0.5098364353179932, -0.06240334361791611, -1.1573503017425537, -0.4729315936565399, -0.9557932019233704, -0.05312282592058182, -0.6538723707199097, -0.4760581851005554, 0.03787391632795334, 0.42405787110328674, -0.26359838247299194, -0.3028860092163086, -0.5142566561698914, -0.8568665385246277, 0.4784272015094757, -0.3590942323207855, 0.8753453493118286, -0.33618688583374023, 1.8216849565505981, -0.6584656834602356, 0.4264276921749115, 0.7143816351890564, 1.3979172706604004, 0.18909794092178345, -0.01651308313012123, 0.28177231550216675, 0.41989076137542725, 0.046324290335178375, 0.5504928827285767, 1.131925344467163, 0.5688653588294983, 0.533604085445404, 0.6107073426246643, -2.2696876525878906, 1.343766450881958, -0.9862889647483826, 0.12948858737945557, 1.3949577808380127, -0.9609403610229492, 0.22620640695095062, -1.707694172859192, -0.050040602684020996, 0.5912047624588013, -2.3275492191314697, 0.23245646059513092, -1.3880504369735718, -0.5097701549530029, 0.9794490337371826, 0.4075673520565033, -1.3194944858551025, 0.05864199250936508, -0.3641663193702698, 1.025775671005249, 0.43812569975852966, 1.0379955768585205, -1.6333483457565308, 0.017541151493787766, -0.265891432762146, 0.1637689173221588, -1.3311858177185059, -1.5426925420761108, 0.5993277430534363, 0.5590060949325562, 0.6140180230140686, -0.13190104067325592, 0.9810149669647217, -0.9941166043281555, 0.8604373335838318, -0.9930194616317749, -1.665576696395874, -1.462547779083252, -2.38452410697937, -2.297684669494629, 0.660042941570282, -0.5522949695587158, -0.47739377617836, 1.925244927406311, -1.1001245975494385, -1.7221543788909912, 1.1142202615737915, 0.20627452433109283, 0.08384769409894943, 2.399695873260498, 0.1576751172542572, -0.7046335339546204, 0.389727383852005, -0.8156248331069946, 0.7651007771492004, -0.3168942332267761, 1.4218165874481201, 0.5757871270179749, -1.1069952249526978, 1.6554794311523438, -0.38896068930625916, 0.5299054384231567, -0.5559306144714355, -0.502152681350708, -0.7499272227287292, 0.2407236248254776, 1.9095301628112793, -0.3583897054195404, 1.570610761642456, -0.30446770787239075, -1.445132851600647, -1.5392131805419922, 0.9351471662521362, 0.4040067791938782, -0.8733758926391602, 0.14859725534915924, -0.49161002039909363, 0.08784781396389008, -0.13718080520629883, 1.1483219861984253, 1.3235156536102295, 0.680955171585083, -0.3866424262523651, -0.743148148059845, 0.13743767142295837, -0.08727453649044037, -0.6872036457061768, -1.8192987442016602, -0.37771832942962646, 0.11205178499221802, 0.7100224494934082, -1.1282644271850586, 1.8239221572875977, 0.8758621215820312, 1.8451998233795166, 1.0363168716430664, -0.3013995587825775, 1.3894633054733276, -0.010286246426403522, 1.814508080482483, -0.5865857601165771, 0.6691938638687134, -0.4347502589225769, -1.2307158708572388, 0.8441969156265259, -0.34001752734184265, -1.993865966796875, -0.8233887553215027, -0.7689436674118042, -0.20079442858695984, -0.816935122013092, 0.9742403030395508, -0.3476495146751404, -1.46184504032135, 0.20691533386707306, -0.6849915981292725, 0.29984769225120544, -1.167314052581787, 0.3377479910850525, 0.7936498522758484, -0.6793830394744873, 0.01579459384083748, -0.1706431359052658, -1.1992243528366089, -0.5208414793014526, 0.33424389362335205, 1.9283899068832397, -0.63223797082901, 0.9160911440849304, 0.9390445947647095, -0.6097451448440552, 0.030819887295365334, 0.3516959547996521, -0.3338092565536499, 0.7307119369506836, -0.9835013747215271, -0.47391194105148315, 1.2406058311462402, -0.31370776891708374, -0.6887264251708984, 1.4844130277633667, 0.8273057341575623, -0.9796238541603088, -0.20682434737682343, -0.26759156584739685, -0.8130127191543579, 0.034785039722919464, -1.611855149269104, -0.13316476345062256, 0.411012202501297, -1.5262360572814941, -0.40709856152534485, -0.10327362269163132, 1.4092999696731567, -0.24452589452266693, 1.4515407085418701, -0.25118106603622437, -0.2614263594150543, -0.23702284693717957, -0.38169726729393005, 0.24362017214298248, -0.14171965420246124, -0.5733343362808228, 0.20206286013126373, -0.7822058796882629, 0.4541073143482208, 1.4588069915771484, 0.25440698862075806, 0.09432695806026459, 0.4344073534011841, 1.1113489866256714, 0.29590079188346863, -0.022573860362172127, -0.9110305905342102, -1.6623003482818604, 2.020470142364502, -1.3089064359664917, 2.0817155838012695, 0.7516924738883972, -0.16747160255908966, -1.7025301456451416, -1.7684205770492554, 1.3107566833496094, 1.1298905611038208, 2.2656617164611816, 0.5356528759002686, 0.33653882145881653, -0.7728735208511353, -0.7102835774421692, 0.30279234051704407, -1.0541270971298218, -0.7086295485496521, 0.09471695870161057, 2.377873659133911, 1.6979342699050903, -0.4224892556667328, -0.19817237555980682, -1.030703067779541, 1.3102904558181763, -0.2667912542819977, 0.2643756568431854, 1.9390166997909546, -0.26350194215774536, -1.124473214149475, 1.254496693611145, -2.29721999168396, 0.29805976152420044, 2.11130428314209, 0.24354495108127594, 0.07077471166849136, -1.4772918224334717, -0.6350472569465637, -0.28063780069351196, -0.4359903633594513, -1.2587693929672241, 0.4726438820362091, -0.23575137555599213, -0.8944454193115234, -1.286926507949829, 0.08200415223836899, -1.1777185201644897, -1.7089028358459473, 0.36937057971954346, 1.8867123126983643, 1.9790444374084473, -0.6855893731117249, 1.5187616348266602, -0.2504110634326935, 0.22984111309051514, 1.3805797100067139, 1.2947980165481567, 3.088068723678589, 1.895693302154541, -1.3129959106445312, 0.7426432967185974, -0.22350770235061646, -0.5313181281089783, 1.2816412448883057, -1.1512451171875, 1.2894954681396484, -0.15992964804172516, -1.2406010627746582, -1.3495219945907593, 1.0166853666305542, 0.44637298583984375, 0.01635047420859337, -0.5024967193603516, 1.2065016031265259, 0.17022685706615448, 1.3029890060424805, 0.5689799189567566, -0.29492369294166565, 0.5537880063056946, -0.427685022354126, -0.5506786704063416, 1.5885660648345947, 0.234823077917099, -1.4593451023101807, -2.326028823852539, -0.2123924195766449, -0.8840783834457397, -0.04814187437295914, -0.5951432585716248, -1.0916112661361694, 1.5697298049926758, 0.39950817823410034, -1.2222954034805298, -0.3112887740135193, -0.3452628254890442, -0.47214365005493164, 2.7091846466064453, -1.3026739358901978, -0.16296888887882233, -1.0207114219665527, -0.7147791981697083, 1.6558911800384521, -1.251713752746582, -0.16909435391426086, -1.0875747203826904, -0.5710666179656982, -1.2995150089263916, -0.4863653779029846, -0.03788425028324127, -0.936455488204956, 0.6914661526679993, 0.20617671310901642, -1.2158123254776, -0.45760083198547363, -0.834232747554779, 1.0003230571746826, -0.16667506098747253, 0.1906958520412445, 1.8334475755691528, 0.30259859561920166, -0.4984422028064728, 0.7933735251426697, 1.130419373512268, 0.652175784111023, -0.6065357327461243, 0.17399495840072632, -0.6456476449966431, 0.3619440495967865, -1.3997361660003662, 0.23058652877807617, -2.8859965801239014, 0.6530709862709045, -0.08077888190746307, -0.16501779854297638, -0.06127607822418213, -1.3936952352523804, 1.1190069913864136, 2.592696189880371, -1.1564284563064575, 0.4700540006160736, 0.3292524218559265, 1.111793875694275, -1.6793791055679321, 0.25091680884361267, -0.5626610517501831, 2.186462640762329, 0.2660914361476898, 1.2480285167694092, -0.40359875559806824, -2.361980676651001, 0.7057003378868103, -1.256819725036621, -1.1120126247406006, 0.884174644947052, -0.7576327323913574, 0.11555513739585876, -1.3552955389022827, -0.21335265040397644, -0.9659804105758667, -1.2339928150177002, 0.7137535214424133, 0.0789010152220726, 0.5080996751785278, -0.618799090385437, 0.2998776435852051, -2.1702282428741455, -1.403230905532837, -0.07025843858718872, -0.9817322492599487, 0.5509219169616699, -0.44975072145462036, 0.6035464406013489, -0.1523059755563736, 0.07000209391117096, 0.43127894401550293, 1.6501154899597168, 3.4806039333343506, 0.21426552534103394, 0.2389637678861618, -0.1897187978029251, -0.827129602432251, 1.4445494413375854, 0.9218026995658875, -0.1372229903936386, -0.5563952326774597, -0.9024925827980042, 1.2355375289916992, 1.9423142671585083, 0.8983830213546753, 0.022194450721144676, -0.7617707848548889, -0.7201473712921143, -0.059881702065467834, 0.11510232090950012, 0.5147592425346375, 0.8633996248245239, 0.04916834086179733, -0.0012841830030083656, 1.2470258474349976, 1.2587138414382935, -0.47350552678108215, 0.367936372756958, -0.8853760957717896, -0.3760928213596344, 0.4553415775299072, 0.29574546217918396, -0.07511256635189056, 0.524581789970398, -0.9104586243629456, -0.1317044198513031, -0.39182373881340027, -0.9396506547927856, -0.7605233788490295, -0.463579922914505, -0.45077353715896606, 1.5398645401000977, 0.06512857973575592, -0.5544566512107849, -0.031197696924209595, -0.7244812250137329, -0.11873234808444977, -0.9969771504402161, 0.14466078579425812, -0.0908377394080162, -0.07048019021749496, -0.22726015746593475, 1.5934704542160034, -0.9321700930595398, -2.0931835174560547, 0.23663097620010376, 0.2756364047527313, -0.3807196021080017, 0.16325774788856506, 1.6926195621490479, 0.3845410645008087, 1.400388240814209, 1.4029650688171387, 0.943946123123169, -0.5642115473747253, -1.2446074485778809, 0.7324973344802856, 0.9386827349662781, -1.4160608053207397, 0.9417526125907898, -0.12159557640552521, -0.4508730173110962, 0.7086634635925293, 1.2297261953353882, 0.4233957529067993, -1.9249662160873413, 0.7747309803962708, -0.9571855664253235, 0.8618908524513245, 0.7351803779602051, 0.7146380543708801, 0.29863888025283813, 0.9354868531227112, -1.0900228023529053, -1.1269429922103882, -0.6803282499313354, -0.7318897843360901, 1.9277771711349487, -0.36753132939338684, 0.5656037926673889, -0.14990897476673126, -1.2264548540115356, -0.22697056829929352, 0.8154388070106506, 0.3939516246318817, -0.4592236876487732, 0.8662055134773254, -0.6696513891220093, -0.9762194156646729, -1.2467865943908691, -0.49656233191490173, -1.007475733757019, -0.9848552346229553, 1.007408618927002, 0.7515643239021301, 0.446200430393219, 1.8986103534698486, 0.5647926926612854, 0.2758302092552185, -2.5921759605407715, 0.8508803844451904, 0.27078571915626526, 0.024345414713025093, 0.952939510345459, 0.2712104022502899, 1.158441424369812, -0.024760255590081215, 0.5588490962982178, -2.398895263671875, 2.2188727855682373, -0.18593505024909973, 0.6214100122451782, 0.010751660913228989, -0.23311342298984528, 1.0973316431045532, 0.5581091046333313, 0.44102662801742554, -1.1754904985427856, 0.807908833026886, -0.5916335582733154, 1.2173327207565308, 0.8893060684204102, -0.9507628083229065, -0.01873406022787094, 1.4157310724258423, 0.43618693947792053, -0.5029565095901489, -0.8849431872367859, -0.8887519836425781, 0.8985517621040344, 1.6430267095565796, 0.06889832019805908, -0.07800827920436859, 0.8613009452819824, 0.6893931031227112, -1.2288177013397217, 0.15433558821678162, -0.6529995799064636, -0.7297895550727844, 1.7186120748519897, 2.076441526412964, -0.10684515535831451, -0.18291641771793365, -0.7466962933540344, -1.1984045505523682, 0.7639936208724976, -0.029782474040985107, -0.010460948571562767, 0.5962232947349548, -0.5933690667152405, 1.1114270687103271, 0.7289903163909912, 1.004698634147644, 0.15048763155937195, 0.34410542249679565, 0.419817715883255, -0.32709822058677673, -1.168511152267456, -0.33491671085357666, -1.2568384408950806, -2.681123733520508, 0.41590800881385803, -0.3566540479660034, -1.5038578510284424, 0.11107699573040009, -1.073662519454956, 0.8429795503616333, -0.6772051453590393, -1.0928829908370972, -1.5133893489837646, 0.20021012425422668, -0.08749938011169434, 0.8774269819259644, -1.630557894706726, -0.002692971844226122, 1.2817597389221191, 0.8211815357208252, -0.5701661109924316, 1.0827457904815674, 0.322305291891098, 1.1040021181106567, 0.7612487077713013, -0.4013913869857788, 0.6457003951072693, 0.07105191051959991, -1.4033427238464355, 0.5252498388290405, 1.2258416414260864, 0.18665820360183716, 1.5013103485107422, -0.4495287239551544, 0.10079674422740936, 0.5096291303634644, -0.7135794758796692, -0.5163478255271912, -0.4256114959716797, 0.737061083316803, 0.09705553203821182, -0.8771546483039856, 0.011556250974535942, -0.14489351212978363, -0.33335575461387634, 0.17521511018276215, -1.5808932781219482, -0.17192380130290985, -0.419864684343338, -0.5652587413787842, -1.405714511871338, -0.045002833008766174, 1.3579444885253906, -0.7114490866661072, -0.23343317210674286, 0.49714988470077515, 0.32327088713645935, 0.5140896439552307, 0.631643533706665, -0.6893764734268188, -0.3018907904624939, -0.3947816491127014, -0.30977630615234375, 0.39689189195632935, 1.209560751914978, -0.20194558799266815, -0.8866685032844543, 0.6603647470474243, -0.30964162945747375, 0.08357328921556473, 1.8890081644058228, 0.04751841723918915, -0.6790645122528076, 0.29355302453041077, -0.6922031044960022, 1.9567424058914185, 1.6550307273864746, 1.2550679445266724, -0.10033372789621353, -1.0255975723266602, 0.6443893313407898, -0.3358518183231354, -0.34436294436454773, 0.8828122019767761, 0.3537759780883789, -0.19858303666114807, -1.3308079242706299, 0.6875666975975037, 1.2630078792572021, -0.9063147306442261, -0.7394880652427673, 0.146057590842247, -0.8580987453460693, 1.162921667098999, 0.5991103053092957, 0.36831769347190857, 0.35005080699920654, 1.5592639446258545, 0.7570164203643799, -0.46044132113456726, 0.6360008716583252, 0.44867876172065735, -0.19694210588932037, -2.086881160736084, -1.0845630168914795, 0.41832849383354187, -0.5360148549079895, -1.5521363019943237, 1.3117380142211914, -1.1590946912765503, -0.9780811667442322, 0.528052806854248, 0.1613718718290329, 1.3852826356887817, 0.31282711029052734, 1.7654582262039185, 2.0252766609191895, 0.8674942851066589, 0.37022268772125244, 1.2555047273635864, -0.06971532106399536, -0.47739481925964355, 1.7784595489501953, -0.49187812209129333, 0.580665111541748, 1.1210907697677612, -0.3673518896102905, -1.0513521432876587, -0.8609454035758972, -1.153061866760254, -0.6258965134620667, 1.1518113613128662, 0.1316300928592682, -1.1251617670059204, 0.17907431721687317, 1.5612741708755493, 0.11957091093063354, -0.1493346244096756, 0.6914555430412292, 0.40483564138412476, -0.752388060092926, -0.012620565481483936, -0.8401017785072327, 0.55193030834198, -0.19956828653812408, -0.3271777033805847, 0.3565489947795868, 0.5476281046867371, 1.1791831254959106, -0.17960122227668762, 0.1536584049463272, 1.1358798742294312, -1.5397484302520752, 1.4851231575012207, -0.6634323000907898, 0.2621157467365265, -2.3604860305786133, 1.3799378871917725, -0.7403583526611328, 1.9211994409561157, -2.6083436012268066, 0.48596084117889404, -0.6722248196601868, -0.5434143543243408, 0.2963067591190338, -0.299491286277771, 0.12337739765644073, -0.15217000246047974, -1.0466630458831787, -0.04021281749010086, -0.7976281046867371, 0.5905629396438599, 1.1240023374557495, 1.426839828491211, -1.1970678567886353, -0.23368412256240845, -1.7316228151321411, -0.1660744696855545, -0.7416578531265259, 0.35112902522087097, -1.9962944984436035, -0.1535407453775406, -2.037919521331787, -2.3807647228240967, -1.2942453622817993, -0.7106653451919556, 1.0319061279296875, 0.14792901277542114, -0.7881744503974915, 1.1844806671142578, -0.3205241858959198, -1.811362385749817, 1.0742741823196411, -2.0888917446136475 ]
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
OK, thanks for digging a bit into it. Indeed, the error occurs with the dataset-viewer, but not with a normal user token, because we use an app token, and it does not have a related email! ```python >>> from huggingface_hub import HfApi, HfFolder >>> auth_token = "hf_app_******" >>> t = HfApi().whoami(auth_token) >>> t {'type': 'app', 'name': 'dataset-preview-backend'} >>> t["email"] Traceback (most recent call last): File "<stdin>", line 1, in <module> KeyError: 'email' ``` Note also that the doc (https://huggingface.co/docs/huggingface_hub/package_reference/hf_api#huggingface_hub.HfApi.whoami) does not state that `whoami` should return an `email` key. @SBrandeis @julien-c: do you think the app token should have an email associated, like the users?
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
784
105
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 OK, thanks for digging a bit into it. Indeed, the error occurs with the dataset-viewer, but not with a normal user token, because we use an app token, and it does not have a related email! ```python >>> from huggingface_hub import HfApi, HfFolder >>> auth_token = "hf_app_******" >>> t = HfApi().whoami(auth_token) >>> t {'type': 'app', 'name': 'dataset-preview-backend'} >>> t["email"] Traceback (most recent call last): File "<stdin>", line 1, in <module> KeyError: 'email' ``` Note also that the doc (https://huggingface.co/docs/huggingface_hub/package_reference/hf_api#huggingface_hub.HfApi.whoami) does not state that `whoami` should return an `email` key. @SBrandeis @julien-c: do you think the app token should have an email associated, like the users?
[ -1.1712146997451782, -0.8966345191001892, -0.7413324117660522, 1.5276672840118408, -0.19679223001003265, -1.2524442672729492, 0.13996945321559906, -1.0548508167266846, 1.6320546865463257, -0.6475451588630676, 0.2893383502960205, -1.683863878250122, -0.06141761690378189, -0.573215663433075, -0.81947261095047, -0.8662572503089905, -0.30648133158683777, -0.7532323598861694, 0.9772681593894958, 2.524587631225586, 1.2319140434265137, -1.4020763635635376, 2.697539806365967, 0.6701256036758423, -0.20224551856517792, -1.1060727834701538, 0.4932217597961426, -0.10945413261651993, -1.1381947994232178, -0.48862624168395996, -0.8734278082847595, -0.050587285310029984, -0.6806009411811829, -0.5464816689491272, -0.023530280217528343, 0.38065895438194275, -0.2749791145324707, -0.2628663182258606, -0.5310162305831909, -0.8549718856811523, 0.36354485154151917, -0.40348654985427856, 0.8671339750289917, -0.4369843602180481, 1.7502604722976685, -0.5823577642440796, 0.3893622159957886, 0.6981654167175293, 1.3970438241958618, 0.3436737656593323, -0.025989484041929245, 0.2826988995075226, 0.36585941910743713, -0.06765580177307129, 0.4902304410934448, 1.1130043268203735, 0.6125074625015259, 0.4506300687789917, 0.7280494570732117, -2.278458833694458, 1.2489451169967651, -1.0500528812408447, 0.14414605498313904, 1.4125417470932007, -0.8385689854621887, 0.32559242844581604, -1.7964670658111572, 0.017090819776058197, 0.6508803963661194, -2.388728141784668, 0.2526635527610779, -1.3491426706314087, -0.5220699310302734, 0.9334494471549988, 0.3629875183105469, -1.3404208421707153, -0.0015985975041985512, -0.3899446725845337, 1.0323253870010376, 0.43822216987609863, 1.0605310201644897, -1.7577086687088013, -0.00267448415979743, -0.23283354938030243, 0.18145281076431274, -1.264362096786499, -1.5401157140731812, 0.6410069465637207, 0.6060713529586792, 0.5702199339866638, -0.059572458267211914, 0.9317949414253235, -0.9767455458641052, 0.771633505821228, -1.0310728549957275, -1.703761100769043, -1.4416793584823608, -2.224898338317871, -2.189587116241455, 0.7032082676887512, -0.5999772548675537, -0.47994789481163025, 1.936571478843689, -1.021087646484375, -1.7259256839752197, 1.1330742835998535, 0.333374559879303, 0.059077318757772446, 2.539066791534424, 0.1700105369091034, -0.7133153080940247, 0.45603320002555847, -0.8354503512382507, 0.813082754611969, -0.4306926131248474, 1.4382917881011963, 0.44677984714508057, -0.95243239402771, 1.6899224519729614, -0.5136931538581848, 0.5076396465301514, -0.605897843837738, -0.5496861338615417, -0.7493423819541931, 0.23015455901622772, 1.9322941303253174, -0.27313023805618286, 1.556296467781067, -0.28677690029144287, -1.499319076538086, -1.5484750270843506, 0.911738395690918, 0.3591481149196625, -1.0509699583053589, 0.16780610382556915, -0.46014705300331116, 0.178953155875206, -0.17850051820278168, 1.112217903137207, 1.3118637800216675, 0.7106545567512512, -0.28757548332214355, -0.7945854067802429, 0.17567633092403412, -0.1007731482386589, -0.7124395966529846, -1.808701515197754, -0.32713082432746887, 0.09017827361822128, 0.6822910308837891, -1.2026362419128418, 1.7538028955459595, 0.8161742091178894, 1.9151049852371216, 0.9718050956726074, -0.3414876163005829, 1.4363794326782227, 0.06169116124510765, 1.876937747001648, -0.6700389981269836, 0.6781757473945618, -0.4714109003543854, -1.0969822406768799, 0.8096441030502319, -0.34438854455947876, -1.924705147743225, -0.6842264533042908, -0.8181473612785339, -0.23381036520004272, -0.8534562587738037, 0.9264515042304993, -0.24613170325756073, -1.3835359811782837, 0.3830696642398834, -0.7444406747817993, 0.1875489503145218, -1.2508306503295898, 0.40903013944625854, 0.7923790812492371, -0.5474148988723755, 0.006508969701826572, -0.23282679915428162, -1.2594952583312988, -0.5657356381416321, 0.20815430581569672, 1.9862643480300903, -0.6379760503768921, 0.9141508936882019, 0.8806579113006592, -0.675701379776001, 0.01857602223753929, 0.3806726932525635, -0.24932429194450378, 0.7692170739173889, -1.015695571899414, -0.4856722056865692, 1.2490242719650269, -0.3252031207084656, -0.5420833230018616, 1.4104232788085938, 0.7425764799118042, -1.0192029476165771, -0.1551530361175537, -0.24837398529052734, -0.7684617042541504, 0.1146567314863205, -1.6431677341461182, -0.04818612337112427, 0.3590056896209717, -1.5151792764663696, -0.4821944534778595, -0.11901648342609406, 1.3126636743545532, -0.16046451032161713, 1.3079127073287964, -0.37789711356163025, -0.12863542139530182, -0.2786393165588379, -0.41836482286453247, 0.1514844000339508, -0.29259562492370605, -0.5411062240600586, 0.17053182423114777, -0.8441067337989807, 0.2988719642162323, 1.4149914979934692, 0.2857320308685303, 0.030138488858938217, 0.4050217270851135, 1.091604471206665, 0.384879469871521, -0.025839626789093018, -0.9005568027496338, -1.466446042060852, 2.045891284942627, -1.4323718547821045, 2.0736777782440186, 0.7033016085624695, -0.10042925179004669, -1.6494232416152954, -1.946097493171692, 1.2986606359481812, 1.139567255973816, 2.2715859413146973, 0.6355268359184265, 0.371378630399704, -0.8323226571083069, -0.6986880898475647, 0.24237972497940063, -0.9892590641975403, -0.7486967444419861, 0.0988910049200058, 2.3858141899108887, 1.7170078754425049, -0.549820065498352, -0.13466697931289673, -0.9892051219940186, 1.3222476243972778, -0.1967482715845108, 0.29817289113998413, 1.9572008848190308, -0.2843252122402191, -1.1240023374557495, 1.2769495248794556, -2.3167190551757812, 0.22146280109882355, 2.096562147140503, 0.20600301027297974, 0.21806836128234863, -1.311905026435852, -0.7045369148254395, -0.2948097884654999, -0.39809930324554443, -1.254268765449524, 0.5025790929794312, -0.2465037703514099, -0.8614497184753418, -1.4220927953720093, 0.16148948669433594, -1.0656810998916626, -1.6135499477386475, 0.2700493633747101, 1.9363073110580444, 2.0867254734039307, -0.8051326870918274, 1.4962908029556274, -0.32154929637908936, 0.11223167926073074, 1.3239396810531616, 1.2386196851730347, 3.1032533645629883, 1.8922655582427979, -1.2530734539031982, 0.672540545463562, -0.23229704797267914, -0.44435444474220276, 1.2240206003189087, -1.1700594425201416, 1.1593447923660278, -0.1612699329853058, -1.252436876296997, -1.3183246850967407, 0.891337513923645, 0.42056769132614136, -0.06038252264261246, -0.5503208041191101, 1.230406641960144, 0.025681324303150177, 1.4095088243484497, 0.5303968787193298, -0.29298633337020874, 0.4914785623550415, -0.4519607424736023, -0.5285555124282837, 1.6313717365264893, 0.25402387976646423, -1.4912015199661255, -2.364955425262451, -0.22894345223903656, -0.8893504738807678, 0.053771089762449265, -0.6087583899497986, -1.133479356765747, 1.6680423021316528, 0.3793846070766449, -1.1339577436447144, -0.36288195848464966, -0.3630051016807556, -0.4445241093635559, 2.63629412651062, -1.3506972789764404, -0.284755676984787, -0.982904851436615, -0.6036723256111145, 1.634216070175171, -1.2729190587997437, -0.18019351363182068, -1.0702859163284302, -0.5743595361709595, -1.3154441118240356, -0.47150319814682007, -0.07323797047138214, -0.8793178200721741, 0.7310581207275391, 0.30593985319137573, -1.2208949327468872, -0.37217676639556885, -0.988946259021759, 0.8690854907035828, -0.1681063324213028, 0.3029760718345642, 1.8388807773590088, 0.2770642638206482, -0.4086979329586029, 0.7110176086425781, 1.1517109870910645, 0.6231108903884888, -0.5962404608726501, 0.12281225621700287, -0.6136939525604248, 0.48032334446907043, -1.366741418838501, 0.1613040566444397, -2.9240996837615967, 0.7151683568954468, -0.059531837701797485, -0.06444333493709564, -0.029341313987970352, -1.3640905618667603, 1.2073003053665161, 2.558029890060425, -1.1151952743530273, 0.5144489407539368, 0.2934870719909668, 1.2035096883773804, -1.731011986732483, 0.29224693775177, -0.43743956089019775, 2.3410024642944336, 0.19203756749629974, 1.2177212238311768, -0.3967341482639313, -2.449685573577881, 0.6631232500076294, -1.1925048828125, -1.056768536567688, 0.7554479837417603, -0.8202571868896484, 0.017275918275117874, -1.5465890169143677, -0.15397034585475922, -0.9123679399490356, -1.1830300092697144, 0.8427962064743042, 0.049304790794849396, 0.44379913806915283, -0.5991766452789307, 0.35027453303337097, -2.178973913192749, -1.4611936807632446, -0.14798074960708618, -0.9835580587387085, 0.540303111076355, -0.40424370765686035, 0.7228614091873169, -0.19536089897155762, 0.11592012643814087, 0.40708866715431213, 1.5364067554473877, 3.4810259342193604, 0.23321235179901123, 0.3439309895038605, -0.19855418801307678, -0.9140803217887878, 1.430596947669983, 0.9040414690971375, -0.1172572672367096, -0.4828920364379883, -0.917720377445221, 1.399828553199768, 1.9982625246047974, 0.8606342077255249, 0.129214346408844, -0.8000932931900024, -0.6053014993667603, -0.07473761588335037, 0.16860778629779816, 0.4584011137485504, 0.8471391201019287, 0.014859558083117008, 0.03276696056127548, 1.3250505924224854, 1.2604185342788696, -0.3639717102050781, 0.457418829202652, -0.9140724539756775, -0.4045889675617218, 0.5417367815971375, 0.3162274658679962, -0.061166755855083466, 0.4315628409385681, -0.8829163312911987, -0.24705295264720917, -0.33906105160713196, -0.8682107925415039, -0.6917158365249634, -0.45079973340034485, -0.33508631587028503, 1.5595494508743286, 0.06949341297149658, -0.5329899787902832, 0.010881767608225346, -0.7333163619041443, -0.08198334276676178, -1.1170732975006104, 0.1351567804813385, -0.11468729376792908, -0.0769307017326355, -0.2368878573179245, 1.585249662399292, -0.8595861196517944, -2.1044538021087646, 0.14751684665679932, 0.4717986285686493, -0.4701980650424957, 0.18118812143802643, 1.749410629272461, 0.41326579451560974, 1.487299919128418, 1.4229977130889893, 1.0135438442230225, -0.6417200565338135, -1.2082246541976929, 0.7086297273635864, 0.9197515249252319, -1.3879048824310303, 0.9961625933647156, -0.026991721242666245, -0.5003764629364014, 0.624747097492218, 1.2698227167129517, 0.48746466636657715, -1.8659003973007202, 0.8411024212837219, -0.9870254993438721, 0.9186292886734009, 0.6710321307182312, 0.8741686344146729, 0.2995545268058777, 0.9111918807029724, -1.2159539461135864, -1.0736922025680542, -0.8260611891746521, -0.6422677636146545, 1.8261007070541382, -0.33565598726272583, 0.4487692415714264, -0.18722476065158844, -1.1934019327163696, -0.2328963428735733, 0.7583723068237305, 0.416599839925766, -0.34793567657470703, 0.7807824611663818, -0.6394080519676208, -1.0378680229187012, -1.248693585395813, -0.40797293186187744, -0.9688119292259216, -0.991141140460968, 1.0187352895736694, 0.838287353515625, 0.41622018814086914, 1.9338926076889038, 0.5872354507446289, 0.21564237773418427, -2.5515286922454834, 0.9266687631607056, 0.23913785815238953, -0.09048377722501755, 0.9493634700775146, 0.37721726298332214, 1.170129656791687, 0.0024901311844587326, 0.5046178102493286, -2.331275224685669, 2.1555252075195312, -0.20079545676708221, 0.7362329959869385, 0.043520763516426086, -0.12551145255565643, 1.0462473630905151, 0.49196094274520874, 0.4033927023410797, -1.0710166692733765, 0.8038275837898254, -0.5942136645317078, 1.1218022108078003, 0.9598361253738403, -0.8631813526153564, 0.009449274279177189, 1.2831119298934937, 0.4425703287124634, -0.6391046643257141, -0.9967074394226074, -0.7289766669273376, 0.9043859839439392, 1.6718343496322632, -0.003340556286275387, -0.08899261057376862, 0.777655839920044, 0.6628103852272034, -1.2245473861694336, 0.12248171865940094, -0.6191757321357727, -0.7519631385803223, 1.801350712776184, 1.9756101369857788, -0.10709351301193237, -0.1574169546365738, -0.7045528292655945, -1.3683230876922607, 0.7833015322685242, 0.024193335324525833, 0.023999527096748352, 0.6602346897125244, -0.603527307510376, 1.076794981956482, 0.7000448107719421, 1.064019799232483, 0.17113752663135529, 0.3768024444580078, 0.5443838834762573, -0.34568706154823303, -1.0770095586776733, -0.3235006332397461, -1.325505018234253, -2.527374267578125, 0.5347145795822144, -0.29173094034194946, -1.3679664134979248, 0.035479843616485596, -0.951861560344696, 1.0083363056182861, -0.6226880550384521, -0.9914185404777527, -1.4342577457427979, 0.22839727997779846, -0.03574969619512558, 0.915881872177124, -1.619101643562317, -0.08467774093151093, 1.2566624879837036, 0.8780507445335388, -0.6187989711761475, 1.032442569732666, 0.3489798605442047, 1.140217661857605, 0.7881870269775391, -0.4721912145614624, 0.5522444844245911, 0.06310413777828217, -1.3564050197601318, 0.4900030791759491, 1.239316701889038, 0.191198468208313, 1.456742286682129, -0.41188907623291016, -0.027502264827489853, 0.44421055912971497, -0.5689548254013062, -0.5279927849769592, -0.46908244490623474, 0.6989797949790955, 0.12347626686096191, -0.983098030090332, -0.06270013749599457, -0.16843585669994354, -0.2508108615875244, 0.17350806295871735, -1.5982531309127808, -0.18235936760902405, -0.43696385622024536, -0.4337466359138489, -1.316724419593811, -0.17783962190151215, 1.4213701486587524, -0.6341651082038879, -0.2010742425918579, 0.5967367887496948, 0.3969956338405609, 0.4984475374221802, 0.5881262421607971, -0.6649852395057678, -0.39434269070625305, -0.4514768421649933, -0.3500702977180481, 0.2892921566963196, 1.222371220588684, -0.1728951781988144, -1.0008037090301514, 0.6415433883666992, -0.3333461582660675, 0.03362586349248886, 1.8189339637756348, 0.056176576763391495, -0.7549149990081787, 0.24848970770835876, -0.6105574369430542, 1.9408762454986572, 1.7091004848480225, 1.261224389076233, -0.15559984743595123, -0.9922754764556885, 0.7230574488639832, -0.3299480080604553, -0.43454596400260925, 0.7302631139755249, 0.4775609076023102, -0.22259332239627838, -1.480751633644104, 0.6439504027366638, 1.1530566215515137, -0.9655055403709412, -0.7637755870819092, 0.15791109204292297, -0.7794857025146484, 1.1142841577529907, 0.692130982875824, 0.39512819051742554, 0.3645626902580261, 1.7058370113372803, 0.6992802619934082, -0.5180155038833618, 0.5161263942718506, 0.5005881786346436, -0.25780239701271057, -2.0492279529571533, -1.2356128692626953, 0.3385230004787445, -0.4685879051685333, -1.472825288772583, 1.3594893217086792, -1.1274288892745972, -0.8924592137336731, 0.5207385420799255, 0.18501712381839752, 1.32261323928833, 0.3581312894821167, 1.726318597793579, 2.0265462398529053, 0.8077185750007629, 0.34148654341697693, 1.2501678466796875, -0.1774541437625885, -0.43409714102745056, 1.7565233707427979, -0.34575727581977844, 0.6322892308235168, 1.1353058815002441, -0.3959225118160248, -1.151768445968628, -0.8790814280509949, -1.2248964309692383, -0.7355569005012512, 1.185945749282837, 0.15573009848594666, -1.2181776762008667, 0.1907527595758438, 1.6334846019744873, 0.03396090865135193, -0.3170243203639984, 0.6137120127677917, 0.42531463503837585, -0.7803121209144592, -0.01946442946791649, -0.9426657557487488, 0.541617751121521, -0.15371835231781006, -0.3312307894229889, 0.3370985984802246, 0.5350019931793213, 1.3267691135406494, -0.04491404816508293, 0.16136206686496735, 1.1308377981185913, -1.4734984636306763, 1.4299967288970947, -0.7381891012191772, 0.18678197264671326, -2.2885515689849854, 1.395864486694336, -0.7134099006652832, 1.990610957145691, -2.608266830444336, 0.4959704875946045, -0.6161082983016968, -0.46477946639060974, 0.33654940128326416, -0.3744186758995056, 0.2530580759048462, -0.11298070847988129, -1.107089877128601, 0.022406917065382004, -0.654280960559845, 0.5438340902328491, 1.0759685039520264, 1.5020586252212524, -1.1572376489639282, -0.2276485413312912, -1.78404700756073, -0.1786671131849289, -0.7550740242004395, 0.18019086122512817, -2.0234920978546143, -0.17969076335430145, -2.0040478706359863, -2.320359468460083, -1.3744357824325562, -0.7178155183792114, 1.0344393253326416, 0.12395000457763672, -0.857567548751831, 1.2721296548843384, -0.3119781017303467, -1.7566243410110474, 1.1587284803390503, -2.0547990798950195 ]
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
We can workaround this with ```python email = HfApi().whoami(auth_token).get("email", "[email protected]") ``` in the common voice scripts
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
784
16
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 We can workaround this with ```python email = HfApi().whoami(auth_token).get("email", "[email protected]") ``` in the common voice scripts
[ -1.1277536153793335, -0.7831279039382935, -0.6548466086387634, 1.606382131576538, -0.3687717616558075, -1.2496014833450317, 0.38551342487335205, -0.9539969563484192, 1.6816378831863403, -0.8163290619850159, 0.3934832811355591, -1.6862012147903442, -0.07145816832780838, -0.4579418897628784, -0.7826219797134399, -0.8186318874359131, -0.42392298579216003, -0.5461307168006897, 1.0310114622116089, 2.4984354972839355, 1.265077829360962, -1.1094485521316528, 2.796118974685669, 0.5317152142524719, -0.21580667793750763, -1.0810095071792603, 0.44659486413002014, -0.04781608283519745, -1.1589882373809814, -0.49204379320144653, -1.0731843709945679, -0.07581067830324173, -0.48144975304603577, -0.5651673674583435, -0.04435712844133377, 0.4679645299911499, -0.29672694206237793, -0.5322014093399048, -0.44998836517333984, -0.854630172252655, 0.330827534198761, -0.3225117027759552, 0.8320227861404419, -0.5024760961532593, 1.867571234703064, -0.6408399343490601, 0.47899430990219116, 0.6708294153213501, 1.3520559072494507, 0.24975214898586273, 0.06215186417102814, 0.3205476701259613, 0.4248669445514679, -0.06373436748981476, 0.7766431570053101, 1.2743977308273315, 0.5118415951728821, 0.6102045774459839, 0.5641130208969116, -2.200612783432007, 1.2250299453735352, -1.0954591035842896, 0.1429840475320816, 1.4110926389694214, -1.0386384725570679, 0.21913348138332367, -1.6813762187957764, -0.0689648911356926, 0.5441789031028748, -2.2936959266662598, 0.27147048711776733, -1.3226591348648071, -0.5691090822219849, 1.0476276874542236, 0.5369620323181152, -1.3830682039260864, -0.03703916445374489, -0.11483170092105865, 0.9666234850883484, 0.33939602971076965, 1.1800403594970703, -1.499788761138916, 0.1821485012769699, -0.34353986382484436, 0.10675106197595596, -1.1879228353500366, -1.4987539052963257, 0.5769805908203125, 0.5385462641716003, 0.684715986251831, -0.1765424758195877, 0.9566800594329834, -0.8966204524040222, 0.7415215969085693, -0.9118016958236694, -1.6672077178955078, -1.4018696546554565, -2.3724682331085205, -2.231499195098877, 0.8193302154541016, -0.41958945989608765, -0.5197847485542297, 1.8185843229293823, -1.045911431312561, -1.7905073165893555, 1.078055500984192, 0.2617071270942688, 0.09095724672079086, 2.464622735977173, 0.1809784471988678, -0.6917237043380737, 0.3957969546318054, -0.8498502969741821, 0.8914602398872375, -0.44578200578689575, 1.5108330249786377, 0.4974389672279358, -1.0946857929229736, 1.767898678779602, -0.372467964887619, 0.6801899075508118, -0.5498416423797607, -0.4797202944755554, -0.6824743747711182, 0.21687063574790955, 1.9424329996109009, -0.33724188804626465, 1.4816951751708984, -0.3622666895389557, -1.4328601360321045, -1.5046452283859253, 0.9375775456428528, 0.45456641912460327, -0.7036346793174744, 0.13622471690177917, -0.4086468815803528, 0.049197740852832794, -0.044233448803424835, 1.1777071952819824, 1.3325231075286865, 0.7788154482841492, -0.2710714638233185, -0.7524985074996948, 0.1506507396697998, 0.07345534861087799, -0.7364142537117004, -1.7211157083511353, -0.3428208529949188, 0.09763630479574203, 0.5816012620925903, -1.1284948587417603, 1.8184915781021118, 0.8681713342666626, 1.8106513023376465, 0.9604430198669434, -0.18373265862464905, 1.4583114385604858, 0.02059568278491497, 1.7712935209274292, -0.41160818934440613, 0.5815368294715881, -0.27472323179244995, -1.2867112159729004, 0.7907858490943909, -0.3714800179004669, -1.9871351718902588, -0.8969235420227051, -0.7537297010421753, -0.12768134474754333, -0.8125986456871033, 0.982619047164917, -0.43061235547065735, -1.55037260055542, 0.17989490926265717, -0.6798152327537537, 0.1714596152305603, -1.3048933744430542, 0.4055485725402832, 0.7333472371101379, -0.747689425945282, -0.011306090280413628, -0.1470261961221695, -1.2651993036270142, -0.4716922640800476, 0.22821752727031708, 2.1097490787506104, -0.7138434052467346, 0.9125284552574158, 0.994862973690033, -0.7936754822731018, -0.01949138566851616, 0.3721173107624054, -0.2942565083503723, 0.6911042928695679, -0.9789800047874451, -0.5063074231147766, 1.314191460609436, -0.22572392225265503, -0.7207434177398682, 1.5614458322525024, 0.7868516445159912, -1.0004390478134155, -0.12862680852413177, -0.24277183413505554, -0.7888756394386292, 0.07512197643518448, -1.5228701829910278, -0.09396512061357498, 0.3547714054584503, -1.4291329383850098, -0.5654035806655884, -0.15772661566734314, 1.413827896118164, -0.20285220444202423, 1.350466251373291, -0.20692557096481323, -0.16092993319034576, -0.1755167543888092, -0.39085331559181213, 0.2699790894985199, -0.11741085350513458, -0.6692373156547546, 0.2387489527463913, -0.7314196825027466, 0.39551281929016113, 1.4849668741226196, 0.18386372923851013, 0.05075273662805557, 0.5095276236534119, 1.0919386148452759, 0.27440401911735535, 0.020105738192796707, -0.9063987731933594, -1.6211059093475342, 1.888698935508728, -1.2248616218566895, 1.967799186706543, 0.6275844573974609, -0.18094567954540253, -1.678835153579712, -1.9468940496444702, 1.2857061624526978, 1.3052412271499634, 2.340555191040039, 0.5323029160499573, 0.28395363688468933, -0.6866743564605713, -0.8055189251899719, 0.19965533912181854, -1.0130641460418701, -0.73609858751297, 0.2666829526424408, 2.2711963653564453, 1.6834484338760376, -0.40485450625419617, -0.17087122797966003, -1.2084838151931763, 1.1369292736053467, -0.22008734941482544, 0.2169402688741684, 1.8616931438446045, -0.371702641248703, -1.1146740913391113, 1.1694145202636719, -2.2330195903778076, 0.23906143009662628, 2.1257119178771973, 0.2254812866449356, 0.20234572887420654, -1.4888774156570435, -0.7310575842857361, -0.22942771017551422, -0.5205504298210144, -1.3556195497512817, 0.6015557050704956, -0.19975607097148895, -0.9909126162528992, -1.2090109586715698, 0.0784086063504219, -1.080485463142395, -1.5034892559051514, 0.4388306438922882, 1.895067811012268, 1.937013864517212, -0.8406075239181519, 1.440507411956787, -0.210807666182518, 0.11219067126512527, 1.4550628662109375, 1.2808935642242432, 3.0483322143554688, 2.0088913440704346, -1.3388334512710571, 0.8798551559448242, -0.2544226348400116, -0.5738879442214966, 1.3236770629882812, -1.2696665525436401, 1.2646384239196777, -0.24734987318515778, -1.1573678255081177, -1.3360064029693604, 0.8851739764213562, 0.5002372860908508, -0.015099529176950455, -0.3089187443256378, 1.207036018371582, 0.18979674577713013, 1.31113600730896, 0.5272974371910095, -0.2962198555469513, 0.6255639791488647, -0.4292931854724884, -0.36051270365715027, 1.5973809957504272, 0.2260887324810028, -1.3735013008117676, -2.266713857650757, -0.008172065950930119, -0.9970977902412415, -0.00502282427623868, -0.5431259274482727, -1.0553998947143555, 1.6781010627746582, 0.454987108707428, -1.1006566286087036, -0.2904806137084961, -0.2898326814174652, -0.4282558858394623, 2.7610273361206055, -1.2334133386611938, -0.2557016611099243, -1.0718525648117065, -0.6593256592750549, 1.7757331132888794, -1.113404393196106, -0.21755565702915192, -1.0517672300338745, -0.47637447714805603, -1.3172966241836548, -0.5068362951278687, 0.09780463576316833, -0.8917322754859924, 0.784523606300354, 0.16349585354328156, -1.2706100940704346, -0.5431145429611206, -0.946831226348877, 1.003574013710022, -0.1749180108308792, 0.15646322071552277, 1.8560974597930908, 0.24123750627040863, -0.47532400488853455, 0.7536211609840393, 1.124497890472412, 0.5209027528762817, -0.4124661684036255, 0.3569956421852112, -0.6858559846878052, 0.4461802542209625, -1.4174259901046753, 0.01266070269048214, -2.958047866821289, 0.5920779705047607, -0.1436973214149475, -0.10331182181835175, -0.23041170835494995, -1.4171878099441528, 1.1136038303375244, 2.500197649002075, -1.1078161001205444, 0.48058661818504333, 0.2900833189487457, 1.178242802619934, -1.592393159866333, 0.24311916530132294, -0.6631916761398315, 2.0787758827209473, 0.1804957240819931, 1.1817116737365723, -0.3666799068450928, -2.2717363834381104, 0.7722880244255066, -1.281000018119812, -1.061172604560852, 0.9018280506134033, -0.8475051522254944, 0.0301846694201231, -1.2452373504638672, -0.22683894634246826, -0.8522481918334961, -1.1378332376480103, 0.7242595553398132, 0.16443155705928802, 0.5034959316253662, -0.6426118016242981, 0.4191129207611084, -2.191340446472168, -1.416919231414795, -0.22950482368469238, -0.9903081655502319, 0.556566596031189, -0.4317662715911865, 0.5498344898223877, -0.1994830220937729, 0.160430908203125, 0.3707665205001831, 1.5322591066360474, 3.3348019123077393, 0.1888592392206192, 0.16076065599918365, -0.14556322991847992, -0.9517697095870972, 1.5050691366195679, 0.9978224635124207, -0.13791225850582123, -0.6332401037216187, -0.8702981472015381, 1.2511837482452393, 1.796656608581543, 0.9101448655128479, 0.09180915355682373, -0.8452130556106567, -0.7457598447799683, -0.12207825481891632, 0.1261698603630066, 0.30002662539482117, 0.7942474484443665, 0.03279373049736023, 0.06637837737798691, 1.172003149986267, 1.2233182191848755, -0.35170164704322815, 0.3997500240802765, -0.985531747341156, -0.30859169363975525, 0.49324917793273926, 0.3314030170440674, -0.017626497894525528, 0.4258308410644531, -0.9699240326881409, -0.2795898914337158, -0.14673560857772827, -0.8939892053604126, -0.8992390036582947, -0.3892877995967865, -0.4290793538093567, 1.5207716226577759, 0.005777349695563316, -0.6826551556587219, -0.11430054157972336, -0.7842552065849304, 0.049404144287109375, -0.9305739402770996, 0.09086132794618607, -0.11081040650606155, -0.06248316913843155, -0.28198185563087463, 1.667994499206543, -1.0036342144012451, -2.1843371391296387, 0.15878738462924957, 0.4265744090080261, -0.3067585527896881, 0.13808393478393555, 1.6294124126434326, 0.41335344314575195, 1.4614826440811157, 1.4077634811401367, 0.9767981171607971, -0.41642600297927856, -1.2961905002593994, 0.7398748993873596, 0.9842582941055298, -1.3395942449569702, 0.8719409704208374, -0.020386816933751106, -0.3626810312271118, 0.6757522225379944, 1.098394513130188, 0.45489388704299927, -1.7996522188186646, 0.6952856779098511, -0.9344077110290527, 0.834213137626648, 0.7017334699630737, 0.9277878999710083, 0.29107046127319336, 0.9332129955291748, -1.0840656757354736, -1.2289925813674927, -0.6344425082206726, -0.8088394999504089, 2.007709503173828, -0.3554415702819824, 0.6366034746170044, -0.2009098380804062, -1.181476354598999, -0.27206477522850037, 0.771056056022644, 0.34191396832466125, -0.5137668251991272, 0.7481318712234497, -0.6234868764877319, -0.9843159914016724, -1.3645027875900269, -0.49852821230888367, -1.0674810409545898, -0.9094588160514832, 0.9906248450279236, 0.8575535416603088, 0.5062282085418701, 1.965862512588501, 0.5768104791641235, 0.3484509587287903, -2.551727533340454, 0.7766163349151611, 0.3247899115085602, 0.06496735662221909, 0.7977681756019592, 0.28229472041130066, 1.0762758255004883, -0.10474202036857605, 0.5171247124671936, -2.3284006118774414, 2.2700138092041016, -0.2271425426006317, 0.7477197647094727, 0.11260039359331131, -0.13699738681316376, 1.0135860443115234, 0.39499494433403015, 0.5367928743362427, -1.1771585941314697, 0.7429189682006836, -0.6270205974578857, 1.2952253818511963, 0.8919910192489624, -0.9476619362831116, -0.05084884166717529, 1.4202896356582642, 0.40493279695510864, -0.33582836389541626, -0.8394131064414978, -0.8931430578231812, 0.9663686156272888, 1.628571629524231, 0.12904855608940125, 0.09593469649553299, 0.9097548723220825, 0.557053804397583, -1.244457721710205, -0.19481365382671356, -0.7665215134620667, -0.674151599407196, 1.9040130376815796, 2.1443045139312744, -0.10406730324029922, -0.213191419839859, -0.794451892375946, -1.2191777229309082, 0.796811580657959, -0.04532521218061447, 0.031056469306349754, 0.845611035823822, -0.5745109915733337, 1.1427550315856934, 0.6370111703872681, 0.9461133480072021, 0.1371699422597885, 0.3550092577934265, 0.4903417229652405, -0.2497365027666092, -1.1644560098648071, -0.4001005291938782, -1.1965800523757935, -2.7006258964538574, 0.39075392484664917, -0.39692986011505127, -1.500266194343567, 0.13060854375362396, -1.1628113985061646, 0.918817937374115, -0.6358639597892761, -1.0265058279037476, -1.4349921941757202, 0.1289096623659134, 0.03526835888624191, 0.7775502800941467, -1.6980912685394287, -0.04847370833158493, 1.335523009300232, 1.065992832183838, -0.6360502243041992, 0.9807183742523193, 0.3435056507587433, 1.0885543823242188, 0.844494104385376, -0.3806535005569458, 0.6412199139595032, -0.2150166928768158, -1.3691482543945312, 0.5475543737411499, 1.3480050563812256, 0.03714820742607117, 1.5184204578399658, -0.5253199934959412, -0.015503788366913795, 0.5817312598228455, -0.7611741423606873, -0.715045154094696, -0.4146070182323456, 0.7307299971580505, 0.049162864685058594, -0.9910228848457336, -0.08727096766233444, -0.08792150765657425, -0.23038025200366974, 0.16394907236099243, -1.515076994895935, -0.2410922348499298, -0.3832551836967468, -0.6314573884010315, -1.3568198680877686, -0.08160709589719772, 1.3042323589324951, -0.7084529995918274, -0.2676481604576111, 0.5148859024047852, 0.14450186491012573, 0.5243488550186157, 0.5303259491920471, -0.7618275284767151, -0.23631201684474945, -0.39149242639541626, -0.36612915992736816, 0.4429975152015686, 1.4498562812805176, -0.1981126219034195, -0.8870019316673279, 0.6617420315742493, -0.3356168568134308, 0.08414583653211594, 1.8770995140075684, 0.07855625450611115, -0.7422139048576355, 0.309231162071228, -0.792255163192749, 1.9205926656723022, 1.5863604545593262, 1.2755320072174072, 0.05306398868560791, -0.9506367444992065, 0.6084556579589844, -0.3584602475166321, -0.47424575686454773, 0.7581232190132141, 0.2147466242313385, -0.2597522735595703, -1.314487099647522, 0.7116098999977112, 1.2489782571792603, -0.910323441028595, -0.7742509841918945, 0.10471493750810623, -0.9171477556228638, 1.1525092124938965, 0.669975757598877, 0.3769969046115875, 0.3538196384906769, 1.5040396451950073, 0.7665783166885376, -0.3872007131576538, 0.44132277369499207, 0.5447348356246948, -0.06908643990755081, -2.1014695167541504, -1.0401779413223267, 0.4327755868434906, -0.594341516494751, -1.4937835931777954, 1.3371078968048096, -1.0631612539291382, -1.0818367004394531, 0.5022197365760803, 0.219801127910614, 1.4561896324157715, 0.40636780858039856, 1.6945379972457886, 1.9424681663513184, 0.9581267833709717, 0.25540265440940857, 1.2369837760925293, -0.17533545196056366, -0.37567126750946045, 1.8467129468917847, -0.4234160780906677, 0.5018684267997742, 1.000154972076416, -0.25916725397109985, -1.1136887073516846, -0.8413386940956116, -1.2624531984329224, -0.7724400162696838, 1.1721234321594238, 0.16497625410556793, -1.1833137273788452, 0.11028890311717987, 1.4608286619186401, 0.054429709911346436, -0.24403294920921326, 0.7164533138275146, 0.40928056836128235, -0.8648825287818909, 0.03581278771162033, -0.9235403537750244, 0.4594872295856476, -0.19086678326129913, -0.4172532260417938, 0.23019641637802124, 0.6195842623710632, 1.2446871995925903, -0.2180631011724472, 0.12641003727912903, 1.1047823429107666, -1.5360127687454224, 1.5527642965316772, -0.8481503129005432, 0.23228809237480164, -2.40539813041687, 1.4705495834350586, -0.7584713697433472, 1.7493799924850464, -2.8169615268707275, 0.6972732543945312, -0.4102930426597595, -0.5648361444473267, 0.3369046151638031, -0.35462576150894165, 0.14036200940608978, -0.08841601014137268, -1.083634376525879, 0.051251426339149475, -0.6933512091636658, 0.5588681697845459, 1.0089879035949707, 1.3811094760894775, -1.2668681144714355, -0.29840660095214844, -1.7592588663101196, -0.15749050676822662, -0.7017620205879211, 0.3600478768348694, -2.0629289150238037, -0.3209370970726013, -1.8981378078460693, -2.2883403301239014, -1.1585643291473389, -0.690333366394043, 1.1908595561981201, 0.19631949067115784, -0.839159369468689, 1.1713932752609253, -0.4509592354297638, -1.9935834407806396, 1.144428014755249, -2.1778430938720703 ]
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
Hmmm, does this mean that any person who downloads the common voice dataset will be logged as "[email protected]"? If so, it would defeat the purpose of sending the user's email to the commonvoice API, right?
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
784
35
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 Hmmm, does this mean that any person who downloads the common voice dataset will be logged as "[email protected]"? If so, it would defeat the purpose of sending the user's email to the commonvoice API, right?
[ -1.1798732280731201, -0.8988196849822998, -0.8567182421684265, 1.3381855487823486, -0.30239957571029663, -1.2438856363296509, 0.25395408272743225, -0.9389435648918152, 1.6396989822387695, -0.8031424283981323, 0.21104001998901367, -1.68927001953125, -0.1473846435546875, -0.530651330947876, -0.6420790553092957, -0.9463697075843811, -0.41199856996536255, -0.7341820001602173, 0.9637562036514282, 2.46775484085083, 1.136217713356018, -1.2067275047302246, 2.7663204669952393, 0.5559556484222412, -0.22453388571739197, -1.0271883010864258, 0.4616328179836273, 0.05263734608888626, -1.0796349048614502, -0.6127659678459167, -1.1336482763290405, 0.012392040342092514, -0.4570888578891754, -0.3698565363883972, 0.00885884277522564, 0.39904627203941345, -0.22936227917671204, -0.3687509298324585, -0.48943519592285156, -0.7730745673179626, 0.2986917197704315, -0.3439280390739441, 0.9447581171989441, -0.5934954285621643, 1.9178900718688965, -0.5528969168663025, 0.27992403507232666, 0.7388548851013184, 1.2696528434753418, 0.23735147714614868, 0.02613784745335579, 0.14180347323417664, 0.3580290675163269, -0.1930561363697052, 0.7056993246078491, 1.225227952003479, 0.4368308186531067, 0.7641761898994446, 0.574114978313446, -2.1750683784484863, 1.322823166847229, -1.0664665699005127, 0.25318214297294617, 1.6250321865081787, -1.0416146516799927, 0.4607551693916321, -1.820427656173706, -0.028390390798449516, 0.5065168738365173, -2.3292267322540283, 0.26272666454315186, -1.186146855354309, -0.5276210904121399, 0.8736957311630249, 0.4924592673778534, -1.257735013961792, 0.15373578667640686, -0.20049428939819336, 1.039064645767212, 0.42180776596069336, 1.2295451164245605, -1.524031639099121, 0.16892144083976746, -0.33908385038375854, 0.11693302541971207, -1.3645317554473877, -1.575855016708374, 0.5219489932060242, 0.5491769313812256, 0.5817629098892212, -0.0675697922706604, 0.895986020565033, -0.9263626933097839, 0.8895748257637024, -0.8720429539680481, -1.5594679117202759, -1.323259711265564, -2.3842875957489014, -2.4066379070281982, 0.8873393535614014, -0.42387011647224426, -0.5761356949806213, 1.9038013219833374, -1.082960605621338, -1.6898096799850464, 1.1981956958770752, 0.18372651934623718, 0.09085026383399963, 2.5937180519104004, 0.27633726596832275, -0.611454427242279, 0.39036300778388977, -0.7660706639289856, 1.0637542009353638, -0.46672502160072327, 1.5423320531845093, 0.6189619302749634, -1.0149444341659546, 1.780368685722351, -0.5384126305580139, 0.5653069615364075, -0.4898795485496521, -0.6460434198379517, -0.9106966853141785, 0.269550621509552, 1.8590621948242188, -0.2538662254810333, 1.576141357421875, -0.4272370934486389, -1.5682921409606934, -1.6451075077056885, 0.9292228817939758, 0.4098978340625763, -0.8727008700370789, 0.12209754437208176, -0.3978801965713501, 0.0811009556055069, -0.010339307598769665, 1.1657936573028564, 1.3976776599884033, 0.5987271666526794, -0.29269346594810486, -0.770210325717926, 0.12503424286842346, -0.06546942889690399, -0.6890109777450562, -1.7105803489685059, -0.24068796634674072, 0.14040932059288025, 0.6086269617080688, -1.1743379831314087, 1.719385027885437, 0.8707273006439209, 1.8532062768936157, 0.9158355593681335, -0.3223923444747925, 1.4047996997833252, -0.004785710480064154, 1.7144134044647217, -0.547156572341919, 0.5992834568023682, -0.20354211330413818, -1.205027461051941, 0.8761839270591736, -0.35329240560531616, -2.074937105178833, -0.9463509321212769, -0.8300237655639648, -0.1975151002407074, -0.6765300035476685, 0.9378423094749451, -0.37642431259155273, -1.4636073112487793, 0.18045485019683838, -0.49239078164100647, 0.16486099362373352, -1.3595621585845947, 0.39450520277023315, 0.7815248966217041, -0.6914202570915222, -0.10383094847202301, -0.11176750808954239, -1.2639228105545044, -0.42223015427589417, 0.24871039390563965, 2.087700605392456, -0.6549850106239319, 0.923944354057312, 0.9920995235443115, -0.7716864943504333, 0.06115248054265976, 0.3365265727043152, -0.238183856010437, 0.6941982507705688, -1.0028703212738037, -0.5035977363586426, 1.1649001836776733, -0.21170663833618164, -0.6486021280288696, 1.5621006488800049, 0.8481901288032532, -1.0449780225753784, -0.14389711618423462, -0.33173662424087524, -0.7806259393692017, -0.06680496037006378, -1.5238488912582397, -0.197331041097641, 0.17158612608909607, -1.4349784851074219, -0.5787156224250793, -0.24910083413124084, 1.4024982452392578, -0.18183690309524536, 1.3127480745315552, -0.3026079535484314, -0.31314659118652344, -0.2677845060825348, -0.566361665725708, 0.3349458575248718, -0.19350510835647583, -0.6310753226280212, 0.2993112802505493, -0.8291605114936829, 0.2531570792198181, 1.508705496788025, 0.33608800172805786, 0.038030900061130524, 0.5304421186447144, 1.0362107753753662, 0.3041588366031647, 0.02486073598265648, -0.9822709560394287, -1.415233850479126, 1.905759572982788, -1.3407580852508545, 1.9193425178527832, 0.6711240410804749, -0.08084048330783844, -1.715601921081543, -1.8693466186523438, 1.2838653326034546, 1.2976840734481812, 2.2287354469299316, 0.5352773070335388, 0.23678579926490784, -0.7640519142150879, -0.8598660230636597, 0.22727632522583008, -1.0104303359985352, -0.7302610874176025, 0.124515600502491, 2.199451446533203, 1.6546688079833984, -0.5291711091995239, -0.23555436730384827, -1.1550261974334717, 1.119172215461731, -0.14265096187591553, 0.24049001932144165, 1.9573713541030884, -0.47638875246047974, -1.0870881080627441, 1.2081706523895264, -2.4279942512512207, 0.17162099480628967, 2.1115100383758545, 0.2433471381664276, 0.09092266857624054, -1.6142340898513794, -0.7934893369674683, -0.20785179734230042, -0.47823452949523926, -1.3910890817642212, 0.6868410706520081, -0.2979971468448639, -0.8573557734489441, -1.399244785308838, 0.06565625965595245, -1.1190398931503296, -1.4503999948501587, 0.5339182019233704, 1.9305901527404785, 2.0261383056640625, -0.7295978665351868, 1.3606338500976562, -0.14579597115516663, 0.041853807866573334, 1.4587597846984863, 1.1613188982009888, 3.0863802433013916, 2.0698721408843994, -1.2732017040252686, 0.7358181476593018, -0.24900078773498535, -0.5052177309989929, 1.2125701904296875, -1.0581035614013672, 1.247806429862976, -0.25783848762512207, -1.1709023714065552, -1.3562685251235962, 0.8980931639671326, 0.3919907510280609, 0.0660676583647728, -0.3792368769645691, 1.410683274269104, 0.10556246340274811, 1.3402621746063232, 0.5933482050895691, -0.4675249457359314, 0.4304999113082886, -0.4966663718223572, -0.44946911931037903, 1.77505624294281, 0.10221974551677704, -1.5620877742767334, -2.195369005203247, -0.1932893693447113, -0.8383716344833374, -0.007781099993735552, -0.5293676257133484, -1.1175689697265625, 1.7347726821899414, 0.464165061712265, -1.0739858150482178, -0.36848071217536926, -0.3989257216453552, -0.4073784351348877, 2.6353201866149902, -1.5301380157470703, -0.16266676783561707, -0.9058993458747864, -0.4724681079387665, 1.7457997798919678, -1.2014236450195312, -0.14932066202163696, -0.9708579778671265, -0.6506870985031128, -1.269106149673462, -0.4389004111289978, 0.015533562749624252, -0.9093560576438904, 0.7914983034133911, 0.1582297384738922, -1.0826221704483032, -0.3648722469806671, -0.9311422109603882, 0.9011962413787842, -0.13126251101493835, 0.3439714312553406, 1.8869755268096924, 0.2870734930038452, -0.5450839996337891, 0.680972695350647, 1.1380524635314941, 0.6136948466300964, -0.5406354069709778, 0.07990715652704239, -0.6212725639343262, 0.4109703600406647, -1.246185302734375, 0.06294960528612137, -3.057692050933838, 0.5981168746948242, -0.19612881541252136, -0.10663656890392303, -0.14816489815711975, -1.322838306427002, 1.158965826034546, 2.387742519378662, -1.123752474784851, 0.4306198060512543, 0.2768859267234802, 1.217063069343567, -1.531250238418579, 0.3904515206813812, -0.5620546936988831, 2.0244851112365723, 0.1740226447582245, 1.0870708227157593, -0.4602666199207306, -2.160304307937622, 0.5872961282730103, -1.1987848281860352, -1.0513957738876343, 0.8851969242095947, -0.828230082988739, 0.036161139607429504, -1.413585901260376, -0.23536130785942078, -0.8511785864830017, -1.3002368211746216, 0.815000057220459, 0.20566508173942566, 0.49897411465644836, -0.5675248503684998, 0.3065447509288788, -2.21716570854187, -1.5330758094787598, -0.2253440022468567, -0.9622393846511841, 0.5483658909797668, -0.3807748556137085, 0.6019566059112549, -0.11432433873414993, 0.18362748622894287, 0.28838926553726196, 1.432192325592041, 3.237888813018799, 0.09773928672075272, 0.39394819736480713, -0.1834096610546112, -0.9715563654899597, 1.5181647539138794, 1.0895493030548096, 0.1437530517578125, -0.6084203720092773, -0.8815141916275024, 1.2700716257095337, 1.8673115968704224, 1.0713236331939697, 0.004463987424969673, -0.8076192140579224, -0.46303659677505493, -0.02786361053586006, 0.28833264112472534, 0.4172549247741699, 0.9790820479393005, -0.1764076054096222, 0.07653797417879105, 1.3262056112289429, 1.2765262126922607, -0.3733910918235779, 0.4041843116283417, -0.8883585929870605, -0.3610915243625641, 0.44586825370788574, 0.28170979022979736, -0.10515259206295013, 0.4690052568912506, -0.8985052108764648, -0.2969019412994385, -0.08943602442741394, -0.9890636801719666, -0.8185492753982544, -0.38831356167793274, -0.45064789056777954, 1.5023391246795654, 0.18198829889297485, -0.6184678673744202, -0.10800342261791229, -0.764896035194397, -0.16794639825820923, -1.1038703918457031, 0.1458640992641449, -0.1150529757142067, -0.10953837633132935, -0.2586444616317749, 1.8189408779144287, -1.0111808776855469, -2.2103235721588135, 0.15885397791862488, 0.5049644112586975, -0.31564196944236755, 0.19285964965820312, 1.5656399726867676, 0.27662357687950134, 1.4500420093536377, 1.3151990175247192, 0.9743225574493408, -0.4950551390647888, -1.2552096843719482, 0.7204464077949524, 0.9623755216598511, -1.3850393295288086, 0.8858222961425781, -0.11191365867853165, -0.47815442085266113, 0.7546578645706177, 1.179721474647522, 0.41615569591522217, -1.791951060295105, 0.8681803941726685, -0.9727058410644531, 0.8576676845550537, 0.646167516708374, 0.9689108729362488, 0.3664686679840088, 0.9952257871627808, -1.2153226137161255, -1.2436997890472412, -0.6900522112846375, -0.615619957447052, 1.9117892980575562, -0.2669915556907654, 0.6913551688194275, -0.23757630586624146, -1.0846816301345825, -0.27053478360176086, 0.8738681077957153, 0.3597263991832733, -0.3079740107059479, 0.7556266188621521, -0.6079133749008179, -1.0130376815795898, -1.3571581840515137, -0.444275438785553, -1.006128191947937, -0.7919629216194153, 1.1200377941131592, 0.7757631540298462, 0.3867429196834564, 1.9366909265518188, 0.4402239918708801, 0.39118102192878723, -2.5873970985412598, 0.8415977358818054, 0.3242011070251465, 0.035817258059978485, 0.9294424057006836, 0.29079246520996094, 1.2111855745315552, -0.02447178214788437, 0.488089382648468, -2.2848165035247803, 2.28951096534729, -0.30208200216293335, 0.8280093669891357, -0.020032616332173347, -0.0024473993107676506, 1.1149548292160034, 0.5113266706466675, 0.5990453958511353, -1.1183565855026245, 0.6965569257736206, -0.5160756707191467, 1.214247465133667, 1.082633137702942, -0.8250422477722168, 0.00634920597076416, 1.3905131816864014, 0.4255582094192505, -0.3109554946422577, -0.78916996717453, -0.8563557863235474, 0.9175115823745728, 1.6778191328048706, 0.05279035493731499, 0.17155534029006958, 0.905441164970398, 0.527026355266571, -1.2229257822036743, -0.0007033636793494225, -0.772373378276825, -0.6732940673828125, 1.7157946825027466, 1.9999949932098389, -0.10018248111009598, -0.03760097920894623, -0.7567165493965149, -1.2050002813339233, 0.6844072341918945, 0.0010518860071897507, 0.1438911259174347, 0.7609187364578247, -0.6287209391593933, 1.1936907768249512, 0.5964928865432739, 0.8930712938308716, 0.07712747156620026, 0.475913405418396, 0.573218822479248, -0.1723160743713379, -1.156851053237915, -0.409138560295105, -1.1767566204071045, -2.646568775177002, 0.3672826588153839, -0.6076139211654663, -1.447402834892273, 0.05163147300481796, -1.0936635732650757, 0.9311690926551819, -0.5723726749420166, -1.0636732578277588, -1.6271908283233643, 0.15695801377296448, -0.048440881073474884, 0.8126541376113892, -1.6191622018814087, -0.20651552081108093, 1.2835966348648071, 0.8814211487770081, -0.6648196578025818, 0.9923202991485596, 0.43760910630226135, 0.9361565709114075, 0.623245120048523, -0.4314597547054291, 0.473837673664093, -0.07387038320302963, -1.3836268186569214, 0.5427910089492798, 1.3523600101470947, -0.028672490268945694, 1.498801827430725, -0.5521570444107056, -0.06391293555498123, 0.5319977402687073, -0.6385473608970642, -0.6356673836708069, -0.38967394828796387, 0.6780674457550049, 0.019072160124778748, -0.9324357509613037, 0.030425548553466797, -0.11758750677108765, -0.28473713994026184, 0.1456957757472992, -1.4489914178848267, -0.3554169833660126, -0.5638141632080078, -0.5643082857131958, -1.543004035949707, 0.09891465306282043, 1.300371527671814, -0.6586023569107056, -0.26865410804748535, 0.5274847149848938, 0.4277489483356476, 0.593011200428009, 0.5366541147232056, -0.6715227365493774, -0.16141656041145325, -0.4767482876777649, -0.2564355432987213, 0.30994734168052673, 1.2899024486541748, -0.3563072085380554, -1.1123311519622803, 0.6522452235221863, -0.37102338671684265, -0.025530830025672913, 2.049048900604248, 0.09039631485939026, -0.6852044463157654, 0.37687018513679504, -0.6617425680160522, 1.8814295530319214, 1.5234243869781494, 1.3264762163162231, -0.05105480179190636, -0.7163113951683044, 0.6251131892204285, -0.26230108737945557, -0.3499126136302948, 0.8034083843231201, 0.3771494925022125, -0.2197507917881012, -1.4776134490966797, 0.5222318768501282, 1.2045352458953857, -0.9468583464622498, -0.7243363857269287, 0.05231020599603653, -0.8512917757034302, 1.093834400177002, 0.6704656481742859, 0.5386941432952881, 0.311835378408432, 1.5867528915405273, 0.5868207812309265, -0.5421875715255737, 0.4211486577987671, 0.5533494353294373, -0.05337805300951004, -2.1331229209899902, -0.9728256464004517, 0.3265911936759949, -0.471102237701416, -1.3986743688583374, 1.4334096908569336, -1.0296618938446045, -1.103140950202942, 0.45595499873161316, 0.15257027745246887, 1.4415123462677002, 0.3153103291988373, 1.6354258060455322, 2.0388193130493164, 0.9930474758148193, 0.38273555040359497, 1.2657142877578735, -0.21425622701644897, -0.32249030470848083, 1.9906494617462158, -0.3857841193675995, 0.504669189453125, 1.1310197114944458, -0.29364684224128723, -0.9088531732559204, -0.6680553555488586, -1.0984795093536377, -0.6682496666908264, 1.1876418590545654, 0.067161425948143, -1.0688987970352173, 0.1713278889656067, 1.392342448234558, 0.08662736415863037, -0.33333802223205566, 0.6030036807060242, 0.5757042765617371, -0.8004588484764099, -0.08061052858829498, -0.9971457123756409, 0.41465914249420166, -0.39237669110298157, -0.40784797072410583, 0.3054164946079254, 0.5487765073776245, 1.257645845413208, -0.23714566230773926, 0.20873969793319702, 1.2467371225357056, -1.4171507358551025, 1.4943747520446777, -0.5996832847595215, 0.15839189291000366, -2.44680118560791, 1.4604769945144653, -0.6725422143936157, 1.780611276626587, -2.8152546882629395, 0.5701066851615906, -0.5267359614372253, -0.47192442417144775, 0.5197724103927612, -0.3792268633842468, 0.08043418824672699, -0.17148014903068542, -1.0275217294692993, 0.130339115858078, -0.690511167049408, 0.520486056804657, 1.0565272569656372, 1.3798638582229614, -1.1757409572601318, -0.31090840697288513, -1.6793911457061768, -0.300634503364563, -0.809139609336853, 0.3687496781349182, -2.1435015201568604, -0.24944660067558289, -1.966995120048523, -2.2980425357818604, -1.3337836265563965, -0.7527906894683838, 1.2464497089385986, 0.2333810031414032, -1.0409528017044067, 1.1853445768356323, -0.3594449758529663, -1.9583336114883423, 1.0778708457946777, -2.005500078201294 ]
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
I agree with @severo: we cannot set our system email as default, allowing anybody not authenticated to by-pass the Common Voice usage policy. Additionally, looking at the code, I think we should implement a more robust way to send user email to Common Voice: currently anybody can tweak the script and send somebody else email instead. CC: @patrickvonplaten @lhoestq @SBrandeis @julien-c
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
784
61
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 I agree with @severo: we cannot set our system email as default, allowing anybody not authenticated to by-pass the Common Voice usage policy. Additionally, looking at the code, I think we should implement a more robust way to send user email to Common Voice: currently anybody can tweak the script and send somebody else email instead. CC: @patrickvonplaten @lhoestq @SBrandeis @julien-c
[ -1.2335363626480103, -0.9291971921920776, -0.869835376739502, 1.4163774251937866, -0.26672524213790894, -1.1978232860565186, 0.18036575615406036, -1.160589575767517, 1.472348690032959, -0.6902516484260559, 0.19827304780483246, -1.5355589389801025, -0.05862981826066971, -0.5846160054206848, -0.6948621869087219, -0.8495399355888367, -0.47189345955848694, -0.6957321166992188, 1.0696892738342285, 2.4722397327423096, 1.2647231817245483, -1.2899526357650757, 2.789246082305908, 0.6137358546257019, -0.16564300656318665, -1.1237744092941284, 0.48500216007232666, -0.054769016802310944, -1.1854779720306396, -0.49582570791244507, -0.957902193069458, -0.061985962092876434, -0.6626111268997192, -0.3957594037055969, -0.04408012330532074, 0.3693823218345642, -0.18741793930530548, -0.3325393795967102, -0.5076894164085388, -0.7417876124382019, 0.5611448287963867, -0.3670347034931183, 0.8436006307601929, -0.3914387822151184, 1.901772141456604, -0.6395500898361206, 0.3981642723083496, 0.6099912524223328, 1.4651867151260376, 0.1795019805431366, 0.0009146882221102715, 0.2875528037548065, 0.33856749534606934, -0.11524006724357605, 0.5336394309997559, 1.10811448097229, 0.5387328267097473, 0.6262218952178955, 0.619199275970459, -2.1397101879119873, 1.223822832107544, -0.8813027143478394, 0.3537153899669647, 1.4112794399261475, -1.0280112028121948, 0.31195852160453796, -1.7078362703323364, -0.1877412647008896, 0.4915269613265991, -2.2860348224639893, 0.21712900698184967, -1.0923887491226196, -0.6272920370101929, 0.918655514717102, 0.4239530563354492, -1.3693674802780151, 0.049567706882953644, -0.3781227767467499, 0.9818800687789917, 0.3798142373561859, 1.1811869144439697, -1.6198883056640625, 0.14946945011615753, -0.4175379276275635, 0.06692615896463394, -1.3484435081481934, -1.5410797595977783, 0.432446151971817, 0.3865692615509033, 0.6753843426704407, -0.09567973762750626, 0.7820239663124084, -0.8921703696250916, 0.8846025466918945, -0.9990590214729309, -1.5761533975601196, -1.4401458501815796, -2.4448583126068115, -2.2822513580322266, 0.758070707321167, -0.4345773458480835, -0.5709096789360046, 1.923911690711975, -0.9832091927528381, -1.8310812711715698, 1.1855891942977905, 0.2204749584197998, 0.08811334520578384, 2.4592301845550537, 0.205507293343544, -0.6239571571350098, 0.5505943894386292, -0.8567458987236023, 0.9604187607765198, -0.3182147741317749, 1.4923256635665894, 0.45751115679740906, -0.9686424732208252, 1.7533937692642212, -0.4752456545829773, 0.6268536448478699, -0.6992150545120239, -0.5982722043991089, -0.8693647384643555, 0.21628646552562714, 1.9710074663162231, -0.18239113688468933, 1.5907589197158813, -0.3036304712295532, -1.5511443614959717, -1.4842462539672852, 0.9155005216598511, 0.4864223003387451, -0.8075628876686096, 0.07254258543252945, -0.4000965654850006, -0.03626105934381485, 0.10506319254636765, 0.9912341833114624, 1.288772463798523, 0.6061263680458069, -0.2803370952606201, -0.9242076873779297, 0.15555354952812195, 0.01851673796772957, -0.7042651772499084, -1.747113823890686, -0.21748414635658264, 0.024892879649996758, 0.6614070534706116, -1.2151931524276733, 1.6892677545547485, 0.9731759428977966, 1.9977601766586304, 0.9013245701789856, -0.25392475724220276, 1.376673936843872, -0.03291036933660507, 1.7146598100662231, -0.43117597699165344, 0.6795920729637146, -0.29815924167633057, -1.1875897645950317, 0.8472167253494263, -0.43880102038383484, -2.0548205375671387, -0.8852695226669312, -0.8849007487297058, -0.23242755234241486, -0.8170782923698425, 1.0468509197235107, -0.32456254959106445, -1.3532720804214478, 0.24621540307998657, -0.61313396692276, 0.21758760511875153, -1.3503787517547607, 0.38613709807395935, 0.7502888441085815, -0.7392485737800598, 0.018371619284152985, -0.17472057044506073, -1.2316592931747437, -0.5333209037780762, 0.3317131996154785, 2.000075578689575, -0.672809898853302, 0.8311048746109009, 0.963448703289032, -0.6435073018074036, 0.05730626732110977, 0.34238195419311523, -0.3014431595802307, 0.7545668482780457, -1.0781598091125488, -0.43044254183769226, 1.078446626663208, -0.20095457136631012, -0.6147023439407349, 1.5595159530639648, 0.8257304430007935, -0.9896194338798523, -0.12411190569400787, -0.15951119363307953, -0.8597347140312195, -0.10155708342790604, -1.6235346794128418, -0.10427956283092499, 0.09466768056154251, -1.5980660915374756, -0.5437273383140564, -0.1706194281578064, 1.3915925025939941, -0.13756367564201355, 1.4533251523971558, -0.3226401209831238, -0.09276866167783737, -0.31960776448249817, -0.4962219297885895, 0.25804656744003296, -0.054936282336711884, -0.563249409198761, 0.36145371198654175, -0.7936417460441589, 0.3133234679698944, 1.60686194896698, 0.28732776641845703, 0.19142398238182068, 0.40713050961494446, 0.9771288633346558, 0.334805428981781, -0.03706827014684677, -0.8191279172897339, -1.6233054399490356, 2.028144598007202, -1.4465935230255127, 2.027660369873047, 0.7336330413818359, -0.09628009051084518, -1.8150380849838257, -1.834241271018982, 1.3298423290252686, 1.1973402500152588, 2.289161443710327, 0.566471517086029, 0.27305862307548523, -0.7736706137657166, -0.635367751121521, 0.22467146813869476, -0.9973700046539307, -0.8563388586044312, 0.13236190378665924, 2.281902313232422, 1.6544313430786133, -0.470821350812912, -0.12879997491836548, -1.0336766242980957, 1.2144430875778198, -0.21305134892463684, 0.2634216248989105, 1.959120273590088, -0.2770523130893707, -1.1784589290618896, 1.2808797359466553, -2.3924612998962402, 0.15059234201908112, 2.1146316528320312, 0.336541086435318, 0.15870387852191925, -1.3566378355026245, -0.7251788377761841, -0.19151528179645538, -0.44313451647758484, -1.3605600595474243, 0.5560877323150635, -0.26035162806510925, -0.9128096699714661, -1.367453932762146, 0.19176526367664337, -1.173913836479187, -1.5945230722427368, 0.5266510844230652, 1.879403829574585, 2.079749584197998, -0.7666729688644409, 1.4351714849472046, -0.20197412371635437, 0.1702875792980194, 1.3059920072555542, 1.1090607643127441, 3.062307119369507, 1.9779341220855713, -1.2405332326889038, 0.7967328429222107, -0.2664746344089508, -0.5603815317153931, 1.2135567665100098, -1.0787184238433838, 1.3163719177246094, -0.34653013944625854, -1.168792486190796, -1.368796944618225, 0.9174324870109558, 0.4372583031654358, 0.0715692862868309, -0.4092162847518921, 1.2520991563796997, 0.10544928163290024, 1.3129721879959106, 0.47198566794395447, -0.35782116651535034, 0.5203611850738525, -0.4421216547489166, -0.563921332359314, 1.7235018014907837, 0.20656350255012512, -1.6134672164916992, -2.36673903465271, -0.11950772255659103, -0.84718257188797, -0.10062538087368011, -0.5337699055671692, -1.0906274318695068, 1.571885347366333, 0.44468528032302856, -1.0788326263427734, -0.2647397220134735, -0.2844293415546417, -0.5044847726821899, 2.6757335662841797, -1.5067507028579712, -0.30724790692329407, -0.878982663154602, -0.570813000202179, 1.6808744668960571, -1.205411434173584, -0.2509651184082031, -1.0656954050064087, -0.6521198153495789, -1.1622368097305298, -0.4830205738544464, 0.0825401172041893, -0.9738228917121887, 0.7502872347831726, 0.14429321885108948, -1.1029349565505981, -0.33704495429992676, -0.9348970651626587, 0.9266362190246582, -0.06662748754024506, 0.2926101088523865, 1.7590723037719727, 0.19038429856300354, -0.46540504693984985, 0.7804834246635437, 1.23516845703125, 0.5621923804283142, -0.7537822127342224, 0.11302272975444794, -0.6233791708946228, 0.38535594940185547, -1.2403781414031982, 0.2496143877506256, -2.9511358737945557, 0.654592752456665, -0.06873522698879242, -0.12555234134197235, -0.14677490293979645, -1.4322025775909424, 1.212211012840271, 2.585052251815796, -1.0964747667312622, 0.5330259203910828, 0.2777661979198456, 1.2370885610580444, -1.483001708984375, 0.24999549984931946, -0.5602001547813416, 2.140366792678833, 0.17992548644542694, 1.164140224456787, -0.4490680396556854, -2.3447859287261963, 0.7061001658439636, -1.2448103427886963, -1.1829819679260254, 0.7270007729530334, -0.8050283789634705, 0.021831344813108444, -1.3383255004882812, -0.1763964593410492, -0.9351018667221069, -1.2722088098526, 0.6242442727088928, 0.30550873279571533, 0.5590912699699402, -0.6982367038726807, 0.29092660546302795, -2.2142608165740967, -1.4351004362106323, -0.1491527110338211, -0.9332693219184875, 0.38413500785827637, -0.43496468663215637, 0.6128214597702026, -0.2723386287689209, 0.15262511372566223, 0.4019336402416229, 1.447332739830017, 3.4320101737976074, 0.08790047466754913, 0.4170284867286682, -0.18598295748233795, -0.8725261092185974, 1.620352029800415, 1.1069269180297852, 0.019655710086226463, -0.631050169467926, -0.889248788356781, 1.2346857786178589, 1.9461742639541626, 0.9912246465682983, -0.02176511473953724, -0.7952265739440918, -0.4584991931915283, -0.03243064135313034, 0.3398880064487457, 0.43121442198753357, 1.0079455375671387, -0.05766182392835617, 0.013862702995538712, 1.3127532005310059, 1.2879436016082764, -0.45364418625831604, 0.41067570447921753, -0.9416324496269226, -0.348396360874176, 0.40743952989578247, 0.40849924087524414, -0.02142157405614853, 0.48150527477264404, -0.9421654939651489, -0.29129019379615784, -0.19697432219982147, -0.9700278639793396, -0.8130336403846741, -0.3525061011314392, -0.5254140496253967, 1.6421066522598267, 0.054429151117801666, -0.5331912040710449, -0.02395499497652054, -0.7679104208946228, 0.00745132751762867, -1.0529074668884277, 0.19192400574684143, -0.04348202794790268, -0.06214727461338043, -0.24717049300670624, 1.8104190826416016, -1.0661219358444214, -2.2514777183532715, 0.25580090284347534, 0.4349385201931, -0.2927432656288147, 0.1948837786912918, 1.6342482566833496, 0.39715340733528137, 1.4726574420928955, 1.3803832530975342, 1.0715103149414062, -0.4917331635951996, -1.285880208015442, 0.7792473435401917, 0.9990487098693848, -1.3911328315734863, 0.7779533863067627, -0.07571423053741455, -0.497662216424942, 0.71220862865448, 1.1688084602355957, 0.4394686222076416, -1.922268033027649, 0.8739821910858154, -0.9565591216087341, 0.9459158182144165, 0.721862256526947, 0.836449921131134, 0.35225680470466614, 0.9169466495513916, -1.1301406621932983, -1.1252766847610474, -0.7069481015205383, -0.6747768521308899, 1.9391332864761353, -0.32044991850852966, 0.53755784034729, -0.24076561629772186, -1.1029961109161377, -0.11859673261642456, 0.6556544899940491, 0.25185877084732056, -0.410746693611145, 0.7482450008392334, -0.7084912657737732, -1.1336499452590942, -1.2132624387741089, -0.4247839152812958, -0.9915120601654053, -0.9248425364494324, 1.00099778175354, 0.6971595287322998, 0.40605202317237854, 2.0382938385009766, 0.546186625957489, 0.36101287603378296, -2.5875768661499023, 0.9074356555938721, 0.3711308240890503, 0.06786032021045685, 0.8740675449371338, 0.23450136184692383, 1.0771541595458984, 0.08736827224493027, 0.5022063851356506, -2.2703113555908203, 2.3115506172180176, -0.1968662440776825, 0.6916605234146118, 0.04353238642215729, -0.045265160501003265, 1.0962436199188232, 0.6453221440315247, 0.44602376222610474, -1.070761799812317, 0.8106679320335388, -0.670518696308136, 1.2839127779006958, 1.0026752948760986, -0.8858130574226379, -0.0295755323022604, 1.2771074771881104, 0.415531724691391, -0.41208741068840027, -0.8455018401145935, -0.8302359580993652, 0.9250689148902893, 1.7210781574249268, 0.043046750128269196, 0.1285010278224945, 0.791596531867981, 0.5909690856933594, -1.2522976398468018, -0.039108313620090485, -0.7697107791900635, -0.8477798700332642, 1.6218684911727905, 1.9063317775726318, -0.0687105655670166, -0.07813065499067307, -0.7673868536949158, -1.4164198637008667, 0.8958474397659302, -0.07228386402130127, 0.16908766329288483, 0.5261110067367554, -0.6097657084465027, 1.122336506843567, 0.7844886779785156, 0.8774201273918152, 0.0593312606215477, 0.33193477988243103, 0.4376510679721832, -0.1961992383003235, -1.0955818891525269, -0.3149115741252899, -1.1288337707519531, -2.553149938583374, 0.36305487155914307, -0.47805139422416687, -1.4275834560394287, 0.08255676925182343, -1.1088309288024902, 0.912039041519165, -0.5937305688858032, -0.9291077852249146, -1.5933456420898438, 0.22989404201507568, -0.1758134961128235, 0.7938827276229858, -1.5826627016067505, -0.002524535171687603, 1.2738388776779175, 0.8636794090270996, -0.7026891708374023, 1.1433759927749634, 0.37396836280822754, 0.9877627491950989, 0.7161823511123657, -0.41996899247169495, 0.490479975938797, 0.13485662639141083, -1.3175806999206543, 0.44137752056121826, 1.2483749389648438, 0.02138676866889, 1.4090181589126587, -0.5508716106414795, 0.04072798788547516, 0.5024986863136292, -0.6418906450271606, -0.5848730802536011, -0.6098559498786926, 0.7334527969360352, 0.10104169696569443, -0.9661468267440796, -0.055903129279613495, -0.22692351043224335, -0.24381157755851746, 0.2819163203239441, -1.5748918056488037, -0.30615153908729553, -0.5656026601791382, -0.48012158274650574, -1.4977439641952515, 0.08560770004987717, 1.4098620414733887, -0.6053838729858398, -0.2370159924030304, 0.43108293414115906, 0.3861338794231415, 0.5018637776374817, 0.6691484451293945, -0.705780029296875, -0.20480206608772278, -0.4397730827331543, -0.24336779117584229, 0.31312432885169983, 1.3174422979354858, -0.22378228604793549, -0.9997506141662598, 0.6932215094566345, -0.3557261824607849, 0.08923874795436859, 1.9369611740112305, 0.11411397904157639, -0.7192524075508118, 0.33000296354293823, -0.6469016075134277, 1.9483000040054321, 1.6417601108551025, 1.280860185623169, -0.03847982734441757, -0.8834825158119202, 0.6608540415763855, -0.285298615694046, -0.32197821140289307, 0.7554942965507507, 0.5402852892875671, -0.2863021492958069, -1.4774223566055298, 0.506284773349762, 1.2654178142547607, -0.7737546563148499, -0.80525803565979, -0.011974794790148735, -0.8799375891685486, 1.1527318954467773, 0.731280505657196, 0.5206975936889648, 0.21291813254356384, 1.4801034927368164, 0.5759960412979126, -0.546456515789032, 0.41925403475761414, 0.49478840827941895, -0.018475700169801712, -1.9913736581802368, -1.0352327823638916, 0.4194711744785309, -0.4789296090602875, -1.528844952583313, 1.4406522512435913, -1.1705288887023926, -1.0003328323364258, 0.45680418610572815, 0.08534108102321625, 1.3512974977493286, 0.3228837251663208, 1.68604576587677, 2.0225038528442383, 0.8850986957550049, 0.4042673110961914, 1.2740236520767212, -0.14734791219234467, -0.35229068994522095, 1.8280949592590332, -0.37357696890830994, 0.5953787565231323, 1.1740642786026, -0.2846015989780426, -0.9445856809616089, -0.7995492219924927, -1.0962077379226685, -0.7184612154960632, 1.0953762531280518, 0.22387182712554932, -1.1120964288711548, 0.09586715698242188, 1.6161233186721802, 0.09213295578956604, -0.22182658314704895, 0.5419615507125854, 0.3950881063938141, -0.8030593991279602, -0.11476553976535797, -1.0839266777038574, 0.5243743062019348, -0.3163164556026459, -0.46725180745124817, 0.3891136348247528, 0.509973406791687, 1.0829943418502808, -0.15052330493927002, 0.08632306009531021, 1.2255816459655762, -1.4671534299850464, 1.3980382680892944, -0.5917496681213379, 0.20902255177497864, -2.349769353866577, 1.3456436395645142, -0.6193879246711731, 1.889559268951416, -2.787980794906616, 0.4714602530002594, -0.6012194156646729, -0.47744953632354736, 0.5283051133155823, -0.36890241503715515, 0.20714475214481354, -0.17505045235157013, -1.0258253812789917, -0.00119053665548563, -0.6586072444915771, 0.48208263516426086, 1.090269923210144, 1.2697036266326904, -1.0540310144424438, -0.3084135353565216, -1.6553499698638916, -0.3069518804550171, -0.6795578002929688, 0.4247794449329376, -2.159636974334717, -0.29828861355781555, -1.9347171783447266, -2.213951587677002, -1.2261041402816772, -0.8327194452285767, 1.3177043199539185, 0.24812445044517517, -0.8659275770187378, 1.18448805809021, -0.44345739483833313, -1.77841055393219, 1.077672004699707, -2.13671612739563 ]
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
Hmm I don't agree here. Anybody can always just bypass the system by setting whatever email. As soon as someone has access to the downloading script it's trivial to tweak the code to not send the "correct" email but to just whatever and it would work. Note that someone only has visibility on the code after having "signed" the access-mechanism so I think we can expect the users to have agreed to not do anything malicious. I'm fine with both @lhoestq's solution or we find a way that forces the user to be logged in + being able to load the data for the datasets viewer. Wdyt @lhoestq @severo @albertvillanova ?
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
784
111
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 Hmm I don't agree here. Anybody can always just bypass the system by setting whatever email. As soon as someone has access to the downloading script it's trivial to tweak the code to not send the "correct" email but to just whatever and it would work. Note that someone only has visibility on the code after having "signed" the access-mechanism so I think we can expect the users to have agreed to not do anything malicious. I'm fine with both @lhoestq's solution or we find a way that forces the user to be logged in + being able to load the data for the datasets viewer. Wdyt @lhoestq @severo @albertvillanova ?
[ -1.2519738674163818, -0.9850327372550964, -0.8895928263664246, 1.4753422737121582, -0.22149433195590973, -1.2379735708236694, 0.08637411147356033, -1.1764535903930664, 1.5872831344604492, -0.833319902420044, 0.355084627866745, -1.6054915189743042, 0.036614298820495605, -0.45347562432289124, -0.7709965109825134, -0.9567436575889587, -0.3857756555080414, -0.803442656993866, 1.022890329360962, 2.541623115539551, 1.0510228872299194, -1.3816008567810059, 2.820564031600952, 0.604114830493927, -0.114731565117836, -1.0728868246078491, 0.5283539891242981, 0.017377091571688652, -1.2421391010284424, -0.5103166103363037, -0.9337584972381592, -0.020799830555915833, -0.5945308208465576, -0.43113383650779724, 0.06284047663211823, 0.3394967317581177, -0.255270391702652, -0.3581729531288147, -0.6476211547851562, -0.7386206388473511, 0.4771938920021057, -0.4168606996536255, 0.8908601403236389, -0.4483396112918854, 1.9099366664886475, -0.5344528555870056, 0.31337761878967285, 0.6600393652915955, 1.4327819347381592, 0.16603048145771027, 0.014606436714529991, 0.2567567527294159, 0.38711386919021606, -0.06978023052215576, 0.46803200244903564, 1.0857130289077759, 0.45931577682495117, 0.6413620710372925, 0.589031994342804, -2.181682825088501, 1.3389248847961426, -1.0134062767028809, 0.2928760349750519, 1.453995943069458, -0.9982082843780518, 0.418213814496994, -1.790848970413208, -0.0777120441198349, 0.5028218030929565, -2.3743577003479004, 0.1695331484079361, -1.152624487876892, -0.5038904547691345, 0.9130946397781372, 0.2994411885738373, -1.2133123874664307, 0.19137464463710785, -0.45564398169517517, 1.0088982582092285, 0.5087647438049316, 1.1612144708633423, -1.6017438173294067, 0.13096307218074799, -0.25262221693992615, 0.08233818411827087, -1.355559229850769, -1.5240689516067505, 0.5156958103179932, 0.6141960620880127, 0.6035053133964539, -0.024640114977955818, 0.9092909693717957, -1.0045626163482666, 0.8838391304016113, -0.8535516262054443, -1.5632109642028809, -1.3884507417678833, -2.276552438735962, -2.2720563411712646, 0.8177764415740967, -0.5022651553153992, -0.5978232622146606, 2.050955057144165, -1.0564641952514648, -1.7378922700881958, 1.2364822626113892, 0.22181716561317444, 0.1597757339477539, 2.42700457572937, 0.10729668289422989, -0.5786117315292358, 0.44789406657218933, -0.7122517824172974, 0.9758902788162231, -0.4198099672794342, 1.431583285331726, 0.5388672351837158, -0.8750616908073425, 1.7000601291656494, -0.35685214400291443, 0.6380408406257629, -0.604262113571167, -0.5838377475738525, -0.9254300594329834, 0.4009568691253662, 1.933754801750183, -0.30642378330230713, 1.6692084074020386, -0.37375956773757935, -1.519374966621399, -1.5919729471206665, 0.8888688683509827, 0.5914403200149536, -0.8830496072769165, 0.06709087640047073, -0.3449258804321289, 0.10057619214057922, 0.03236161172389984, 1.1406304836273193, 1.3137863874435425, 0.6148073673248291, -0.21592450141906738, -0.8749015927314758, 0.18357150256633759, -0.05997099727392197, -0.6423662304878235, -1.8128567934036255, -0.36508578062057495, 0.13723117113113403, 0.6373524069786072, -1.2572832107543945, 1.6221201419830322, 1.0010312795639038, 1.8574070930480957, 1.0191586017608643, -0.22803594172000885, 1.5029823780059814, 0.027185754850506783, 1.779210090637207, -0.46868041157722473, 0.6626331806182861, -0.3501961827278137, -1.11748206615448, 0.7658800482749939, -0.37227681279182434, -1.9407323598861694, -0.8899885416030884, -0.8988960385322571, -0.24090833961963654, -0.7017759084701538, 0.8867146372795105, -0.3861102759838104, -1.3281042575836182, 0.23232623934745789, -0.6153250336647034, 0.17577390372753143, -1.239377498626709, 0.35775235295295715, 0.7805043458938599, -0.7926781177520752, 0.024735448881983757, -0.2299891710281372, -1.3190723657608032, -0.47792354226112366, 0.30407822132110596, 2.0623066425323486, -0.7571024298667908, 0.8088324666023254, 0.8888061046600342, -0.7901099324226379, 0.00875023938715458, 0.36063119769096375, -0.39178267121315, 0.7861544489860535, -1.0785397291183472, -0.40018150210380554, 1.117537021636963, -0.28809627890586853, -0.6672841906547546, 1.4796568155288696, 0.7766488194465637, -0.9751836061477661, -0.21051327884197235, -0.16871273517608643, -0.8768538236618042, -0.010047688148915768, -1.5824781656265259, -0.18963481485843658, 0.13285645842552185, -1.5871692895889282, -0.5247877836227417, -0.19469298422336578, 1.1854898929595947, -0.20567268133163452, 1.4358749389648438, -0.37518569827079773, -0.21318522095680237, -0.3512302339076996, -0.5537461042404175, 0.20024988055229187, -0.12371572107076645, -0.7032440900802612, 0.23985521495342255, -0.7817612886428833, 0.3180535137653351, 1.4243011474609375, 0.4205160439014435, 0.11179517209529877, 0.5501626133918762, 1.0285284519195557, 0.3896755874156952, -0.0001938510686159134, -0.858588695526123, -1.562827229499817, 1.9522126913070679, -1.4286322593688965, 2.0044853687286377, 0.7870932817459106, -0.05330284684896469, -1.7944917678833008, -1.818041205406189, 1.3902333974838257, 1.2401041984558105, 2.2346158027648926, 0.5181396007537842, 0.30467015504837036, -0.7843774557113647, -0.7391710877418518, 0.34857532382011414, -1.0661929845809937, -0.8127511739730835, 0.058960504829883575, 2.2438747882843018, 1.7363632917404175, -0.5725745558738708, -0.22349117696285248, -1.0083575248718262, 1.2534635066986084, -0.12613992393016815, 0.3800618052482605, 1.9480035305023193, -0.23821565508842468, -1.102914810180664, 1.2195488214492798, -2.3425869941711426, 0.15168365836143494, 1.9878504276275635, 0.31231436133384705, 0.03463374078273773, -1.490199089050293, -0.6607123017311096, -0.19490286707878113, -0.3070460557937622, -1.3353359699249268, 0.5896500945091248, -0.26733648777008057, -0.8438574075698853, -1.4850374460220337, 0.12922368943691254, -1.2665523290634155, -1.5565558671951294, 0.4589097499847412, 1.9878551959991455, 2.0662779808044434, -0.648868203163147, 1.4578081369400024, -0.1455966979265213, 0.20717531442642212, 1.2142765522003174, 1.1195188760757446, 3.132680654525757, 1.9616755247116089, -1.204414963722229, 0.6246696710586548, -0.179701030254364, -0.5082663297653198, 1.2148315906524658, -1.0108898878097534, 1.332244634628296, -0.18556144833564758, -1.1034427881240845, -1.2625455856323242, 0.939838171005249, 0.4255731403827667, 0.004534960724413395, -0.36282262206077576, 1.3090146780014038, 0.02255546674132347, 1.2520698308944702, 0.4054107964038849, -0.4120364487171173, 0.5572630763053894, -0.44302478432655334, -0.546456515789032, 1.6993118524551392, 0.0689752846956253, -1.5296469926834106, -2.266310691833496, -0.22218571603298187, -0.7776497006416321, 0.046290621161460876, -0.5429362654685974, -0.9907037615776062, 1.5742154121398926, 0.41617539525032043, -1.2663494348526, -0.29352375864982605, -0.4348545968532562, -0.7182782292366028, 2.5764567852020264, -1.4842898845672607, -0.253891259431839, -0.9109337329864502, -0.5943547487258911, 1.591901421546936, -1.2352087497711182, -0.1886105090379715, -1.0096068382263184, -0.5017979145050049, -1.2972174882888794, -0.510547399520874, 0.010317446663975716, -1.0060080289840698, 0.7790317535400391, 0.17273807525634766, -1.0054470300674438, -0.30622580647468567, -0.8126438856124878, 0.8852072954177856, -0.05515007674694061, 0.2840135097503662, 1.939244270324707, 0.35245123505592346, -0.4391475021839142, 0.7893316745758057, 1.149225115776062, 0.5842005610466003, -0.6473042368888855, 0.20789696276187897, -0.6483953595161438, 0.32912662625312805, -1.3138163089752197, 0.2777724862098694, -2.913562297821045, 0.6815432906150818, -0.009602164849638939, -0.17358087003231049, 0.005935625173151493, -1.2858426570892334, 1.0732839107513428, 2.571610927581787, -1.1353638172149658, 0.49877750873565674, 0.2682407796382904, 1.159103512763977, -1.6239808797836304, 0.37182408571243286, -0.3012967109680176, 2.065426826477051, 0.20353779196739197, 1.0885193347930908, -0.5127898454666138, -2.3113315105438232, 0.6449340581893921, -1.1981934309005737, -1.2258572578430176, 0.7388995289802551, -0.8675980567932129, -0.01236209087073803, -1.3868659734725952, -0.2301366776227951, -0.8897706270217896, -1.2497068643569946, 0.7366642951965332, 0.2138185352087021, 0.47085002064704895, -0.611168622970581, 0.3148703873157501, -2.1655054092407227, -1.4350676536560059, -0.23224210739135742, -0.8795340061187744, 0.4911271333694458, -0.40249869227409363, 0.6876652240753174, -0.26035046577453613, 0.19105227291584015, 0.29077693819999695, 1.4719586372375488, 3.4840505123138428, 0.19226986169815063, 0.46871599555015564, -0.2439350187778473, -0.926865816116333, 1.5595853328704834, 1.0587762594223022, -0.06491715461015701, -0.5738805532455444, -1.000544548034668, 1.2194180488586426, 1.9534845352172852, 0.8778576850891113, 0.046223439276218414, -0.7991676330566406, -0.6429047584533691, -0.12860921025276184, 0.17813822627067566, 0.41628411412239075, 0.9095177054405212, -0.04434845596551895, 0.0877080038189888, 1.4219768047332764, 1.3027392625808716, -0.43102654814720154, 0.3155406415462494, -0.8215376734733582, -0.34156253933906555, 0.4586082696914673, 0.45542263984680176, -0.09962193667888641, 0.3648545444011688, -0.8293431997299194, -0.23928174376487732, -0.30466145277023315, -1.0340930223464966, -0.7234991192817688, -0.3691452741622925, -0.3331025540828705, 1.6043589115142822, 0.20625613629817963, -0.5360331535339355, -0.08862429857254028, -0.8202391266822815, -0.07904823124408722, -1.099656581878662, 0.15465840697288513, -0.03106308914721012, -0.17524322867393494, -0.13939610123634338, 1.8071855306625366, -1.0614069700241089, -2.1769495010375977, 0.21268747746944427, 0.28071480989456177, -0.290315717458725, 0.16288922727108002, 1.6734510660171509, 0.3670613765716553, 1.4105000495910645, 1.3941322565078735, 0.9268231987953186, -0.5343760251998901, -1.3104029893875122, 0.5990607738494873, 0.8279125690460205, -1.42180597782135, 0.8120934963226318, -0.018675433471798897, -0.5255627632141113, 0.7550523281097412, 1.2552202939987183, 0.43306806683540344, -1.943551778793335, 0.8983184695243835, -0.8664852976799011, 0.8311722874641418, 0.7645772099494934, 0.7135382294654846, 0.3402075469493866, 0.9066657423973083, -1.0958279371261597, -1.2149008512496948, -0.8095263838768005, -0.6207965612411499, 2.0194973945617676, -0.2696582078933716, 0.5601560473442078, -0.07585778832435608, -1.2748976945877075, -0.17666473984718323, 0.6507404446601868, 0.36464783549308777, -0.2869374752044678, 0.7609394192695618, -0.7978905439376831, -1.1801533699035645, -1.4052057266235352, -0.3707437813282013, -1.000945806503296, -0.9001662135124207, 1.064475178718567, 0.8488989472389221, 0.19485077261924744, 2.0384371280670166, 0.6012734770774841, 0.33576247096061707, -2.697732448577881, 0.8827905654907227, 0.3287452459335327, 0.01367097906768322, 0.9599119424819946, 0.2785894274711609, 1.085630178451538, 0.009820451959967613, 0.4092923104763031, -2.2646138668060303, 2.2803847789764404, -0.25247469544410706, 0.76634281873703, -0.037056464701890945, -0.14419899880886078, 1.204354166984558, 0.5058659911155701, 0.6399193406105042, -1.195475697517395, 0.7550867199897766, -0.5983031988143921, 1.2036476135253906, 1.044293761253357, -0.8536306023597717, 0.016693102195858955, 1.3782659769058228, 0.49972283840179443, -0.5883419513702393, -0.9204294085502625, -0.9138530492782593, 0.9284722805023193, 1.8407528400421143, -0.03643396869301796, -0.009372849948704243, 0.7775576710700989, 0.63450688123703, -1.291006088256836, 0.08886725455522537, -0.6983350515365601, -0.8003731966018677, 1.6016435623168945, 1.981047511100769, -0.02397099696099758, -0.14890718460083008, -0.6543229818344116, -1.3405811786651611, 0.7044498324394226, 0.043303824961185455, 0.15563535690307617, 0.6403724551200867, -0.6898249983787537, 1.136160969734192, 0.8239495158195496, 0.9321514368057251, 0.0320284366607666, 0.3510083258152008, 0.5197324752807617, -0.27222225069999695, -1.1139625310897827, -0.36374717950820923, -1.100074291229248, -2.462463617324829, 0.40149882435798645, -0.3515672981739044, -1.4028983116149902, 0.027152573689818382, -1.0513681173324585, 1.003267765045166, -0.5286849141120911, -1.0999821424484253, -1.5986741781234741, 0.145196333527565, -0.1720913052558899, 0.7830960750579834, -1.5664749145507812, -0.08865377306938171, 1.2565858364105225, 0.9540606737136841, -0.6213842034339905, 1.106070876121521, 0.2695530652999878, 1.0253069400787354, 0.7343940734863281, -0.46484190225601196, 0.4668094515800476, 0.016553791239857674, -1.352116584777832, 0.4374840259552002, 1.1000615358352661, 0.13438379764556885, 1.317040205001831, -0.5565007328987122, 0.1312498301267624, 0.46968838572502136, -0.6314762830734253, -0.48017793893814087, -0.5877549052238464, 0.828981339931488, -0.0469590499997139, -0.8290829062461853, 0.023648789152503014, -0.2136915624141693, -0.3388639986515045, 0.16965237259864807, -1.5262373685836792, -0.2591836154460907, -0.4292958378791809, -0.5762154459953308, -1.3447425365447998, 0.10571322590112686, 1.4225893020629883, -0.7370420694351196, -0.23202483355998993, 0.44191572070121765, 0.4658539593219757, 0.45679885149002075, 0.5917239189147949, -0.7377407550811768, -0.2858429551124573, -0.27525976300239563, -0.2548048198223114, 0.31357941031455994, 1.3046296834945679, -0.27039480209350586, -1.0288203954696655, 0.704261064529419, -0.3636992573738098, 0.04064267873764038, 1.9420363903045654, 0.06768378615379333, -0.7514892816543579, 0.3400357961654663, -0.7003623247146606, 1.9410324096679688, 1.7487400770187378, 1.334351897239685, -0.1092558428645134, -0.9345214366912842, 0.6314163208007812, -0.31726881861686707, -0.27803266048431396, 0.8582042455673218, 0.5006500482559204, -0.17362207174301147, -1.4392048120498657, 0.5587485432624817, 1.2068957090377808, -0.7924705147743225, -0.7131142616271973, 0.016206005588173866, -0.8945552110671997, 1.0634335279464722, 0.6622447371482849, 0.5300056338310242, 0.19858980178833008, 1.5938076972961426, 0.6358752846717834, -0.6041659712791443, 0.49630028009414673, 0.5862322449684143, -0.18489213287830353, -2.093278646469116, -1.0240912437438965, 0.4229637086391449, -0.3725188076496124, -1.6101714372634888, 1.4677941799163818, -1.152211308479309, -0.8352778553962708, 0.5140821933746338, 0.07767609506845474, 1.3901783227920532, 0.235394686460495, 1.6609084606170654, 2.017162322998047, 0.8342150449752808, 0.32281970977783203, 1.3521696329116821, -0.14484407007694244, -0.4265648424625397, 1.9228732585906982, -0.4588874578475952, 0.42489224672317505, 1.1773138046264648, -0.3961564004421234, -0.9602063894271851, -0.7571024894714355, -1.0002690553665161, -0.60809326171875, 1.1403446197509766, 0.18489587306976318, -1.225176215171814, 0.13053245842456818, 1.5244837999343872, 0.141999289393425, -0.24531163275241852, 0.5817785859107971, 0.5204874277114868, -0.7101673483848572, -0.07244367152452469, -0.9297730922698975, 0.48527657985687256, -0.2692737281322479, -0.32434841990470886, 0.37528109550476074, 0.27932897210121155, 1.1506673097610474, -0.14862880110740662, 0.06308943778276443, 1.252801775932312, -1.4150358438491821, 1.4200769662857056, -0.6000840663909912, 0.3119041621685028, -2.4250967502593994, 1.4979965686798096, -0.656915545463562, 1.9201984405517578, -2.583414316177368, 0.4352816045284271, -0.6968455910682678, -0.41661280393600464, 0.44485029578208923, -0.322862833738327, 0.07855144143104553, -0.1858339160680771, -1.0514329671859741, 0.02368992380797863, -0.727239727973938, 0.6208332777023315, 1.1402631998062134, 1.2791506052017212, -1.060624599456787, -0.281447172164917, -1.693356990814209, -0.18878407776355743, -0.6693712472915649, 0.38778188824653625, -2.1581900119781494, -0.34449881315231323, -2.0295021533966064, -2.370074987411499, -1.3507777452468872, -0.6729953289031982, 1.1631062030792236, 0.1922791451215744, -0.7950497269630432, 1.1732114553451538, -0.35628870129585266, -1.8095232248306274, 1.1405746936798096, -2.015246629714966 ]
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
> Additionally, looking at the code, I think we should implement a more robust way to send user email to Common Voice: currently anybody can tweak the script and send somebody else email instead. Yes, I agree we can forget about this @patrickvonplaten. After having had a look at Common Voice website, I've seen they only require sending an email (no auth is inplace on their side, contrary to what I had previously thought). Therefore, currently we impose stronger requirements than them: we require the user having logged in and accepted the access mechanism. Currently the script as it is already requires the user being logged in: ```python HfApi().whoami(auth_token) ``` throws an exception if None/invalid auth_token is passed. On the other hand, we should agree on the way to allow the viewer to stream the data.
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
784
136
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 > Additionally, looking at the code, I think we should implement a more robust way to send user email to Common Voice: currently anybody can tweak the script and send somebody else email instead. Yes, I agree we can forget about this @patrickvonplaten. After having had a look at Common Voice website, I've seen they only require sending an email (no auth is inplace on their side, contrary to what I had previously thought). Therefore, currently we impose stronger requirements than them: we require the user having logged in and accepted the access mechanism. Currently the script as it is already requires the user being logged in: ```python HfApi().whoami(auth_token) ``` throws an exception if None/invalid auth_token is passed. On the other hand, we should agree on the way to allow the viewer to stream the data.
[ -1.1714320182800293, -0.9371726512908936, -0.8669727444648743, 1.4934638738632202, -0.22922475636005402, -1.251116156578064, 0.12597890198230743, -1.1448181867599487, 1.623098611831665, -0.8775049448013306, 0.3526969254016876, -1.6059640645980835, 0.09425081312656403, -0.5521684288978577, -0.8208355903625488, -0.8661630153656006, -0.34644123911857605, -0.7929362654685974, 0.9916234016418457, 2.5404722690582275, 1.2256791591644287, -1.3729625940322876, 2.7031142711639404, 0.6299732327461243, -0.18954142928123474, -1.106379508972168, 0.5993987917900085, -0.09583716839551926, -1.1749341487884521, -0.5651941895484924, -0.953682541847229, -0.03667817264795303, -0.5998369455337524, -0.47863903641700745, 0.0023688189685344696, 0.32208943367004395, -0.23919805884361267, -0.2843593955039978, -0.4747167229652405, -0.8999941945075989, 0.41820067167282104, -0.4192824959754944, 0.9916975498199463, -0.35491442680358887, 1.8326503038406372, -0.508743941783905, 0.4048936665058136, 0.6858711838722229, 1.488804578781128, 0.12797310948371887, -0.08725538849830627, 0.23691028356552124, 0.4255589246749878, -0.03463020548224449, 0.4469837248325348, 1.02292799949646, 0.5676284432411194, 0.5502946376800537, 0.7114290595054626, -2.208038806915283, 1.3387000560760498, -0.979347288608551, 0.2837253510951996, 1.3251402378082275, -0.9335424900054932, 0.26308584213256836, -1.7619661092758179, -0.13698622584342957, 0.5739338994026184, -2.3233211040496826, 0.23660770058631897, -1.227278470993042, -0.4999837279319763, 0.9576734900474548, 0.3317263424396515, -1.320875644683838, 0.08561896532773972, -0.4049651324748993, 0.9481685757637024, 0.4899214506149292, 1.1725902557373047, -1.6189881563186646, -0.006504951976239681, -0.335065096616745, 0.10682042688131332, -1.3791965246200562, -1.4803979396820068, 0.5370119214057922, 0.5745759606361389, 0.4917813837528229, -0.1571367383003235, 0.961323082447052, -0.9354175329208374, 0.7894498705863953, -0.9294388890266418, -1.6672459840774536, -1.4299776554107666, -2.3085148334503174, -2.251209020614624, 0.7004982829093933, -0.5352216958999634, -0.5288639068603516, 2.0870048999786377, -1.0924619436264038, -1.807955265045166, 1.222021460533142, 0.20183837413787842, 0.0731334388256073, 2.460618257522583, 0.08528908342123032, -0.6659467220306396, 0.4471692740917206, -0.7688995003700256, 0.902505099773407, -0.4427247643470764, 1.4444907903671265, 0.5169929265975952, -1.0257576704025269, 1.705122709274292, -0.37883782386779785, 0.5558871626853943, -0.6027557849884033, -0.4855419099330902, -0.8807468414306641, 0.2540709674358368, 1.8800305128097534, -0.2547633945941925, 1.4964420795440674, -0.3652283251285553, -1.5293337106704712, -1.487493634223938, 0.9225828647613525, 0.53852778673172, -0.8227136135101318, 0.07687219232320786, -0.3739480972290039, 0.062394630163908005, -0.057010408490896225, 1.10683012008667, 1.2608963251113892, 0.6528943777084351, -0.32511794567108154, -0.909055769443512, 0.22409704327583313, -0.12751275300979614, -0.7687394618988037, -1.8282718658447266, -0.3556155264377594, 0.07828311622142792, 0.7287626266479492, -1.2191616296768188, 1.779296636581421, 0.9417631030082703, 1.920251727104187, 0.9660971164703369, -0.27012038230895996, 1.4202957153320312, 0.00046771951019763947, 1.7712794542312622, -0.5071358680725098, 0.672875165939331, -0.3577359616756439, -1.146224021911621, 0.9091566205024719, -0.33397895097732544, -1.9949727058410645, -0.8046667575836182, -0.8665956854820251, -0.26554954051971436, -0.6818082928657532, 0.9572079181671143, -0.4133828282356262, -1.3179230690002441, 0.2591305375099182, -0.6573253870010376, 0.1610051691532135, -1.2755241394042969, 0.3816297948360443, 0.746414840221405, -0.7444524765014648, 0.013211031444370747, -0.2901068329811096, -1.2191556692123413, -0.5723839998245239, 0.2564694285392761, 1.9373259544372559, -0.7335925102233887, 0.9104331135749817, 0.9418662786483765, -0.6103562116622925, -0.038360703736543655, 0.435611754655838, -0.2966335415840149, 0.8016684055328369, -1.011561632156372, -0.48307812213897705, 1.167777419090271, -0.2916170656681061, -0.6875446438789368, 1.4695026874542236, 0.684601902961731, -1.0140522718429565, -0.17165163159370422, -0.20036892592906952, -0.8590996265411377, 0.04066116362810135, -1.6340597867965698, -0.14977693557739258, 0.29621371626853943, -1.629940152168274, -0.445976197719574, -0.19757422804832458, 1.3415424823760986, -0.1857071965932846, 1.46073317527771, -0.4241481125354767, -0.2603760361671448, -0.2903457283973694, -0.4232760965824127, 0.23577532172203064, -0.12671326100826263, -0.6418113708496094, 0.27723589539527893, -0.8071359395980835, 0.37151622772216797, 1.4539567232131958, 0.36687231063842773, 0.060853730887174606, 0.45602115988731384, 0.9906041622161865, 0.39116623997688293, 0.011107630096375942, -0.9049764275550842, -1.591556191444397, 2.0618109703063965, -1.4361270666122437, 1.9448635578155518, 0.8690392971038818, -0.013292167335748672, -1.7298583984375, -1.792887806892395, 1.2761039733886719, 1.1582436561584473, 2.1875336170196533, 0.54466313123703, 0.26773837208747864, -0.7426072359085083, -0.6142534613609314, 0.2556234896183014, -1.1325812339782715, -0.845219612121582, 0.019193891435861588, 2.3728294372558594, 1.68128502368927, -0.415051132440567, -0.1569707840681076, -1.0677502155303955, 1.3136882781982422, -0.1582779884338379, 0.3062772750854492, 1.9469053745269775, -0.29919713735580444, -1.147997260093689, 1.2591361999511719, -2.2552037239074707, 0.22719256579875946, 2.048910140991211, 0.23381765186786652, 0.061222922056913376, -1.4412838220596313, -0.6778163313865662, -0.1586792767047882, -0.4062058925628662, -1.2986366748809814, 0.6207404732704163, -0.27130448818206787, -0.8414579033851624, -1.3345388174057007, 0.1325330287218094, -1.2811877727508545, -1.7115888595581055, 0.37516409158706665, 1.9184248447418213, 2.0895116329193115, -0.6271845698356628, 1.5558514595031738, -0.2919121980667114, 0.20898950099945068, 1.3284430503845215, 1.2609676122665405, 3.1063716411590576, 1.9042240381240845, -1.3290780782699585, 0.6355800032615662, -0.15781894326210022, -0.49458861351013184, 1.1796456575393677, -1.0271481275558472, 1.281023621559143, -0.19018352031707764, -1.2092511653900146, -1.25323486328125, 0.9443582892417908, 0.4081641733646393, 0.07990394532680511, -0.4733113944530487, 1.2251341342926025, 0.1160108745098114, 1.2578575611114502, 0.48534393310546875, -0.3521099388599396, 0.5645279288291931, -0.3908021152019501, -0.5777159333229065, 1.6712301969528198, 0.2019166648387909, -1.4702409505844116, -2.4299778938293457, -0.22719524800777435, -0.7910579442977905, 0.0943206250667572, -0.5543161034584045, -1.0315293073654175, 1.6342365741729736, 0.41609349846839905, -1.2311651706695557, -0.39733925461769104, -0.33201709389686584, -0.6260136961936951, 2.6226744651794434, -1.4029607772827148, -0.24845300614833832, -0.9570676684379578, -0.6587344408035278, 1.63816499710083, -1.3481767177581787, -0.2299700528383255, -1.048677921295166, -0.5037949681282043, -1.293503999710083, -0.5662693381309509, -0.042662445455789566, -0.9688601493835449, 0.8045864701271057, 0.1662231832742691, -1.048378586769104, -0.3867396116256714, -0.8526726365089417, 0.8986206650733948, -0.0268695205450058, 0.29852116107940674, 1.7963083982467651, 0.42723801732063293, -0.4459402859210968, 0.7133097052574158, 1.1212267875671387, 0.6968675255775452, -0.6106075644493103, 0.1546928733587265, -0.6198606491088867, 0.3411464989185333, -1.2583647966384888, 0.3079996407032013, -2.933736562728882, 0.6427246928215027, -0.09260539710521698, -0.11956321448087692, -0.08570580184459686, -1.305826187133789, 1.1319409608840942, 2.637446641921997, -1.1036444902420044, 0.42341968417167664, 0.25785356760025024, 1.1699923276901245, -1.6147117614746094, 0.3871910870075226, -0.4359195828437805, 2.177879571914673, 0.20784863829612732, 1.2476462125778198, -0.44901415705680847, -2.375758171081543, 0.7335454821586609, -1.1920775175094604, -1.1919667720794678, 0.7959879040718079, -0.7007796764373779, -0.033219654113054276, -1.3828071355819702, -0.17872294783592224, -0.852263867855072, -1.2231985330581665, 0.7725216150283813, 0.19367456436157227, 0.48006942868232727, -0.6630163192749023, 0.24560673534870148, -2.092925786972046, -1.4697436094284058, -0.18164262175559998, -0.877099335193634, 0.5110545754432678, -0.40460339188575745, 0.5962383151054382, -0.24256546795368195, 0.09721574187278748, 0.354261577129364, 1.5125385522842407, 3.4782097339630127, 0.308422714471817, 0.45486149191856384, -0.18898262083530426, -0.8813631534576416, 1.466411828994751, 1.0171716213226318, -0.10894576460123062, -0.5997721552848816, -0.9482371211051941, 1.2463176250457764, 2.00779128074646, 0.8399640321731567, 0.045224905014038086, -0.6937037110328674, -0.6093447804450989, -0.1178552433848381, 0.16377492249011993, 0.5424131155014038, 0.9056746959686279, -0.012985555455088615, 0.018634766340255737, 1.368797779083252, 1.303659439086914, -0.41983547806739807, 0.40453991293907166, -0.8094930052757263, -0.41151002049446106, 0.48730283975601196, 0.3743036687374115, -0.08162514865398407, 0.4834343492984772, -0.8739365935325623, -0.20955881476402283, -0.32398635149002075, -1.0496859550476074, -0.6682832837104797, -0.4015943109989166, -0.47223880887031555, 1.6070646047592163, 0.11780285835266113, -0.43634936213493347, 0.0010086745023727417, -0.7084946632385254, -0.03950045257806778, -1.076417326927185, 0.20226281881332397, -0.1199568584561348, -0.1429065465927124, -0.1340266466140747, 1.7682238817214966, -0.9989184737205505, -2.100304365158081, 0.3053359091281891, 0.29094305634498596, -0.3798591196537018, 0.29262199997901917, 1.6435801982879639, 0.4020096957683563, 1.4727764129638672, 1.4474328756332397, 0.9147023558616638, -0.628535807132721, -1.2201944589614868, 0.6657622456550598, 0.9075994491577148, -1.4256563186645508, 0.8728017807006836, 0.026199907064437866, -0.5670021772384644, 0.8082515001296997, 1.2390377521514893, 0.40944904088974, -2.0380945205688477, 0.8267481923103333, -0.8348187804222107, 0.8438316583633423, 0.7493416666984558, 0.7497366666793823, 0.30090147256851196, 0.8628418445587158, -1.0934579372406006, -1.1744952201843262, -0.7833142280578613, -0.7128193974494934, 1.9325778484344482, -0.34463971853256226, 0.5142087936401367, -0.09747329354286194, -1.2620973587036133, -0.24852846562862396, 0.6326372623443604, 0.32452890276908875, -0.35911890864372253, 0.7203207612037659, -0.7319695949554443, -1.1850861310958862, -1.3906675577163696, -0.44952112436294556, -0.9573012590408325, -0.957504153251648, 0.9845074415206909, 0.829610288143158, 0.2531792223453522, 1.9893512725830078, 0.597240686416626, 0.20817658305168152, -2.5491137504577637, 0.8664707541465759, 0.3927118182182312, 0.04121127724647522, 0.9401080012321472, 0.27951887249946594, 1.0496350526809692, 0.07457152009010315, 0.5407472848892212, -2.3429341316223145, 2.259180784225464, -0.2923033833503723, 0.7285422682762146, 0.07871390879154205, -0.19435802102088928, 1.1388275623321533, 0.5176060199737549, 0.5446921586990356, -1.0995597839355469, 0.8005189895629883, -0.658588707447052, 1.2421855926513672, 0.9668337106704712, -0.858463704586029, -0.010557441040873528, 1.4113494157791138, 0.5079035758972168, -0.5574182868003845, -0.8382048606872559, -0.9604461193084717, 0.8735665082931519, 1.8018072843551636, -0.0003444673493504524, 0.021336570382118225, 0.7928370237350464, 0.6854135394096375, -1.2583502531051636, 0.037919651716947556, -0.7142026424407959, -0.8122207522392273, 1.5957924127578735, 1.9951871633529663, -0.10890879482030869, -0.146229550242424, -0.799197793006897, -1.2867157459259033, 0.7522300481796265, -0.06055920943617821, 0.08555688709020615, 0.6054927110671997, -0.5857104063034058, 1.055045247077942, 0.9029898643493652, 0.9193030595779419, 0.1743231564760208, 0.34271448850631714, 0.42967838048934937, -0.258897602558136, -1.0357294082641602, -0.29814451932907104, -1.205241084098816, -2.591731548309326, 0.46276023983955383, -0.41637179255485535, -1.5201900005340576, 0.038787879049777985, -1.0601892471313477, 0.9370390772819519, -0.5785543322563171, -0.9779912829399109, -1.5787137746810913, 0.20487284660339355, -0.08172797411680222, 0.8112386465072632, -1.559108853340149, 0.0018977783620357513, 1.2936615943908691, 0.9403478503227234, -0.6292169094085693, 1.128483772277832, 0.2570716142654419, 1.1006081104278564, 0.7776370048522949, -0.44763731956481934, 0.5976393818855286, 0.11147375404834747, -1.313507318496704, 0.44892457127571106, 1.0540038347244263, 0.13734160363674164, 1.355128526687622, -0.5408310294151306, 0.07512164860963821, 0.46246862411499023, -0.5417761206626892, -0.5163910388946533, -0.5473984479904175, 0.7530831694602966, 0.026148859411478043, -0.8563883304595947, 0.1148645207285881, -0.17707456648349762, -0.32341453433036804, 0.31117671728134155, -1.5713386535644531, -0.2916466295719147, -0.4020282030105591, -0.49785327911376953, -1.385985255241394, -0.044524356722831726, 1.389492392539978, -0.6316431760787964, -0.29740890860557556, 0.4872097671031952, 0.43217524886131287, 0.5205260515213013, 0.6947335600852966, -0.7061172127723694, -0.38028693199157715, -0.36490321159362793, -0.29543524980545044, 0.36448729038238525, 1.3100799322128296, -0.1547597497701645, -0.8875221014022827, 0.7028452754020691, -0.2638722360134125, 0.09129450470209122, 1.9399553537368774, 0.10373862087726593, -0.7734983563423157, 0.29201191663742065, -0.7569220066070557, 1.889952540397644, 1.6244713068008423, 1.2495042085647583, -0.06113222613930702, -0.9598718881607056, 0.7298874258995056, -0.24580031633377075, -0.34872573614120483, 0.8759881854057312, 0.5003232955932617, -0.15417413413524628, -1.357643961906433, 0.5893142223358154, 1.1893541812896729, -0.8496485352516174, -0.8522142171859741, 0.04475000873208046, -0.8472797274589539, 1.1346428394317627, 0.6771165132522583, 0.4438975155353546, 0.1824801117181778, 1.5902782678604126, 0.7104153037071228, -0.5628423690795898, 0.5130902528762817, 0.5126378536224365, -0.11760732531547546, -2.1417789459228516, -1.0466471910476685, 0.32457858324050903, -0.41745874285697937, -1.5922695398330688, 1.3848860263824463, -1.1883453130722046, -0.9273809194564819, 0.5802518725395203, 0.09952303767204285, 1.3821066617965698, 0.35151466727256775, 1.662352442741394, 2.033851146697998, 0.8604834675788879, 0.33562594652175903, 1.300425410270691, -0.15405631065368652, -0.48086872696876526, 1.8372108936309814, -0.37720921635627747, 0.4578755795955658, 1.1822973489761353, -0.2924090027809143, -0.9876734018325806, -0.7707417011260986, -1.0827223062515259, -0.6720494627952576, 1.167109727859497, 0.17468233406543732, -1.1802619695663452, 0.14877858757972717, 1.5083954334259033, 0.08550838381052017, -0.206800639629364, 0.5817186236381531, 0.41988855600357056, -0.7318885326385498, -0.10982854664325714, -0.9122560620307922, 0.4544135332107544, -0.22628147900104523, -0.35908231139183044, 0.4113974869251251, 0.43394121527671814, 1.2124663591384888, -0.13758261501789093, 0.12539178133010864, 1.148532509803772, -1.4892120361328125, 1.4312970638275146, -0.5618376135826111, 0.25146183371543884, -2.3683712482452393, 1.443796157836914, -0.7381575703620911, 1.9573593139648438, -2.699256420135498, 0.3612089157104492, -0.6965863704681396, -0.5040327310562134, 0.3933100402355194, -0.35713085532188416, 0.13988590240478516, -0.19350506365299225, -0.9849010109901428, -0.015167873352766037, -0.6415159702301025, 0.5565919876098633, 1.1456356048583984, 1.2871793508529663, -1.0830268859863281, -0.29758068919181824, -1.7544587850570679, -0.23684687912464142, -0.6997585296630859, 0.35737162828445435, -2.084930658340454, -0.2280472368001938, -1.9492549896240234, -2.275357723236084, -1.3001662492752075, -0.8202621340751648, 1.1437450647354126, 0.21178944408893585, -0.8442057967185974, 1.1814240217208862, -0.2724514305591583, -1.7442758083343506, 1.0725159645080566, -2.104928731918335 ]
https://github.com/huggingface/datasets/issues/4230
Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data?
Thanks for reporting @beyondguo. Indeed, we generate this dataset from this raw data file URL: https://data.deepai.org/conll2003.zip And that URL only contains the English version.
![image](https://user-images.githubusercontent.com/37113676/165416606-96b5db18-b16c-4b6b-928c-de8620fd943e.png) But on huggingface datasets: ![image](https://user-images.githubusercontent.com/37113676/165416649-8fd77980-ca0d-43f0-935e-f398ba8323a4.png) Where is the German data?
786
24
Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data? ![image](https://user-images.githubusercontent.com/37113676/165416606-96b5db18-b16c-4b6b-928c-de8620fd943e.png) But on huggingface datasets: ![image](https://user-images.githubusercontent.com/37113676/165416649-8fd77980-ca0d-43f0-935e-f398ba8323a4.png) Where is the German data? Thanks for reporting @beyondguo. Indeed, we generate this dataset from this raw data file URL: https://data.deepai.org/conll2003.zip And that URL only contains the English version.
[ -1.331447720527649, -0.832246720790863, -0.8189814686775208, 1.4326882362365723, -0.09261836111545563, -1.3656800985336304, 0.0884874016046524, -1.043854832649231, 1.690721035003662, -0.787887692451477, 0.2776954770088196, -1.686471939086914, 0.033651482313871384, -0.5310723781585693, -0.744973361492157, -0.9136472344398499, -0.3083023726940155, -0.8794205784797668, 1.0257363319396973, 2.599548816680908, 1.1895546913146973, -1.3071118593215942, 2.725689649581909, 0.687235414981842, -0.2434881329536438, -1.0399408340454102, 0.48011383414268494, 0.1203293651342392, -1.3487751483917236, -0.41113096475601196, -1.0336750745773315, -0.08297532796859741, -0.47979578375816345, -0.5817016363143921, 0.01540386863052845, 0.31622108817100525, -0.1704728752374649, -0.326139897108078, -0.4916105568408966, -0.7801160216331482, 0.5449373126029968, -0.30914679169654846, 0.8688637614250183, -0.36069703102111816, 1.760814905166626, -0.6467452049255371, 0.3898411989212036, 0.716499924659729, 1.3871924877166748, 0.08988748490810394, -0.16342607140541077, 0.26143357157707214, 0.37500524520874023, -0.067717045545578, 0.39577361941337585, 1.1287680864334106, 0.6352338790893555, 0.5050768852233887, 0.6816877722740173, -2.25669264793396, 1.3762673139572144, -0.9748766422271729, 0.21293476223945618, 1.3904547691345215, -1.1371015310287476, 0.382280558347702, -1.894829511642456, -0.11013707518577576, 0.41518634557724, -2.369577407836914, 0.24544544517993927, -1.263590693473816, -0.5285110473632812, 0.9468427896499634, 0.27979758381843567, -1.3262017965316772, 0.13782449066638947, -0.45051687955856323, 1.0321928262710571, 0.5139093399047852, 1.2308114767074585, -1.7448824644088745, -0.05566525086760521, -0.3442193567752838, 0.14105693995952606, -1.3926228284835815, -1.5329301357269287, 0.5228837728500366, 0.662707507610321, 0.6115626096725464, -0.025469379499554634, 0.8876031041145325, -0.9319638609886169, 0.8780016899108887, -0.9556649327278137, -1.6546200513839722, -1.3496086597442627, -2.254075765609741, -2.275815010070801, 0.7256640791893005, -0.5178558826446533, -0.5083392858505249, 2.027588129043579, -1.1696256399154663, -1.8382234573364258, 1.1119701862335205, 0.2106882482767105, 0.021925000473856926, 2.402787685394287, 0.28701096773147583, -0.729770302772522, 0.5356472134590149, -0.7183456420898438, 0.7274594306945801, -0.38459891080856323, 1.355656385421753, 0.541018545627594, -1.1246668100357056, 1.6010935306549072, -0.3602205216884613, 0.5366680026054382, -0.7305722236633301, -0.5164759159088135, -0.8580296635627747, 0.31632548570632935, 1.8979727029800415, -0.2667785882949829, 1.5934231281280518, -0.332383930683136, -1.521966576576233, -1.5031139850616455, 0.8135650753974915, 0.6553675532341003, -0.7911413311958313, 0.13903690874576569, -0.3930993676185608, 0.05143609642982483, 0.03766322508454323, 1.0363293886184692, 1.2234139442443848, 0.7275239825248718, -0.31035372614860535, -0.8983244895935059, 0.23817229270935059, 0.02871210128068924, -0.6432992219924927, -1.8018828630447388, -0.31461045145988464, 0.14073723554611206, 0.6959624886512756, -1.2858620882034302, 1.6821824312210083, 0.7981839776039124, 1.9520050287246704, 1.0459057092666626, -0.2835390269756317, 1.493761420249939, -0.06859675794839859, 1.868078589439392, -0.42437562346458435, 0.7461819052696228, -0.29704248905181885, -1.1989457607269287, 0.8078829050064087, -0.37087610363960266, -2.08791446685791, -0.7732916474342346, -0.7967983484268188, -0.1880262941122055, -0.8358397483825684, 0.9763608574867249, -0.3429630696773529, -1.4382328987121582, 0.2459694892168045, -0.5805043578147888, 0.18312759697437286, -1.3435457944869995, 0.2968309223651886, 0.7683548331260681, -0.6430184245109558, -0.0015090093947947025, -0.28445786237716675, -1.3341866731643677, -0.5425033569335938, 0.11178337037563324, 1.9265397787094116, -0.7173154354095459, 1.0359456539154053, 1.0300498008728027, -0.6454256176948547, 0.004932161420583725, 0.3694853186607361, -0.2541404068470001, 0.9417291283607483, -1.0844975709915161, -0.33652201294898987, 1.1536537408828735, -0.09533070027828217, -0.5478312969207764, 1.4707129001617432, 0.7211775183677673, -0.8873998522758484, -0.25264328718185425, -0.1288204789161682, -0.876689612865448, -0.07043087482452393, -1.6219868659973145, -0.15314778685569763, 0.26451024413108826, -1.406596064567566, -0.3831590414047241, -0.13043954968452454, 1.4252592325210571, -0.16888761520385742, 1.3661812543869019, -0.3238280713558197, -0.2703930735588074, -0.41982924938201904, -0.40787240862846375, 0.19291715323925018, -0.22105231881141663, -0.7232750654220581, 0.3698539733886719, -0.7107558846473694, 0.21214573085308075, 1.4279546737670898, 0.41836076974868774, 0.14455637335777283, 0.5497552156448364, 1.1122195720672607, 0.29257187247276306, -0.0985465794801712, -0.8418276309967041, -1.600457787513733, 1.990838885307312, -1.4944995641708374, 1.9692269563674927, 0.8065948486328125, -0.08080652356147766, -1.7939589023590088, -1.922490119934082, 1.423305630683899, 1.2159011363983154, 2.402894973754883, 0.6307546496391296, 0.3649264872074127, -0.8199865818023682, -0.597444474697113, 0.3526057004928589, -1.0547685623168945, -0.7880035042762756, 0.10068681836128235, 2.3717563152313232, 1.6985502243041992, -0.5097606182098389, -0.2653106451034546, -1.0251727104187012, 1.1943333148956299, -0.007088088430464268, 0.13279350101947784, 1.9466307163238525, -0.2763754427433014, -1.1857718229293823, 1.2087522745132446, -2.2807462215423584, 0.15855199098587036, 2.073498487472534, 0.35170432925224304, 0.006796877831220627, -1.4136486053466797, -0.677947461605072, -0.1700717955827713, -0.5327203273773193, -1.2539970874786377, 0.6114068627357483, -0.32829800248146057, -0.8686923980712891, -1.5383220911026, 0.01473994366824627, -1.08659827709198, -1.6778289079666138, 0.4311046004295349, 1.736140251159668, 2.017740488052368, -0.6934600472450256, 1.4479038715362549, -0.2931779623031616, 0.18741539120674133, 1.274322509765625, 1.1963189840316772, 3.070209503173828, 1.811877965927124, -1.2994966506958008, 0.7962656021118164, -0.12021937966346741, -0.4353333115577698, 1.1687902212142944, -1.0678277015686035, 1.2075283527374268, -0.1595335751771927, -1.2802540063858032, -1.2822322845458984, 0.9301745295524597, 0.386878103017807, 0.018819542601704597, -0.5358259677886963, 1.2522597312927246, 0.07495400309562683, 1.213831901550293, 0.5052193403244019, -0.26025912165641785, 0.6163350343704224, -0.44014477729797363, -0.5011211633682251, 1.6452277898788452, 0.1320774257183075, -1.4837325811386108, -2.377612590789795, -0.22773686051368713, -0.7473228573799133, -0.04616283252835274, -0.6187488436698914, -1.00193190574646, 1.7479404211044312, 0.45384860038757324, -1.2643394470214844, -0.1695227473974228, -0.3675824999809265, -0.6276060342788696, 2.6221327781677246, -1.4484596252441406, -0.1890619546175003, -0.9879488945007324, -0.47685015201568604, 1.6447389125823975, -1.1812652349472046, -0.10752846300601959, -0.9050508737564087, -0.6172783374786377, -1.3785853385925293, -0.5202860236167908, -0.08173739910125732, -0.9325852394104004, 0.6216849684715271, 0.15024305880069733, -1.1249312162399292, -0.3567662537097931, -0.8162909746170044, 0.8548210859298706, -0.04991099238395691, 0.28536921739578247, 1.9379268884658813, 0.4426707327365875, -0.44088655710220337, 0.6927035450935364, 1.1487356424331665, 0.6279844641685486, -0.5885432958602905, 0.2109685242176056, -0.654049813747406, 0.32234132289886475, -1.3203421831130981, 0.2769466042518616, -2.892632246017456, 0.7070893049240112, -0.026676570996642113, -0.10819384455680847, -0.007407865021377802, -1.3373583555221558, 1.1594969034194946, 2.5665767192840576, -1.118253231048584, 0.4090907573699951, 0.3328434228897095, 1.1137440204620361, -1.4975476264953613, 0.3037985861301422, -0.43830522894859314, 2.1614279747009277, 0.2208412140607834, 1.1624008417129517, -0.5263417363166809, -2.2221827507019043, 0.6541642546653748, -1.2027921676635742, -1.15897798538208, 0.7990519404411316, -0.7956166863441467, 0.12036983668804169, -1.271398901939392, -0.1779756098985672, -0.9917277693748474, -1.2479344606399536, 0.8093878626823425, 0.10534778237342834, 0.5265915393829346, -0.619311511516571, 0.2883950471878052, -2.0819380283355713, -1.3330460786819458, -0.16872572898864746, -1.0228660106658936, 0.38494813442230225, -0.27990415692329407, 0.7031769156455994, -0.09346336126327515, 0.11302889883518219, 0.3269110918045044, 1.4063562154769897, 3.3083648681640625, 0.17563213407993317, 0.41470053791999817, -0.20534548163414001, -0.9767383933067322, 1.5114327669143677, 0.9654965400695801, -0.046645637601614, -0.6877660751342773, -0.9564241766929626, 1.2122546434402466, 1.9360148906707764, 1.0268193483352661, 0.08199936151504517, -0.8719834089279175, -0.6943689584732056, 0.1184750348329544, 0.19303996860980988, 0.5397894382476807, 1.0203238725662231, 0.0067710597068071365, 0.12871317565441132, 1.4743527173995972, 1.1711714267730713, -0.4505614638328552, 0.4033278524875641, -0.8650014996528625, -0.42063677310943604, 0.5306016206741333, 0.3517623841762543, 0.031982049345970154, 0.4257824718952179, -1.0524519681930542, -0.25876161456108093, -0.222931370139122, -1.0289216041564941, -0.7718512415885925, -0.42868030071258545, -0.4597650468349457, 1.6729612350463867, 0.019864076748490334, -0.3460416793823242, -0.03396426513791084, -0.812351405620575, -0.13576018810272217, -1.042276382446289, 0.323138028383255, -0.1446690857410431, -0.008573050610721111, -0.021750835701823235, 1.8199585676193237, -0.917548418045044, -2.136733055114746, 0.31147223711013794, 0.24386559426784515, -0.4844357371330261, 0.1286105364561081, 1.6428598165512085, 0.5153189301490784, 1.3900365829467773, 1.3751814365386963, 0.9546539187431335, -0.653170108795166, -1.3951398134231567, 0.6340424418449402, 0.8779393434524536, -1.3789970874786377, 0.9430019855499268, -0.06549957394599915, -0.48394596576690674, 0.6326431632041931, 1.4237971305847168, 0.45512741804122925, -1.8826316595077515, 0.8072147369384766, -0.8251146674156189, 0.7265915870666504, 0.6489419937133789, 0.810093104839325, 0.11859151721000671, 0.8863617181777954, -1.2608622312545776, -1.1112524271011353, -0.6968612670898438, -0.5733281373977661, 1.8287105560302734, -0.27829957008361816, 0.5845193862915039, -0.20347872376441956, -1.1907906532287598, -0.0645768940448761, 0.7196345925331116, 0.23327873647212982, -0.316907674074173, 0.8384634256362915, -0.6781882643699646, -1.1401315927505493, -1.3279764652252197, -0.5068645477294922, -0.8753830194473267, -0.8224654197692871, 1.0507981777191162, 0.8300200700759888, 0.32639825344085693, 1.9888023138046265, 0.5493379831314087, 0.18340294063091278, -2.6948421001434326, 0.8004025816917419, 0.2527742087841034, 0.07963672280311584, 1.0045347213745117, 0.20428922772407532, 1.1122509241104126, -0.023681912571191788, 0.5641369223594666, -2.3095600605010986, 2.2596020698547363, -0.2556472718715668, 0.7185658812522888, -0.016826923936605453, -0.10661406815052032, 1.0506622791290283, 0.49941253662109375, 0.627041220664978, -1.1683099269866943, 0.7317641973495483, -0.6519168615341187, 1.2371068000793457, 0.9589710235595703, -0.844484806060791, 0.021976079791784286, 1.2237354516983032, 0.5064932703971863, -0.3396605849266052, -0.8477922677993774, -0.9123607873916626, 0.9395702481269836, 1.7786881923675537, -0.02643376588821411, 0.09716585278511047, 0.8523045778274536, 0.6294794678688049, -1.3789806365966797, 0.019393526017665863, -0.8048262000083923, -0.7775211930274963, 1.668360710144043, 2.0550312995910645, -0.010686572641134262, -0.19404591619968414, -0.6892656087875366, -1.190584659576416, 0.9003092646598816, 0.04422655701637268, 0.13414879143238068, 0.61147540807724, -0.6524419784545898, 1.1395885944366455, 0.891631543636322, 0.9829598069190979, 0.2650826573371887, 0.3304685354232788, 0.2995332181453705, -0.17059694230556488, -1.103657603263855, -0.2596769332885742, -1.1273549795150757, -2.5825698375701904, 0.4975697994232178, -0.341383159160614, -1.447589635848999, 0.057746756821870804, -1.0376460552215576, 0.6910738945007324, -0.5663091540336609, -1.094516396522522, -1.4462050199508667, 0.20810191333293915, -0.2658194601535797, 0.8739246726036072, -1.5937304496765137, -0.07157128304243088, 1.277506947517395, 1.0338183641433716, -0.5763961672782898, 0.9561198353767395, 0.23917514085769653, 0.9641227722167969, 0.9026306867599487, -0.44057053327560425, 0.4701577126979828, 0.19605723023414612, -1.3064943552017212, 0.4226822853088379, 1.240646481513977, 0.23029950261116028, 1.4484626054763794, -0.485249787569046, -0.05304450914263725, 0.47962498664855957, -0.478948712348938, -0.4555132985115051, -0.7455146908760071, 0.8138346076011658, 0.13292095065116882, -0.9592583775520325, 0.08388820290565491, -0.09491978585720062, -0.2299540489912033, 0.31287845969200134, -1.4855633974075317, -0.23865282535552979, -0.4004702866077423, -0.567805826663971, -1.3671811819076538, -0.06277071684598923, 1.2871098518371582, -0.8333762288093567, -0.09173382818698883, 0.464790403842926, 0.374471515417099, 0.5696923732757568, 0.670082688331604, -0.638421893119812, -0.39309144020080566, -0.2915689945220947, -0.424760639667511, 0.41940590739250183, 1.1762641668319702, -0.1609828919172287, -1.0485942363739014, 0.714770495891571, -0.24626216292381287, 0.05198167264461517, 1.9801335334777832, -0.018964286893606186, -0.8162891268730164, 0.3259326219558716, -0.6186956763267517, 1.9291454553604126, 1.5394285917282104, 1.4009565114974976, -0.16007089614868164, -0.9063118696212769, 0.5528896450996399, -0.1568918228149414, -0.31072255969047546, 0.966528594493866, 0.4496510624885559, -0.16452954709529877, -1.4137171506881714, 0.549936056137085, 1.2731657028198242, -0.9183623194694519, -0.7239594459533691, -0.0052984366193413734, -0.8055329322814941, 1.1112018823623657, 0.6418649554252625, 0.3820541203022003, 0.29234611988067627, 1.592785358428955, 0.6873863935470581, -0.4404864013195038, 0.41043245792388916, 0.4396606981754303, -0.09442856907844543, -2.136106014251709, -0.9861387014389038, 0.29775282740592957, -0.3380236327648163, -1.488582968711853, 1.3681715726852417, -1.2687770128250122, -0.9283611178398132, 0.45403921604156494, 0.1432887464761734, 1.415306568145752, 0.26330819725990295, 1.6803455352783203, 2.0756328105926514, 0.8821205496788025, 0.2563643455505371, 1.3153685331344604, -0.1133439838886261, -0.41867172718048096, 1.7889341115951538, -0.43586090207099915, 0.5407018661499023, 1.1222420930862427, -0.33859848976135254, -1.0335465669631958, -0.7938684225082397, -1.135541558265686, -0.7151059508323669, 1.1717132329940796, 0.16470187902450562, -1.259603500366211, 0.14887164533138275, 1.5656962394714355, 0.08118677139282227, -0.19889478385448456, 0.5869677662849426, 0.4473000168800354, -0.7011692523956299, -0.0826902836561203, -0.9217811226844788, 0.43982434272766113, -0.1860581934452057, -0.3778815269470215, 0.2498708814382553, 0.4975435137748718, 1.1326897144317627, -0.031398653984069824, 0.08115872740745544, 1.2973639965057373, -1.438274621963501, 1.3714981079101562, -0.6128140687942505, 0.2693680226802826, -2.4143178462982178, 1.4621515274047852, -0.8527372479438782, 1.867106556892395, -2.655019760131836, 0.39704620838165283, -0.4998597800731659, -0.4690808653831482, 0.3140583336353302, -0.3789302110671997, 0.14286595582962036, -0.22608527541160583, -0.9338954091072083, -0.13125553727149963, -0.8866549134254456, 0.4999655485153198, 1.1821589469909668, 1.2231723070144653, -1.0070046186447144, -0.2462053894996643, -1.7468211650848389, -0.26256099343299866, -0.5950467586517334, 0.27194663882255554, -1.968765377998352, -0.1381801813840866, -2.1325161457061768, -2.425297498703003, -1.339118480682373, -0.8284788131713867, 1.1494587659835815, 0.19158121943473816, -0.9395024180412292, 0.9964385032653809, -0.3824961483478546, -1.7486956119537354, 1.1048614978790283, -2.1642415523529053 ]
https://github.com/huggingface/datasets/issues/4230
Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data?
The German data requires payment The [original task page](https://www.clips.uantwerpen.be/conll2003/ner/) states "The German data is a collection of articles from the Frankfurter Rundschau. The named entities have been annotated by people of the University of Antwerp. Only the annotations are available here. In order to build these data sets you need access to the ECI Multilingual Text Corpus. It can be ordered from the Linguistic Data Consortium (2003 non-member price: US$ 35.00)." Inflation since 2003 has also affected LDC's prices, and today the dataset [LDC94T5](https://catalog.ldc.upenn.edu/LDC94T5) is available under license for $75 a copy. The [license](https://catalog.ldc.upenn.edu/license/eci-slash-mci-user-agreement.pdf) includes a non-distribution condition, which is probably why the data has not turned up openly. The ACL hold copyright of this data; I'll mail them and anyone I can find at ECI to see if they'll open this up now. After all, it worked with Microsoft 3DMM, why not here too, after 28 years? :)
![image](https://user-images.githubusercontent.com/37113676/165416606-96b5db18-b16c-4b6b-928c-de8620fd943e.png) But on huggingface datasets: ![image](https://user-images.githubusercontent.com/37113676/165416649-8fd77980-ca0d-43f0-935e-f398ba8323a4.png) Where is the German data?
786
149
Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data? ![image](https://user-images.githubusercontent.com/37113676/165416606-96b5db18-b16c-4b6b-928c-de8620fd943e.png) But on huggingface datasets: ![image](https://user-images.githubusercontent.com/37113676/165416649-8fd77980-ca0d-43f0-935e-f398ba8323a4.png) Where is the German data? The German data requires payment The [original task page](https://www.clips.uantwerpen.be/conll2003/ner/) states "The German data is a collection of articles from the Frankfurter Rundschau. The named entities have been annotated by people of the University of Antwerp. Only the annotations are available here. In order to build these data sets you need access to the ECI Multilingual Text Corpus. It can be ordered from the Linguistic Data Consortium (2003 non-member price: US$ 35.00)." Inflation since 2003 has also affected LDC's prices, and today the dataset [LDC94T5](https://catalog.ldc.upenn.edu/LDC94T5) is available under license for $75 a copy. The [license](https://catalog.ldc.upenn.edu/license/eci-slash-mci-user-agreement.pdf) includes a non-distribution condition, which is probably why the data has not turned up openly. The ACL hold copyright of this data; I'll mail them and anyone I can find at ECI to see if they'll open this up now. After all, it worked with Microsoft 3DMM, why not here too, after 28 years? :)
[ -1.2464003562927246, -0.8499329090118408, -0.771155595779419, 1.4389837980270386, -0.1077045202255249, -1.2642227411270142, 0.08414459228515625, -1.0445716381072998, 1.7319443225860596, -0.7795305252075195, 0.2945552468299866, -1.668710470199585, 0.11292529106140137, -0.569037675857544, -0.795926570892334, -0.8107821345329285, -0.37836989760398865, -0.8535260558128357, 1.0513018369674683, 2.537971258163452, 1.2138997316360474, -1.4401673078536987, 2.7527589797973633, 0.6533926725387573, -0.22538761794567108, -1.005435824394226, 0.48011618852615356, 0.010294951498508453, -1.3711565732955933, -0.42144039273262024, -1.0150318145751953, 0.007906939834356308, -0.539634644985199, -0.5511669516563416, 0.04511045664548874, 0.3291296362876892, -0.15998895466327667, -0.40860408544540405, -0.5387008190155029, -0.7357705235481262, 0.47262102365493774, -0.2702290713787079, 0.8814950585365295, -0.3050326406955719, 1.7720171213150024, -0.5896536111831665, 0.38041821122169495, 0.7131757140159607, 1.3812744617462158, 0.20769840478897095, -0.11746848374605179, 0.3334774971008301, 0.35517069697380066, -0.029920388013124466, 0.4974799156188965, 1.2372666597366333, 0.6933116912841797, 0.43467891216278076, 0.7486183047294617, -2.2523088455200195, 1.3781603574752808, -1.0453394651412964, 0.2672393023967743, 1.3339512348175049, -1.0058684349060059, 0.4293004870414734, -1.9114233255386353, -0.06235872954130173, 0.4627986550331116, -2.3066954612731934, 0.1880272477865219, -1.2896935939788818, -0.5190702080726624, 0.9523171782493591, 0.2725018262863159, -1.3166000843048096, 0.1924264132976532, -0.5122448205947876, 1.0359461307525635, 0.4806581139564514, 1.2476170063018799, -1.740903377532959, -0.11782686412334442, -0.29864367842674255, 0.22725318372249603, -1.3241705894470215, -1.5584114789962769, 0.551175057888031, 0.7144273519515991, 0.466323584318161, -0.06756570935249329, 0.9430095553398132, -0.9841856956481934, 0.8610484004020691, -0.9182556867599487, -1.7249510288238525, -1.3957895040512085, -2.2065377235412598, -2.304729700088501, 0.7779435515403748, -0.4846116900444031, -0.5285173654556274, 2.0735864639282227, -1.1003648042678833, -1.7738927602767944, 1.11601722240448, 0.24058040976524353, 0.027457116171717644, 2.451913833618164, 0.14553271234035492, -0.7733025550842285, 0.5262380838394165, -0.6671675443649292, 0.7851429581642151, -0.352428138256073, 1.388708233833313, 0.487970769405365, -1.0331943035125732, 1.6199556589126587, -0.2713109254837036, 0.4857727587223053, -0.6930469274520874, -0.523692786693573, -0.7576165199279785, 0.30685150623321533, 1.9303224086761475, -0.36802271008491516, 1.5891789197921753, -0.3697960674762726, -1.544315218925476, -1.522603988647461, 0.8819630742073059, 0.585256814956665, -0.8487496972084045, 0.08686766028404236, -0.39920440316200256, 0.10253851115703583, 0.03678930550813675, 1.0724034309387207, 1.2814399003982544, 0.7302091121673584, -0.306416779756546, -0.9086440205574036, 0.16201969981193542, -0.08457347005605698, -0.6602785587310791, -1.7857422828674316, -0.3285824954509735, 0.16519393026828766, 0.6823193430900574, -1.3158087730407715, 1.7228038311004639, 0.8578265905380249, 1.9760537147521973, 1.0434117317199707, -0.4118054509162903, 1.5221590995788574, 0.02532162331044674, 1.821779489517212, -0.47281649708747864, 0.6450591683387756, -0.3858256936073303, -1.204940915107727, 0.8206993341445923, -0.2984781861305237, -2.0355780124664307, -0.749775230884552, -0.8253361582756042, -0.1741316318511963, -0.7638782262802124, 0.9063984751701355, -0.3081570863723755, -1.4262317419052124, 0.2513068914413452, -0.6581015586853027, 0.12557601928710938, -1.2965314388275146, 0.2613435685634613, 0.7640838623046875, -0.6614727973937988, 0.09670473635196686, -0.2574922740459442, -1.361521601676941, -0.5400335192680359, 0.19798658788204193, 1.8427209854125977, -0.6749380826950073, 0.9522205591201782, 1.0515310764312744, -0.6684854030609131, -0.02832350879907608, 0.42807427048683167, -0.2750697433948517, 0.9133692979812622, -1.0372227430343628, -0.4360033869743347, 1.1239901781082153, -0.12707969546318054, -0.5391160845756531, 1.4208842515945435, 0.7047706842422485, -0.9456333518028259, -0.26817587018013, -0.11029009521007538, -0.9425666928291321, -0.024765396490693092, -1.627341389656067, -0.16794724762439728, 0.29555532336235046, -1.5347888469696045, -0.409989595413208, -0.2138974368572235, 1.317292332649231, -0.16513501107692719, 1.448265552520752, -0.37398266792297363, -0.21845796704292297, -0.38678327202796936, -0.364027202129364, 0.17257638275623322, -0.1775927096605301, -0.7117965817451477, 0.333860844373703, -0.7750019431114197, 0.32298770546913147, 1.4600582122802734, 0.4721784293651581, 0.018428532406687737, 0.5232409834861755, 1.1023907661437988, 0.35841771960258484, -0.037192944437265396, -0.8687762022018433, -1.5326124429702759, 2.0457167625427246, -1.5052518844604492, 1.9560091495513916, 0.8434277176856995, -0.09322232007980347, -1.7942332029342651, -1.8639552593231201, 1.392693042755127, 1.1585960388183594, 2.396698236465454, 0.5867145657539368, 0.43233075737953186, -0.7555528283119202, -0.629656970500946, 0.3676854372024536, -0.9886582493782043, -0.8553943037986755, 0.17123009264469147, 2.3721375465393066, 1.746583104133606, -0.47962749004364014, -0.23361842334270477, -0.9502661228179932, 1.331495761871338, -0.10122555494308472, 0.2041500061750412, 1.9405381679534912, -0.2331123799085617, -1.1673766374588013, 1.225240707397461, -2.2849957942962646, 0.2020188868045807, 2.044262647628784, 0.2669459581375122, 0.02111111953854561, -1.422306776046753, -0.6240537762641907, -0.1917828619480133, -0.4856727123260498, -1.198172688484192, 0.5499073266983032, -0.33006712794303894, -0.8566974997520447, -1.5277446508407593, 0.011268416419625282, -1.1732646226882935, -1.6489758491516113, 0.33434125781059265, 1.837250828742981, 2.0279088020324707, -0.7168816328048706, 1.4794657230377197, -0.29428553581237793, 0.18087343871593475, 1.1804155111312866, 1.1784764528274536, 3.097137212753296, 1.8474558591842651, -1.2988429069519043, 0.6708396077156067, -0.16654856503009796, -0.4456559121608734, 1.1132949590682983, -1.167166829109192, 1.1974183320999146, -0.1667911261320114, -1.248789668083191, -1.1556025743484497, 1.0082772970199585, 0.4487881660461426, 0.0003173435106873512, -0.5329510569572449, 1.1731098890304565, 0.061973318457603455, 1.2579498291015625, 0.5515695214271545, -0.3287569582462311, 0.5855175852775574, -0.4207518994808197, -0.5346026420593262, 1.6157208681106567, 0.06996369361877441, -1.443210244178772, -2.284832715988159, -0.22812700271606445, -0.828673779964447, 0.04715579003095627, -0.6522209644317627, -0.9537678956985474, 1.6711517572402954, 0.4230814278125763, -1.2781211137771606, -0.2911790609359741, -0.41067397594451904, -0.6152385473251343, 2.587780714035034, -1.4294147491455078, -0.21404333412647247, -0.9542884230613708, -0.5620169043540955, 1.591660976409912, -1.1547478437423706, -0.17488424479961395, -0.948682427406311, -0.5949056148529053, -1.3549044132232666, -0.5869524478912354, -0.04091522842645645, -0.8769386410713196, 0.6595011353492737, 0.15765777230262756, -1.0749962329864502, -0.36579856276512146, -0.852733850479126, 0.8521206974983215, -0.09738001227378845, 0.19736061990261078, 1.906843662261963, 0.41393229365348816, -0.4434005916118622, 0.6972157955169678, 1.1119035482406616, 0.6469893455505371, -0.4905868470668793, 0.17841646075248718, -0.6392982602119446, 0.3360897898674011, -1.3177082538604736, 0.33055582642555237, -2.8514277935028076, 0.7068004608154297, 0.02421043999493122, -0.019855588674545288, -0.020674336701631546, -1.2394354343414307, 1.1099110841751099, 2.5802555084228516, -1.1320230960845947, 0.3983845114707947, 0.37026092410087585, 1.164864420890808, -1.5980565547943115, 0.24191585183143616, -0.49711206555366516, 2.2034401893615723, 0.1885671466588974, 1.1437655687332153, -0.4768171012401581, -2.283282995223999, 0.5673364400863647, -1.1734322309494019, -1.1035302877426147, 0.7267075181007385, -0.8011106848716736, 0.021951105445623398, -1.343567967414856, -0.18708844482898712, -0.914829432964325, -1.1572011709213257, 0.7783235311508179, 0.09282489120960236, 0.5071902871131897, -0.6437129378318787, 0.2761339843273163, -2.0911788940429688, -1.3725801706314087, -0.1993260234594345, -1.0092012882232666, 0.44766396284103394, -0.3151925504207611, 0.7069913744926453, -0.10737616568803787, 0.03970298916101456, 0.28603988885879517, 1.3309872150421143, 3.3179526329040527, 0.2284282147884369, 0.3829123377799988, -0.2503117322921753, -0.999274492263794, 1.4321709871292114, 0.9583582282066345, -0.1122087761759758, -0.633800208568573, -1.0030622482299805, 1.252211093902588, 1.9947088956832886, 1.0513392686843872, 0.11489026248455048, -0.8118821978569031, -0.731206476688385, 0.07337910681962967, 0.24468055367469788, 0.5207622647285461, 0.9728894829750061, 0.0568968802690506, 0.17012231051921844, 1.4156526327133179, 1.2151566743850708, -0.47234734892845154, 0.4579850435256958, -0.8259820342063904, -0.48518046736717224, 0.4715902805328369, 0.3250226378440857, -0.05839644372463226, 0.41669464111328125, -1.0956239700317383, -0.2704949975013733, -0.3444761037826538, -1.0340392589569092, -0.7239515781402588, -0.34268128871917725, -0.32894614338874817, 1.6590769290924072, 0.08476898074150085, -0.43027377128601074, -0.013005493208765984, -0.7941473722457886, -0.13375891745090485, -1.0467158555984497, 0.31638431549072266, -0.18866950273513794, 0.004807678051292896, -0.10665033757686615, 1.8000531196594238, -0.8174180388450623, -2.0971484184265137, 0.22939267754554749, 0.234685018658638, -0.39520683884620667, 0.2079629749059677, 1.6760082244873047, 0.48304593563079834, 1.462672472000122, 1.4202940464019775, 0.9194660782814026, -0.6636238098144531, -1.2879421710968018, 0.6308765411376953, 0.9347352385520935, -1.4045852422714233, 0.8480775952339172, -0.04929126054048538, -0.520992636680603, 0.6659159660339355, 1.393082857131958, 0.4150882959365845, -2.0276100635528564, 0.8814690709114075, -0.873204231262207, 0.6928974390029907, 0.6199445128440857, 0.7329338788986206, 0.17420223355293274, 0.8963996171951294, -1.2333523035049438, -1.1395635604858398, -0.7329676151275635, -0.6343563795089722, 1.870463252067566, -0.2148158848285675, 0.5403271913528442, -0.12045934796333313, -1.2557204961776733, -0.10074944794178009, 0.6900513172149658, 0.3079434633255005, -0.4180181622505188, 0.7840250134468079, -0.6855306625366211, -1.1849324703216553, -1.386660099029541, -0.5086270570755005, -0.9458678960800171, -0.8668054938316345, 1.0516420602798462, 0.8371909260749817, 0.25954192876815796, 1.9625153541564941, 0.5521617531776428, 0.11713553220033646, -2.70125675201416, 0.8119080066680908, 0.37259000539779663, -0.030206531286239624, 0.9719769358634949, 0.2671881318092346, 1.0338411331176758, -0.02697928622364998, 0.5858827233314514, -2.2885494232177734, 2.2729146480560303, -0.23809285461902618, 0.8365930914878845, -0.02829323709011078, -0.18469414114952087, 1.079345703125, 0.5599710941314697, 0.6276543736457825, -1.153536319732666, 0.7040730118751526, -0.6440606713294983, 1.2325321435928345, 0.8824849128723145, -0.7990689873695374, 0.04295416176319122, 1.233862042427063, 0.49043896794319153, -0.4404118061065674, -0.8850579261779785, -0.8962880373001099, 0.9271578192710876, 1.8192830085754395, -0.07090144604444504, 0.1194683238863945, 0.8813718557357788, 0.6675071716308594, -1.3719106912612915, 0.05814091116189957, -0.7423504590988159, -0.8024860620498657, 1.5861785411834717, 2.1058645248413086, -0.10374028235673904, -0.18266743421554565, -0.7054271101951599, -1.2488114833831787, 0.7891992926597595, 0.00501630362123251, 0.15085212886333466, 0.659755527973175, -0.6697310209274292, 1.2263648509979248, 0.8321219682693481, 0.9334853291511536, 0.24747571349143982, 0.2861258387565613, 0.2980921268463135, -0.23287275433540344, -1.1169630289077759, -0.2139097899198532, -1.0454834699630737, -2.5614335536956787, 0.465835839509964, -0.236938938498497, -1.4812145233154297, 0.046903401613235474, -0.9012601971626282, 0.7630492448806763, -0.5006644129753113, -1.1697787046432495, -1.4118196964263916, 0.2287093549966812, -0.19397129118442535, 0.8992928266525269, -1.6124317646026611, -0.06660401076078415, 1.2061407566070557, 0.9912903308868408, -0.5925052762031555, 0.9537817239761353, 0.25905466079711914, 0.9852254390716553, 0.9202095866203308, -0.3975699543952942, 0.44970425963401794, 0.1985323131084442, -1.2970879077911377, 0.42347288131713867, 1.175710678100586, 0.21854029595851898, 1.4388608932495117, -0.5720074772834778, 0.0002771737053990364, 0.4455122649669647, -0.4170263111591339, -0.43974214792251587, -0.6610513925552368, 0.7508068084716797, -0.04071474075317383, -0.9264123439788818, 0.0739278718829155, -0.11089559644460678, -0.22187581658363342, 0.2626708447933197, -1.4684396982192993, -0.19860625267028809, -0.4106530547142029, -0.5640462636947632, -1.2706056833267212, -0.05890819430351257, 1.3562201261520386, -0.8806753754615784, -0.19815465807914734, 0.4575883448123932, 0.39101260900497437, 0.5849712491035461, 0.6944923400878906, -0.6568763256072998, -0.4801277816295624, -0.18527285754680634, -0.43428632616996765, 0.40333443880081177, 1.2865053415298462, -0.12952440977096558, -0.9938818216323853, 0.7236999273300171, -0.3097570836544037, -0.012216723524034023, 1.9616974592208862, 0.09812773764133453, -0.7726948857307434, 0.3164917230606079, -0.6503878235816956, 1.9170407056808472, 1.7285261154174805, 1.3640626668930054, -0.20358291268348694, -0.9456287026405334, 0.6146889925003052, -0.24099665880203247, -0.36608150601387024, 0.9271402955055237, 0.38382676243782043, -0.15144284069538116, -1.4568531513214111, 0.5639811754226685, 1.2894505262374878, -0.8940243721008301, -0.748471200466156, 0.03334873169660568, -0.7921979427337646, 1.126055359840393, 0.7102530598640442, 0.3589937388896942, 0.22305716574192047, 1.6220990419387817, 0.7557074427604675, -0.46592259407043457, 0.4796030521392822, 0.5055863261222839, -0.14278671145439148, -2.17647385597229, -1.076572299003601, 0.21018803119659424, -0.33128395676612854, -1.494300365447998, 1.3473697900772095, -1.1989178657531738, -0.9710389375686646, 0.45955753326416016, 0.06631148606538773, 1.3912469148635864, 0.26808634400367737, 1.698185920715332, 2.13632869720459, 0.8911531567573547, 0.3280913233757019, 1.2907226085662842, -0.08513540029525757, -0.3906944692134857, 1.8357082605361938, -0.5031450986862183, 0.5124176740646362, 1.1035131216049194, -0.3772706091403961, -1.034643530845642, -0.7551323771476746, -1.1748895645141602, -0.6810946464538574, 1.1966285705566406, 0.06344582885503769, -1.1254684925079346, 0.22641310095787048, 1.5773725509643555, 0.1047050952911377, -0.3038477599620819, 0.5307247638702393, 0.4967043995857239, -0.6718772649765015, -0.085429847240448, -0.9457677602767944, 0.48430219292640686, -0.21002325415611267, -0.3852728307247162, 0.3436107933521271, 0.43903040885925293, 1.1930384635925293, 0.019774802029132843, 0.09398654848337173, 1.2718477249145508, -1.4646703004837036, 1.429702877998352, -0.6621714234352112, 0.3038630187511444, -2.448011636734009, 1.4761431217193604, -0.8220492601394653, 1.9495991468429565, -2.6491026878356934, 0.4155432879924774, -0.5766841173171997, -0.454043447971344, 0.3102724850177765, -0.33109962940216064, 0.10910125076770782, -0.20396383106708527, -1.0043525695800781, -0.16374363005161285, -0.7910770177841187, 0.5517393350601196, 1.1145238876342773, 1.2959680557250977, -0.9963697791099548, -0.29502829909324646, -1.7445181608200073, -0.18219944834709167, -0.5948176980018616, 0.25012362003326416, -1.9191192388534546, -0.20175974071025848, -2.05867338180542, -2.381859540939331, -1.3907926082611084, -0.8385623097419739, 1.0931705236434937, 0.15472202003002167, -0.8863788843154907, 1.0589618682861328, -0.4187201261520386, -1.8158122301101685, 1.1152381896972656, -2.109567165374756 ]
https://github.com/huggingface/datasets/issues/4221
Dictionary Feature
Hi @jordiae, Instead of the `Sequence` feature, you can use just a regular list: put the dict between `[` and `]`: ```python "list_of_dict_feature": [ { "key1_in_dict": datasets.Value("string"), "key2_in_dict": datasets.Value("int32"), ... } ], ``` Feel free to re-open this issue if that does not work for your use case.
Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something? Thank you in advance.
787
48
Dictionary Feature Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something? Thank you in advance. Hi @jordiae, Instead of the `Sequence` feature, you can use just a regular list: put the dict between `[` and `]`: ```python "list_of_dict_feature": [ { "key1_in_dict": datasets.Value("string"), "key2_in_dict": datasets.Value("int32"), ... } ], ``` Feel free to re-open this issue if that does not work for your use case.
[ -1.1400914192199707, -0.8772168755531311, -0.8551422953605652, 1.5044422149658203, -0.198370561003685, -1.2533427476882935, 0.1940428465604782, -1.189631700515747, 1.695700764656067, -0.9096044898033142, 0.4477466344833374, -1.5953903198242188, 0.10220874100923538, -0.6750271320343018, -0.7373643517494202, -0.9838318824768066, -0.37550246715545654, -0.6850598454475403, 0.9016016125679016, 2.4172987937927246, 1.1752564907073975, -1.3772859573364258, 2.559098243713379, 0.7771561145782471, -0.15942299365997314, -1.013519048690796, 0.47028958797454834, -0.016099918633699417, -1.1407045125961304, -0.4271973967552185, -1.0052846670150757, -0.13603496551513672, -0.5728628039360046, -0.5404163599014282, -0.1242329403758049, 0.491577684879303, -0.424954354763031, -0.420329749584198, -0.5179003477096558, -0.9350985288619995, 0.4577488899230957, -0.39636218547821045, 0.9720928072929382, -0.39879992604255676, 1.8377362489700317, -0.5573108792304993, 0.423960417509079, 0.7537815570831299, 1.3512277603149414, 0.14810915291309357, -0.08439892530441284, 0.24020422995090485, 0.38862553238868713, -0.06066440790891647, 0.4739038348197937, 1.0314613580703735, 0.5578886866569519, 0.5767340660095215, 0.7945653796195984, -2.2346291542053223, 1.2904541492462158, -1.1943118572235107, 0.2364337146282196, 1.393757700920105, -0.9333215355873108, 0.28053197264671326, -1.8458006381988525, -0.09636370837688446, 0.5327866077423096, -2.297499179840088, 0.3275635242462158, -1.343275785446167, -0.5604993104934692, 0.9983248710632324, 0.4916108250617981, -1.163862943649292, 0.07339727878570557, -0.20759297907352448, 0.915367066860199, 0.4842011630535126, 0.9523258805274963, -1.673113226890564, 0.06657907366752625, -0.4052603840827942, 0.13284990191459656, -1.2994732856750488, -1.4674639701843262, 0.616806149482727, 0.5429231524467468, 0.5718892812728882, 0.007500216364860535, 0.9825134873390198, -1.0546841621398926, 0.8004787564277649, -1.046723484992981, -1.6069871187210083, -1.3631407022476196, -2.2746543884277344, -2.2514965534210205, 0.7654473781585693, -0.49529746174812317, -0.5660206079483032, 2.042179822921753, -1.002606987953186, -1.6323529481887817, 1.148061752319336, 0.26970478892326355, -0.0008608158677816391, 2.428313970565796, 0.13885439932346344, -0.7286242842674255, 0.4761214256286621, -0.7845177054405212, 0.8162744045257568, -0.43497005105018616, 1.3859988451004028, 0.503399133682251, -1.0414317846298218, 1.6781686544418335, -0.3063105344772339, 0.5513486266136169, -0.5517982840538025, -0.577978253364563, -0.7128936648368835, 0.4296383559703827, 1.7784080505371094, -0.26240864396095276, 1.445810317993164, -0.29951196908950806, -1.4613789319992065, -1.6056803464889526, 1.057424783706665, 0.5206317901611328, -0.754423975944519, 0.14643272757530212, -0.34160587191581726, 0.15969042479991913, -0.13173311948776245, 1.2232294082641602, 1.2852102518081665, 0.7365949153900146, -0.2275763303041458, -0.8553695678710938, 0.1726469099521637, -0.04180876165628433, -0.8398321866989136, -1.7547821998596191, -0.3523629307746887, 0.14651241898536682, 0.6356372237205505, -1.0842995643615723, 1.8141744136810303, 0.8991060256958008, 1.8865890502929688, 0.9553786516189575, -0.3189952075481415, 1.4295105934143066, -0.05983477830886841, 1.8185545206069946, -0.45870450139045715, 0.67299485206604, -0.2880663275718689, -1.0817327499389648, 0.8494189381599426, -0.258124440908432, -2.054410934448242, -0.7887887954711914, -0.8780441284179688, -0.09661414474248886, -0.6856376528739929, 1.0955735445022583, -0.31007322669029236, -1.36553156375885, 0.20832349359989166, -0.7522436380386353, 0.005832072347402573, -1.286590814590454, 0.3829505443572998, 0.6400690078735352, -0.678074836730957, 0.0745832771062851, -0.19606195390224457, -1.230871558189392, -0.47250378131866455, 0.30050501227378845, 1.9560198783874512, -0.7928739786148071, 0.74446702003479, 1.0174702405929565, -0.7722770571708679, -0.0033289347775280476, 0.29765501618385315, -0.38079172372817993, 0.7927950620651245, -0.9865486025810242, -0.49142321944236755, 1.284181833267212, -0.13483229279518127, -0.66070157289505, 1.4512676000595093, 0.6941983699798584, -0.9807043671607971, -0.12613193690776825, -0.27247896790504456, -0.689271867275238, 0.11299362033605576, -1.526015043258667, 0.014059603214263916, 0.4729321599006653, -1.5021474361419678, -0.40725651383399963, -0.12295655906200409, 1.3405077457427979, -0.21810249984264374, 1.3757500648498535, -0.3578493297100067, -0.17584848403930664, -0.4240899085998535, -0.33055612444877625, 0.11339646577835083, -0.1588868945837021, -0.5409277081489563, 0.19160211086273193, -0.7406590580940247, 0.38115766644477844, 1.3504369258880615, 0.2281958907842636, 0.12983012199401855, 0.5005712509155273, 1.0517079830169678, 0.35841667652130127, 0.028748424723744392, -0.922131359577179, -1.3898837566375732, 1.9541367292404175, -1.459992527961731, 1.9951971769332886, 0.6443555355072021, -0.04415057599544525, -1.81325364112854, -1.981328010559082, 1.4656128883361816, 1.2308672666549683, 2.259430170059204, 0.5819369554519653, 0.36491236090660095, -0.8350139856338501, -0.5919032096862793, 0.40001705288887024, -1.024137020111084, -0.6536769866943359, 0.14815719425678253, 2.282315254211426, 1.694092035293579, -0.4435140788555145, -0.26519709825515747, -1.0640370845794678, 1.3825361728668213, -0.16612395644187927, 0.17845697700977325, 1.9652464389801025, -0.40668657422065735, -1.1677874326705933, 1.2684513330459595, -2.3443305492401123, 0.051221661269664764, 2.011814594268799, 0.22547461092472076, 0.07212667167186737, -1.3170355558395386, -0.6449028849601746, -0.2870596647262573, -0.49524223804473877, -1.2243258953094482, 0.5068418383598328, -0.24184851348400116, -0.8352492451667786, -1.381881594657898, 0.3400835692882538, -1.0762741565704346, -1.5997458696365356, 0.30157777667045593, 1.8195791244506836, 2.0870048999786377, -0.8378705382347107, 1.5910531282424927, -0.18016918003559113, 0.16088394820690155, 1.2536088228225708, 1.2219699621200562, 3.023454189300537, 1.9005298614501953, -1.2205346822738647, 0.591952383518219, -0.10609954595565796, -0.5436822772026062, 1.2504466772079468, -1.1996510028839111, 1.2503383159637451, -0.14381928741931915, -1.0975353717803955, -1.2502275705337524, 0.8223870396614075, 0.41494542360305786, 0.11709796637296677, -0.49905115365982056, 1.15269136428833, 0.13527753949165344, 1.3065508604049683, 0.5489127039909363, -0.20058803260326385, 0.6553182005882263, -0.47187551856040955, -0.5044617056846619, 1.588423728942871, 0.23590469360351562, -1.4113558530807495, -2.347074031829834, -0.12359242886304855, -0.7678601741790771, 0.04465053230524063, -0.5485563278198242, -0.9688454270362854, 1.84751558303833, 0.30633345246315, -1.2505462169647217, -0.25566643476486206, -0.3597208857536316, -0.5759968161582947, 2.8190741539001465, -1.3366968631744385, -0.27357426285743713, -1.032516598701477, -0.6488716006278992, 1.790453553199768, -1.1510409116744995, -0.11273790895938873, -1.108903408050537, -0.5107920169830322, -1.3519117832183838, -0.5699108839035034, 0.036161839962005615, -0.9802374839782715, 0.826177716255188, 0.27143630385398865, -1.2137852907180786, -0.39606887102127075, -0.8492380380630493, 0.8026743531227112, -0.10195270925760269, 0.2623763084411621, 1.8520845174789429, 0.38348451256752014, -0.27552372217178345, 0.668893039226532, 1.122761845588684, 0.6517392992973328, -0.512977659702301, 0.32010385394096375, -0.5807769298553467, 0.26329267024993896, -1.2891119718551636, 0.31389203667640686, -2.864241600036621, 0.6870376467704773, -0.11701679974794388, -0.20035143196582794, -0.07935760170221329, -1.442564845085144, 1.163509726524353, 2.6524360179901123, -1.3056806325912476, 0.4790429174900055, 0.2587616443634033, 1.1764955520629883, -1.5183072090148926, 0.36081787943840027, -0.43849658966064453, 2.1772303581237793, 0.16059668362140656, 1.2137798070907593, -0.4207354485988617, -2.2562031745910645, 0.7622334361076355, -1.2369714975357056, -1.2701746225357056, 0.7267188429832458, -0.8968306183815002, 0.09015418589115143, -1.373112440109253, -0.22805005311965942, -0.8367493748664856, -1.2373377084732056, 0.7829692363739014, 0.16880233585834503, 0.5259308218955994, -0.5676514506340027, 0.311497300863266, -2.2298953533172607, -1.4896939992904663, -0.27306118607521057, -1.0097366571426392, 0.46070006489753723, -0.3176298439502716, 0.7490636706352234, -0.2261081039905548, 0.09025326371192932, 0.36300981044769287, 1.4982764720916748, 3.510284662246704, 0.19868595898151398, 0.4069749414920807, -0.2668991684913635, -0.904888927936554, 1.4867570400238037, 0.9754721522331238, 0.056272730231285095, -0.5524730682373047, -0.9854669570922852, 1.1992510557174683, 1.9821397066116333, 0.902673065662384, 0.04804635047912598, -0.8184624314308167, -0.6010035872459412, -0.06591826677322388, 0.29682064056396484, 0.39196130633354187, 0.8311005234718323, 0.03869139403104782, -0.022081900388002396, 1.4228646755218506, 1.2119991779327393, -0.4498484134674072, 0.30966052412986755, -0.8351078033447266, -0.38167598843574524, 0.5713973045349121, 0.28588297963142395, 0.010768670588731766, 0.4295613169670105, -0.9395332932472229, -0.2792692482471466, -0.3086000978946686, -0.8817037343978882, -0.6769118309020996, -0.44811713695526123, -0.43605101108551025, 1.717430830001831, 0.11457956582307816, -0.5396418571472168, -0.020567359402775764, -0.7386161684989929, -0.06283232569694519, -1.1018887758255005, 0.1441630870103836, -0.13952794671058655, -0.12931711971759796, -0.15810491144657135, 1.8175870180130005, -0.8870582580566406, -2.0787899494171143, 0.20893894135951996, 0.28184670209884644, -0.3403165638446808, 0.30395811796188354, 1.5934443473815918, 0.5135252475738525, 1.4975273609161377, 1.3173505067825317, 1.0237473249435425, -0.6483359336853027, -1.286444067955017, 0.6664714217185974, 1.0396093130111694, -1.4333076477050781, 0.7749992609024048, 0.1402921974658966, -0.4738633632659912, 0.564579427242279, 1.1642520427703857, 0.5007376670837402, -1.9824820756912231, 0.7180669903755188, -0.9448738098144531, 0.8382731676101685, 0.6156735420227051, 0.6030445098876953, 0.2244226634502411, 0.9088363647460938, -1.1429680585861206, -1.1181024312973022, -0.7288824319839478, -0.7245886921882629, 1.9485626220703125, -0.35348543524742126, 0.659834086894989, -0.14888614416122437, -1.299263596534729, -0.0763603001832962, 0.7610123157501221, 0.4022248685359955, -0.37857455015182495, 0.8832004070281982, -0.6831572651863098, -1.0184708833694458, -1.390671968460083, -0.3910857141017914, -1.0551984310150146, -0.9487652778625488, 1.1271741390228271, 0.7750505208969116, 0.22234775125980377, 1.8980598449707031, 0.713016152381897, 0.2809862792491913, -2.5588958263397217, 0.8843411207199097, 0.3583318591117859, -0.08767189830541611, 0.8004048466682434, 0.38344642519950867, 1.084980845451355, -0.11081253737211227, 0.5200791358947754, -2.4157345294952393, 2.3809878826141357, -0.23368607461452484, 0.678790807723999, 0.0556304007768631, -0.15047521889209747, 1.0534117221832275, 0.49469929933547974, 0.5110642910003662, -1.0651345252990723, 0.6190593838691711, -0.5978145003318787, 1.333100438117981, 0.8997421264648438, -0.7575820684432983, -0.07437295466661453, 1.3445684909820557, 0.5906287431716919, -0.5249565243721008, -0.9165547490119934, -0.9833126664161682, 0.8590257167816162, 1.6292816400527954, -0.16058097779750824, -0.033719830214977264, 0.8460598587989807, 0.600135326385498, -1.2086584568023682, 0.006565522402524948, -0.8291921615600586, -0.798927903175354, 1.6837559938430786, 2.052868127822876, -0.24233931303024292, -0.17676714062690735, -0.7752576470375061, -1.258362889289856, 0.800604522228241, -0.036105506122112274, 0.08227795362472534, 0.43171218037605286, -0.5717173218727112, 1.0515583753585815, 0.8980812430381775, 0.8162283897399902, 0.2363356649875641, 0.3266488015651703, 0.5148635506629944, -0.3592280447483063, -1.1085476875305176, -0.25001728534698486, -1.127195119857788, -2.6546430587768555, 0.47402504086494446, -0.28983694314956665, -1.346626877784729, -0.03597887605428696, -1.009896159172058, 0.9385908842086792, -0.5286272764205933, -1.052194595336914, -1.52099609375, 0.2451338917016983, -0.004754882305860519, 0.9868035316467285, -1.6181156635284424, -0.13572032749652863, 1.3195488452911377, 0.9031599760055542, -0.8859086632728577, 0.9179938435554504, 0.23418673872947693, 1.2005544900894165, 0.8150320649147034, -0.46277379989624023, 0.5452694892883301, -0.0191631019115448, -1.3870965242385864, 0.5090677738189697, 1.1632601022720337, 0.07050482928752899, 1.4995027780532837, -0.35576289892196655, -0.03778183087706566, 0.33425819873809814, -0.5420114994049072, -0.5834211707115173, -0.567223072052002, 0.6881660223007202, 0.056770943105220795, -0.9428192377090454, 0.06459490954875946, 0.061963632702827454, -0.29258888959884644, 0.22913654148578644, -1.5911428928375244, -0.18227337300777435, -0.455280601978302, -0.5775906443595886, -1.2665598392486572, -0.09868843108415604, 1.2868690490722656, -0.5856099724769592, -0.16340972483158112, 0.42771828174591064, 0.3718172311782837, 0.49980592727661133, 0.5860645174980164, -0.6502421498298645, -0.4118388295173645, -0.3665611147880554, -0.42078229784965515, 0.41535675525665283, 1.3495218753814697, -0.1481267660856247, -0.9649235010147095, 0.7791433930397034, -0.24279431998729706, 0.005806054919958115, 1.8666131496429443, 0.06157834827899933, -0.8899790048599243, 0.22099569439888, -0.6516597270965576, 1.907941460609436, 1.7197016477584839, 1.2242048978805542, -0.16478519141674042, -0.9579319953918457, 0.699306309223175, -0.3906603753566742, -0.45107635855674744, 0.8521512150764465, 0.3686024248600006, -0.14606277644634247, -1.4290977716445923, 0.7409247756004333, 1.2699111700057983, -0.8143437504768372, -0.90468829870224, 0.10656499117612839, -0.795133650302887, 1.0194077491760254, 0.681390106678009, 0.47073525190353394, 0.36444318294525146, 1.7005013227462769, 0.8035484552383423, -0.43161311745643616, 0.47259530425071716, 0.5864527225494385, -0.20849837362766266, -2.1029276847839355, -1.2799097299575806, 0.3796270191669464, -0.6280208826065063, -1.5928820371627808, 1.3720217943191528, -1.1014039516448975, -0.9442336559295654, 0.5436349511146545, 0.017479391768574715, 1.4976673126220703, 0.42695116996765137, 1.5531119108200073, 1.9681687355041504, 0.8441370129585266, 0.4327203333377838, 1.3759113550186157, -0.25311246514320374, -0.4309103786945343, 1.8766460418701172, -0.53424471616745, 0.416988730430603, 1.1592092514038086, -0.25312262773513794, -1.091836929321289, -0.7751293182373047, -1.2228949069976807, -0.6772872805595398, 1.1957648992538452, 0.06381067633628845, -1.2201361656188965, 0.3138089179992676, 1.6185368299484253, 0.06713864952325821, -0.3845136761665344, 0.5685561895370483, 0.30490127205848694, -0.9148079752922058, -0.007524593733251095, -0.9077319502830505, 0.6257261037826538, -0.15104173123836517, -0.33111879229545593, 0.4578307867050171, 0.42662930488586426, 1.2952567338943481, -0.17606331408023834, 0.2737879753112793, 1.006113052368164, -1.4391518831253052, 1.5391525030136108, -0.6845691204071045, 0.24635885655879974, -2.2883684635162354, 1.2843660116195679, -0.7414058446884155, 1.9381542205810547, -2.6800525188446045, 0.4015777111053467, -0.49800679087638855, -0.515552282333374, 0.2909649610519409, -0.41519683599472046, 0.1432974934577942, -0.1640898734331131, -1.2083125114440918, -0.11717231571674347, -0.6200590133666992, 0.4904491901397705, 1.0659687519073486, 1.3039270639419556, -1.0438592433929443, -0.3170991539955139, -1.6970688104629517, -0.14294016361236572, -0.750889778137207, 0.23775726556777954, -2.1540451049804688, -0.16977596282958984, -1.962966799736023, -2.3143656253814697, -1.306754469871521, -0.8230644464492798, 1.1241891384124756, 0.036068394780159, -0.8983688354492188, 1.1706987619400024, -0.275526225566864, -1.8464776277542114, 1.1389297246932983, -2.106550455093384 ]
https://github.com/huggingface/datasets/issues/4221
Dictionary Feature
> Hi @jordiae, > > Instead of the `Sequence` feature, you can use just a regular list: put the dict between `[` and `]`: > > ```python > "list_of_dict_feature": [ > { > "key1_in_dict": datasets.Value("string"), > "key2_in_dict": datasets.Value("int32"), > ... > } > ], > ``` > > Feel free to re-open this issue if that does not work for your use case. Thank you
Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something? Thank you in advance.
787
65
Dictionary Feature Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something? Thank you in advance. > Hi @jordiae, > > Instead of the `Sequence` feature, you can use just a regular list: put the dict between `[` and `]`: > > ```python > "list_of_dict_feature": [ > { > "key1_in_dict": datasets.Value("string"), > "key2_in_dict": datasets.Value("int32"), > ... > } > ], > ``` > > Feel free to re-open this issue if that does not work for your use case. Thank you
[ -1.1516427993774414, -0.8701102137565613, -0.8459853529930115, 1.4792612791061401, -0.191847562789917, -1.2779620885849, 0.20028460025787354, -1.211319088935852, 1.6941739320755005, -0.8831847310066223, 0.4363076090812683, -1.6372820138931274, 0.03386647254228592, -0.604735255241394, -0.7410030961036682, -1.0180414915084839, -0.38995882868766785, -0.7784219980239868, 0.8818883299827576, 2.4008913040161133, 1.2255803346633911, -1.3513916730880737, 2.5431838035583496, 0.7735615372657776, -0.2189691662788391, -0.9741925001144409, 0.5548094511032104, -0.056415483355522156, -1.1838791370391846, -0.46341562271118164, -0.9490138292312622, -0.17324122786521912, -0.6256097555160522, -0.5268680453300476, -0.1304200291633606, 0.42516034841537476, -0.41655993461608887, -0.30649644136428833, -0.49313321709632874, -0.9251233339309692, 0.3235410749912262, -0.4323662519454956, 0.9478366374969482, -0.3876919746398926, 1.7348154783248901, -0.557806134223938, 0.41814082860946655, 0.7373749017715454, 1.2695221900939941, 0.2116660177707672, -0.13091379404067993, 0.17881706357002258, 0.38470134139060974, -0.07545364648103714, 0.3985886573791504, 1.0277998447418213, 0.52189701795578, 0.5481284856796265, 0.8028591275215149, -2.2608401775360107, 1.295441746711731, -1.100374460220337, 0.21173825860023499, 1.388130784034729, -0.8477376103401184, 0.3060518503189087, -1.8735700845718384, -0.03273000568151474, 0.6066279411315918, -2.3882834911346436, 0.2969852387905121, -1.396105170249939, -0.616472065448761, 0.8738633394241333, 0.4617291986942291, -1.1892822980880737, -0.011981409974396229, -0.22419464588165283, 0.9151105284690857, 0.5338265299797058, 0.9661384224891663, -1.7453477382659912, 0.03454756736755371, -0.3861601650714874, 0.19172805547714233, -1.261983871459961, -1.5183244943618774, 0.6966906189918518, 0.5790538787841797, 0.5117934942245483, 0.016606515273451805, 0.9507394433021545, -0.9907254576683044, 0.6998467445373535, -0.9881967306137085, -1.6438978910446167, -1.3557909727096558, -2.2393054962158203, -2.2246882915496826, 0.6832334995269775, -0.601413369178772, -0.5665869116783142, 2.0503830909729004, -1.0281952619552612, -1.6930066347122192, 1.1340895891189575, 0.2605554759502411, 0.034865982830524445, 2.4813497066497803, 0.147596538066864, -0.7112966775894165, 0.47034764289855957, -0.7854796648025513, 0.8053954839706421, -0.41046297550201416, 1.4155374765396118, 0.4292665123939514, -1.0007370710372925, 1.7354552745819092, -0.35926353931427, 0.5318025946617126, -0.5828166007995605, -0.6089367866516113, -0.6765120029449463, 0.378400593996048, 1.8071303367614746, -0.23982170224189758, 1.5060323476791382, -0.22845712304115295, -1.4697750806808472, -1.6409471035003662, 1.0333744287490845, 0.4910621643066406, -0.8487666845321655, 0.24358528852462769, -0.4398886263370514, 0.150555819272995, -0.06086287274956703, 1.2575616836547852, 1.348509430885315, 0.7225028872489929, -0.23042741417884827, -0.8831189870834351, 0.1882704496383667, 0.0003910316154360771, -0.8071945905685425, -1.799735188484192, -0.29978954792022705, 0.12498383969068527, 0.7211450934410095, -1.041685700416565, 1.724855661392212, 0.8639781475067139, 1.9453800916671753, 0.9929473400115967, -0.29327255487442017, 1.4110106229782104, -0.01352657563984394, 1.7787113189697266, -0.5459312200546265, 0.6631825566291809, -0.34849438071250916, -1.012983798980713, 0.9248633980751038, -0.2989061772823334, -1.9146225452423096, -0.7193337678909302, -0.884824275970459, -0.10731583833694458, -0.7306193113327026, 1.093320608139038, -0.25806018710136414, -1.2848443984985352, 0.33388644456863403, -0.807388186454773, -0.054359499365091324, -1.2832995653152466, 0.4139742851257324, 0.6213807463645935, -0.5988989472389221, 0.04535694792866707, -0.24597400426864624, -1.261829137802124, -0.5389553904533386, 0.2276393473148346, 1.9908430576324463, -0.6820538640022278, 0.7625186443328857, 0.9850923418998718, -0.739234447479248, 0.012791305780410767, 0.3556228280067444, -0.333140105009079, 0.7962385416030884, -1.059643268585205, -0.4172273874282837, 1.254463791847229, -0.17463162541389465, -0.6162078380584717, 1.4017062187194824, 0.6363611817359924, -0.9724535942077637, -0.14667218923568726, -0.25262704491615295, -0.658077597618103, 0.14679524302482605, -1.6269199848175049, 0.03522177040576935, 0.4883049726486206, -1.5613468885421753, -0.4419803023338318, -0.09642627090215683, 1.3426886796951294, -0.17761877179145813, 1.3285077810287476, -0.30323687195777893, -0.07981182634830475, -0.4596204459667206, -0.32883408665657043, 0.056371718645095825, -0.2178041934967041, -0.5275797843933105, 0.19955816864967346, -0.8446630239486694, 0.33921656012535095, 1.409211277961731, 0.22261211276054382, 0.06914009898900986, 0.4013458788394928, 1.0415676832199097, 0.33358702063560486, -0.03567462041974068, -0.927549421787262, -1.41387140750885, 2.001905918121338, -1.4902536869049072, 2.026524305343628, 0.6337961554527283, -0.05455699563026428, -1.818095088005066, -2.0693068504333496, 1.4401451349258423, 1.1940081119537354, 2.245455741882324, 0.6740251779556274, 0.3557013273239136, -0.7819876670837402, -0.5940471887588501, 0.3318328261375427, -1.0031354427337646, -0.7102721333503723, 0.17356064915657043, 2.28544545173645, 1.5960099697113037, -0.5033172965049744, -0.2127957046031952, -0.9851923584938049, 1.3491486310958862, -0.10800375044345856, 0.14259377121925354, 1.9395320415496826, -0.3559420108795166, -1.240285873413086, 1.2586607933044434, -2.321995258331299, 0.044459883123636246, 2.0022482872009277, 0.17761161923408508, 0.15733233094215393, -1.225218653678894, -0.6925486922264099, -0.3116813898086548, -0.4616129994392395, -1.221193790435791, 0.5339464545249939, -0.2637704312801361, -0.8159072399139404, -1.4825159311294556, 0.35319647192955017, -0.969397246837616, -1.606390118598938, 0.24928981065750122, 1.809138536453247, 2.1525232791900635, -0.8639692664146423, 1.6047756671905518, -0.2968883216381073, 0.05289158970117569, 1.1859122514724731, 1.242843747138977, 3.0556135177612305, 1.8992860317230225, -1.2070338726043701, 0.5803218483924866, -0.07468914985656738, -0.547792911529541, 1.3444273471832275, -1.2197661399841309, 1.1622921228408813, -0.2325018048286438, -1.146941900253296, -1.2359634637832642, 0.8131506443023682, 0.39222294092178345, 0.10017413645982742, -0.5655542016029358, 1.2136306762695312, 0.041413117200136185, 1.3468765020370483, 0.5219013094902039, -0.18546754121780396, 0.679454505443573, -0.5516595840454102, -0.4314917325973511, 1.6300106048583984, 0.25054502487182617, -1.431482195854187, -2.382716655731201, -0.12772241234779358, -0.7907530665397644, 0.10621779412031174, -0.5425239205360413, -1.1131473779678345, 1.8347493410110474, 0.30836114287376404, -1.2091302871704102, -0.3154861629009247, -0.3990626335144043, -0.529279887676239, 2.7819488048553467, -1.3865580558776855, -0.23541367053985596, -1.010290503501892, -0.6188966035842896, 1.7265794277191162, -1.2341049909591675, -0.09236825257539749, -1.1179293394088745, -0.416376531124115, -1.3350930213928223, -0.5181679725646973, 0.04582600295543671, -0.9564975500106812, 0.7583687901496887, 0.3452126681804657, -1.254478931427002, -0.3350899815559387, -0.8774494528770447, 0.7639873623847961, -0.11447616666555405, 0.36514294147491455, 1.8875895738601685, 0.409913033246994, -0.29677844047546387, 0.6575355529785156, 1.1467688083648682, 0.5884056687355042, -0.5683591961860657, 0.21392768621444702, -0.5617027282714844, 0.350990891456604, -1.3260105848312378, 0.26492375135421753, -2.8598783016204834, 0.747146487236023, -0.04702696204185486, -0.1319705992937088, -0.004574369173496962, -1.4874255657196045, 1.1793185472488403, 2.7128562927246094, -1.32627534866333, 0.46346697211265564, 0.2198956310749054, 1.1915295124053955, -1.5231541395187378, 0.34171348810195923, -0.48029232025146484, 2.3240244388580322, 0.16319096088409424, 1.2091546058654785, -0.35912638902664185, -2.3918960094451904, 0.7367763519287109, -1.155746579170227, -1.304010033607483, 0.7028300762176514, -0.9309316873550415, -0.06874626129865646, -1.4418222904205322, -0.17907077074050903, -0.8972964286804199, -1.1652075052261353, 0.8865655064582825, 0.10377325117588043, 0.49241119623184204, -0.5781660079956055, 0.33165857195854187, -2.2538669109344482, -1.429161548614502, -0.2483629584312439, -0.9751905798912048, 0.4910784959793091, -0.3175590932369232, 0.8175441026687622, -0.28727176785469055, 0.12061315029859543, 0.4420403838157654, 1.4775582551956177, 3.536374807357788, 0.13262596726417542, 0.37864378094673157, -0.3086297810077667, -0.9084436893463135, 1.4564968347549438, 0.9666752219200134, 0.042005766183137894, -0.5060845613479614, -0.971795916557312, 1.225512146949768, 2.0101234912872314, 0.8331697583198547, 0.09033675491809845, -0.8760342597961426, -0.5064213871955872, -0.07158704102039337, 0.3370324373245239, 0.3718731701374054, 0.814913272857666, 0.07064303010702133, 0.023126956075429916, 1.339706540107727, 1.2275595664978027, -0.39088448882102966, 0.4091572165489197, -0.840175211429596, -0.34713879227638245, 0.6649583578109741, 0.3188093602657318, -0.0074666328728199005, 0.40911537408828735, -0.8334473371505737, -0.27433398365974426, -0.24594378471374512, -0.8386855125427246, -0.6700369119644165, -0.3950289487838745, -0.3007783889770508, 1.6779077053070068, 0.07205907255411148, -0.5285924673080444, 0.005940573289990425, -0.7721047401428223, -0.10646052658557892, -1.2094882726669312, 0.12886479496955872, -0.20308786630630493, -0.10396813601255417, -0.11804074048995972, 1.7170430421829224, -0.8326840400695801, -2.030221462249756, 0.26420846581459045, 0.38599252700805664, -0.5070298314094543, 0.3268822729587555, 1.6963342428207397, 0.5490481853485107, 1.5232080221176147, 1.2971537113189697, 1.0821263790130615, -0.6666825413703918, -1.1627378463745117, 0.6080929040908813, 0.9754634499549866, -1.392361044883728, 0.8892932534217834, 0.13184908032417297, -0.49478867650032043, 0.4771285057067871, 1.141627311706543, 0.5920574069023132, -1.9474151134490967, 0.7685878276824951, -0.9058036804199219, 0.898770272731781, 0.5955905318260193, 0.7435036301612854, 0.20193186402320862, 0.918794572353363, -1.1470412015914917, -1.0694974660873413, -0.7485560178756714, -0.6830548644065857, 1.8296551704406738, -0.30635231733322144, 0.5920311212539673, -0.21929171681404114, -1.2723157405853271, -0.10240986198186874, 0.746787428855896, 0.39238306879997253, -0.35220572352409363, 0.8957125544548035, -0.6327796578407288, -1.0425502061843872, -1.3161293268203735, -0.3507814407348633, -1.006274938583374, -0.990452766418457, 1.1687690019607544, 0.7590001821517944, 0.2742767333984375, 1.9280225038528442, 0.5695279836654663, 0.2006327211856842, -2.570202589035034, 0.9033021926879883, 0.3542490005493164, -0.09573021531105042, 0.9148946404457092, 0.44356822967529297, 1.1627814769744873, -0.1266745626926422, 0.5262461304664612, -2.3476145267486572, 2.340717077255249, -0.24880334734916687, 0.7034072279930115, 0.06788157671689987, -0.062020450830459595, 0.8817621469497681, 0.5065938234329224, 0.49672603607177734, -1.0458866357803345, 0.736209511756897, -0.6043330430984497, 1.2689099311828613, 0.9395779371261597, -0.7960086464881897, -0.015290208160877228, 1.28924560546875, 0.5740479826927185, -0.6071031093597412, -0.9311635494232178, -0.8192668557167053, 0.8508538007736206, 1.6423410177230835, -0.12508359551429749, -0.02121027186512947, 0.7331121563911438, 0.5945013165473938, -1.230118989944458, 0.01030796393752098, -0.7831910848617554, -0.8118498921394348, 1.6611049175262451, 1.9527904987335205, -0.14584052562713623, -0.12197796255350113, -0.8169164061546326, -1.3241827487945557, 0.8358616828918457, -0.02168571576476097, 0.07790083438158035, 0.4280482530593872, -0.564396321773529, 1.036246418952942, 0.8289631605148315, 0.8951055407524109, 0.25538742542266846, 0.4462306797504425, 0.6592767834663391, -0.37250518798828125, -1.0322874784469604, -0.2838827669620514, -1.1981357336044312, -2.6509151458740234, 0.5669646263122559, -0.3935528099536896, -1.3113954067230225, -0.15687295794487, -0.9427004456520081, 0.963437557220459, -0.5566741824150085, -0.9585497379302979, -1.4609919786453247, 0.15505450963974, -0.03983300179243088, 1.0295554399490356, -1.5439298152923584, -0.10966025292873383, 1.2952723503112793, 0.9285374879837036, -0.9241657257080078, 1.002625584602356, 0.30342069268226624, 1.2055119276046753, 0.8317577242851257, -0.4968888759613037, 0.5328192710876465, -0.014861000701785088, -1.3153334856033325, 0.496768057346344, 1.2258613109588623, 0.1665807068347931, 1.403116226196289, -0.3814454674720764, -0.1515127718448639, 0.32333505153656006, -0.4259988069534302, -0.5457149744033813, -0.5347001552581787, 0.6473711133003235, 0.07784180343151093, -0.972871720790863, -0.020951278507709503, 0.006149031221866608, -0.18679428100585938, 0.2570212781429291, -1.5776331424713135, -0.12851208448410034, -0.5059829354286194, -0.4756707549095154, -1.3008174896240234, -0.20068076252937317, 1.3782026767730713, -0.601158857345581, -0.11852347105741501, 0.42303428053855896, 0.3414655923843384, 0.4865245819091797, 0.5609996318817139, -0.6380637288093567, -0.40480443835258484, -0.44757458567619324, -0.47433921694755554, 0.39482712745666504, 1.260962963104248, -0.15040862560272217, -0.9863885045051575, 0.7388163208961487, -0.2303675413131714, 0.013855727389454842, 1.870482087135315, 0.039159804582595825, -0.9058704376220703, 0.10720066726207733, -0.5192809104919434, 1.8987056016921997, 1.718934178352356, 1.2413082122802734, -0.15982162952423096, -0.9982821941375732, 0.7846406102180481, -0.37971532344818115, -0.4740612804889679, 0.7417281270027161, 0.42634856700897217, -0.20189237594604492, -1.5246411561965942, 0.7227803468704224, 1.1993623971939087, -0.8996423482894897, -0.8744592070579529, 0.04292146489024162, -0.7678571343421936, 0.9791537523269653, 0.6929433941841125, 0.48284777998924255, 0.38405200839042664, 1.7344121932983398, 0.6817880272865295, -0.47990939021110535, 0.4845179319381714, 0.5261305570602417, -0.24024173617362976, -2.04905366897583, -1.349855661392212, 0.376895934343338, -0.5483953952789307, -1.5437835454940796, 1.3749080896377563, -1.1565630435943604, -0.9587857127189636, 0.4934399127960205, 0.08398084342479706, 1.4666450023651123, 0.3315808176994324, 1.6545121669769287, 1.9756921529769897, 0.7938154339790344, 0.3797186315059662, 1.3756579160690308, -0.23654162883758545, -0.4206111431121826, 1.8202255964279175, -0.4923945665359497, 0.4619945287704468, 1.2466641664505005, -0.25117528438568115, -1.0689607858657837, -0.8820009231567383, -1.2314215898513794, -0.7377789616584778, 1.2091721296310425, 0.06029082089662552, -1.2469419240951538, 0.33004525303840637, 1.6824415922164917, 0.039770882576704025, -0.3790331482887268, 0.571296215057373, 0.36462751030921936, -0.9263936877250671, -0.036991871893405914, -1.0086768865585327, 0.6765621900558472, -0.13632571697235107, -0.342199444770813, 0.4448128342628479, 0.42315515875816345, 1.3216118812561035, -0.07726247608661652, 0.2458188831806183, 1.0880531072616577, -1.3252270221710205, 1.4959516525268555, -0.6464117169380188, 0.18701043725013733, -2.250357151031494, 1.356685996055603, -0.715945839881897, 1.950640320777893, -2.6804604530334473, 0.43527257442474365, -0.47074639797210693, -0.4306810200214386, 0.28712740540504456, -0.38288676738739014, 0.20247739553451538, -0.27042528986930847, -1.1343523263931274, -0.12730461359024048, -0.5985682010650635, 0.4924156069755554, 1.0546506643295288, 1.3093928098678589, -1.014329433441162, -0.28854843974113464, -1.7419511079788208, -0.15408295392990112, -0.7762119770050049, 0.16914618015289307, -2.0925145149230957, -0.22395426034927368, -1.966752052307129, -2.3691861629486084, -1.3011573553085327, -0.7554179430007935, 1.0644880533218384, -0.014964683912694454, -0.8717520833015442, 1.2055034637451172, -0.28675100207328796, -1.8296359777450562, 1.1778794527053833, -2.022225856781006 ]
https://github.com/huggingface/datasets/issues/4217
Big_Patent dataset broken
Thanks for reporting. The issue seems not to be directly related to the dataset viewer or the `datasets` library, but instead to it being hosted on Google Drive. See related issues: https://github.com/huggingface/datasets/issues?q=is%3Aissue+is%3Aopen+drive.google.com To quote [@lhoestq](https://github.com/huggingface/datasets/issues/4075#issuecomment-1087362551): > PS: if possible, please try to not use Google Drive links in your dataset script, since Google Drive has download quotas and is not always reliable.
## Dataset viewer issue for '*big_patent*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)* *Unable to view because it says FileNotFound, also cannot download it through the python API* Am I the one who added this dataset ? No
788
62
Big_Patent dataset broken ## Dataset viewer issue for '*big_patent*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)* *Unable to view because it says FileNotFound, also cannot download it through the python API* Am I the one who added this dataset ? No Thanks for reporting. The issue seems not to be directly related to the dataset viewer or the `datasets` library, but instead to it being hosted on Google Drive. See related issues: https://github.com/huggingface/datasets/issues?q=is%3Aissue+is%3Aopen+drive.google.com To quote [@lhoestq](https://github.com/huggingface/datasets/issues/4075#issuecomment-1087362551): > PS: if possible, please try to not use Google Drive links in your dataset script, since Google Drive has download quotas and is not always reliable.
[ -1.1831920146942139, -1.0291643142700195, -0.7813833355903625, 1.3526580333709717, -0.16667428612709045, -1.1780461072921753, 0.04999861121177673, -1.0282924175262451, 1.67367684841156, -0.6589477062225342, 0.2286255955696106, -1.670219898223877, 0.00011534895747900009, -0.592600405216217, -0.7773006558418274, -0.8618038892745972, -0.4312152862548828, -0.8185715079307556, 0.8913396596908569, 2.579981803894043, 1.1463510990142822, -1.4001829624176025, 2.6586995124816895, 0.6678805947303772, -0.24586831033229828, -1.0355654954910278, 0.5801601409912109, 0.08748047798871994, -1.2221612930297852, -0.4262714087963104, -0.9519374370574951, -0.007116692140698433, -0.5214241147041321, -0.47398531436920166, 0.10580743104219437, 0.39608296751976013, -0.17044898867607117, -0.21392907202243805, -0.608692467212677, -0.7746520042419434, 0.4756993353366852, -0.410132497549057, 0.9571012854576111, -0.35624969005584717, 1.8354212045669556, -0.623927652835846, 0.33346807956695557, 0.6352803111076355, 1.3467546701431274, 0.08321180194616318, -0.0908428505063057, 0.3227322995662689, 0.37503117322921753, -0.011282786726951599, 0.35902851819992065, 1.0536760091781616, 0.590046226978302, 0.4487798511981964, 0.6619560718536377, -2.1901514530181885, 1.3502123355865479, -0.9224191308021545, 0.25947514176368713, 1.4058383703231812, -0.97664475440979, 0.3944641649723053, -1.8181463479995728, -0.0794299840927124, 0.5977153778076172, -2.3694238662719727, 0.19647671282291412, -1.2727988958358765, -0.5435478687286377, 0.9441124200820923, 0.2885745167732239, -1.302985429763794, 0.1830386072397232, -0.5568792223930359, 1.0869324207305908, 0.5383493304252625, 1.1686375141143799, -1.70558762550354, -0.07175581157207489, -0.2107013314962387, 0.07068736106157303, -1.4679163694381714, -1.4946032762527466, 0.6527934670448303, 0.6593742966651917, 0.6749526262283325, -0.1014409065246582, 0.8945956230163574, -0.9745293855667114, 0.8329617977142334, -0.9854233860969543, -1.6048835515975952, -1.3852524757385254, -2.2959108352661133, -2.3163862228393555, 0.8077799677848816, -0.45567190647125244, -0.5207961797714233, 1.9274466037750244, -1.0064923763275146, -1.7779500484466553, 1.1898338794708252, 0.2462170273065567, 0.06788503378629684, 2.3787484169006348, 0.16545234620571136, -0.6338390111923218, 0.4056518077850342, -0.6513690948486328, 0.9137289524078369, -0.28497442603111267, 1.4818700551986694, 0.6328891515731812, -1.089699387550354, 1.6213933229446411, -0.46425434947013855, 0.5020433664321899, -0.6714622378349304, -0.6153112053871155, -0.8815751671791077, 0.40762901306152344, 1.928255558013916, -0.43834149837493896, 1.602498173713684, -0.4291401505470276, -1.5407994985580444, -1.5352610349655151, 0.9233585000038147, 0.62990802526474, -0.8478235006332397, 0.013242640532553196, -0.3786352872848511, 0.08001642674207687, -0.09630773216485977, 1.0929778814315796, 1.1822528839111328, 0.5834860801696777, -0.2434329092502594, -0.9108829498291016, 0.2040981650352478, -0.15760470926761627, -0.7027058601379395, -1.8710613250732422, -0.3705458343029022, 0.24119438230991364, 0.640977680683136, -1.268613338470459, 1.6594727039337158, 0.873043417930603, 1.9294734001159668, 0.9667551517486572, -0.3555523157119751, 1.3471970558166504, -0.06205316260457039, 1.8451735973358154, -0.6746709942817688, 0.6471838355064392, -0.29900819063186646, -1.0412675142288208, 0.8038634657859802, -0.38390806317329407, -2.0179443359375, -0.8092660307884216, -0.8899721503257751, -0.29758670926094055, -0.7207337021827698, 0.900002658367157, -0.28434523940086365, -1.3769868612289429, 0.19909417629241943, -0.6753048896789551, 0.13796794414520264, -1.2506920099258423, 0.23661884665489197, 0.7459214925765991, -0.6365088224411011, -0.109778493642807, -0.15493308007717133, -1.335251808166504, -0.503770112991333, 0.30100372433662415, 1.9767732620239258, -0.726321816444397, 0.9771789312362671, 0.9201450347900391, -0.8064206838607788, 0.0988982766866684, 0.3341125249862671, -0.26839593052864075, 0.847720742225647, -1.11556875705719, -0.3649541437625885, 1.0623639822006226, -0.1739145815372467, -0.6241230368614197, 1.467043399810791, 0.7821437120437622, -1.037647008895874, -0.21139971911907196, -0.20691648125648499, -0.7273592352867126, 0.02574809640645981, -1.6010242700576782, -0.18791669607162476, 0.1892378181219101, -1.4418147802352905, -0.46743515133857727, -0.22549141943454742, 1.2796891927719116, -0.21121929585933685, 1.3438382148742676, -0.3057525157928467, -0.2842629551887512, -0.4289398789405823, -0.4059195816516876, 0.12574303150177002, -0.1704557240009308, -0.6314116716384888, 0.2728461027145386, -0.8474723696708679, 0.37674272060394287, 1.4201871156692505, 0.5383328795433044, 0.0243014357984066, 0.5638123154640198, 1.010923147201538, 0.3525102436542511, -0.1010981872677803, -0.8896281123161316, -1.6507295370101929, 1.9872710704803467, -1.4211457967758179, 1.9517159461975098, 0.7566563487052917, -0.08524856716394424, -1.7652270793914795, -1.853193759918213, 1.3164323568344116, 1.1721851825714111, 2.339986801147461, 0.6818069219589233, 0.37640050053596497, -0.805743932723999, -0.7444361448287964, 0.2756577134132385, -1.0491116046905518, -0.707450270652771, 0.05385385826230049, 2.304856538772583, 1.7370011806488037, -0.609886646270752, -0.23447367548942566, -1.0449872016906738, 1.2775689363479614, -0.08974231034517288, 0.2005990445613861, 2.001188039779663, -0.3148347735404968, -1.1169633865356445, 1.1971286535263062, -2.335858106613159, 0.13333773612976074, 1.961069107055664, 0.23465852439403534, 0.11190563440322876, -1.5211536884307861, -0.6494718194007874, -0.2720141112804413, -0.452016681432724, -1.3346916437149048, 0.5730592608451843, -0.31490108370780945, -0.9164754748344421, -1.4959166049957275, 0.12226084619760513, -1.1871012449264526, -1.6209769248962402, 0.43085113167762756, 1.8320300579071045, 2.086789846420288, -0.7326874136924744, 1.5043818950653076, -0.21433088183403015, 0.1809348165988922, 1.3331272602081299, 1.2311726808547974, 3.0944676399230957, 1.9337918758392334, -1.2567975521087646, 0.6971638798713684, -0.1638374775648117, -0.4507347345352173, 1.2320590019226074, -1.0414855480194092, 1.2321408987045288, -0.23201747238636017, -1.2652888298034668, -1.2159464359283447, 1.02130126953125, 0.5659015774726868, 0.042397867888212204, -0.5319586992263794, 1.2852426767349243, 0.03721144050359726, 1.3043464422225952, 0.5242676734924316, -0.4582984149456024, 0.5895388126373291, -0.43611040711402893, -0.47998547554016113, 1.620591163635254, 0.18255643546581268, -1.5619550943374634, -2.3442819118499756, -0.18196044862270355, -0.8651725053787231, -0.07328822463750839, -0.6564784049987793, -1.0286376476287842, 1.631815791130066, 0.42575955390930176, -1.364973783493042, -0.3035581707954407, -0.342843621969223, -0.6310988068580627, 2.5871047973632812, -1.4779592752456665, -0.14926861226558685, -0.964591920375824, -0.5307585000991821, 1.6598047018051147, -1.1876884698867798, -0.20597043633460999, -1.093721866607666, -0.7603821754455566, -1.360438346862793, -0.5513625144958496, -0.044536031782627106, -0.9337818026542664, 0.72401362657547, 0.005440014414489269, -0.96038818359375, -0.29889020323753357, -0.8487235307693481, 0.8682941794395447, -0.04904879257082939, 0.2880108952522278, 1.9793132543563843, 0.47767874598503113, -0.3953952491283417, 0.5846879482269287, 1.170781135559082, 0.6158650517463684, -0.7348520159721375, 0.11501044780015945, -0.6748690605163574, 0.25265195965766907, -1.3803666830062866, 0.3170090615749359, -2.9137184619903564, 0.7160956263542175, -0.11111706495285034, -0.010177372954785824, 0.03380022197961807, -1.2623189687728882, 1.1863340139389038, 2.6387784481048584, -1.2173988819122314, 0.42126643657684326, 0.345153272151947, 1.1133780479431152, -1.605368733406067, 0.2804120182991028, -0.40502944588661194, 2.0971710681915283, 0.2953954041004181, 1.2059696912765503, -0.5590810775756836, -2.073610782623291, 0.668881893157959, -1.162744402885437, -1.071776270866394, 0.6372542977333069, -0.7649383544921875, 0.1294686645269394, -1.515952229499817, -0.0689823105931282, -0.960354745388031, -1.2995964288711548, 0.8497419953346252, 0.09497503936290741, 0.3847840130329132, -0.4891080856323242, 0.38608187437057495, -2.1063404083251953, -1.316382646560669, -0.18192288279533386, -0.8634383678436279, 0.5440782904624939, -0.259711891412735, 0.6797162294387817, -0.11413109302520752, 0.1003127172589302, 0.2589963972568512, 1.323367714881897, 3.4296045303344727, 0.14559730887413025, 0.33241716027259827, -0.06725509464740753, -0.9680812358856201, 1.4822407960891724, 1.1191598176956177, 0.020758535712957382, -0.5356878042221069, -0.9416324496269226, 1.300147294998169, 1.991898775100708, 1.1176178455352783, 0.17713427543640137, -0.8849283456802368, -0.6735295057296753, 0.05528305098414421, 0.2280530333518982, 0.48015931248664856, 0.908427357673645, 0.0017177369445562363, 0.12293706089258194, 1.4252196550369263, 1.3739211559295654, -0.4228874444961548, 0.38440218567848206, -0.8896199464797974, -0.4234016537666321, 0.48418062925338745, 0.24776069819927216, 0.03065350651741028, 0.4816552400588989, -1.0528966188430786, -0.2622358500957489, -0.27242282032966614, -1.0951539278030396, -0.7105647325515747, -0.42874380946159363, -0.4144182801246643, 1.5313737392425537, 0.06767696142196655, -0.42955145239830017, 0.023727700114250183, -0.8824095726013184, -0.18597161769866943, -1.120808482170105, 0.307535856962204, -0.08199217170476913, -0.11752233654260635, -0.12628363072872162, 1.7493531703948975, -0.8904194235801697, -2.1646533012390137, 0.31497687101364136, 0.3265336751937866, -0.5731589198112488, 0.19098778069019318, 1.5863544940948486, 0.5822239518165588, 1.4837429523468018, 1.2978808879852295, 0.9690682291984558, -0.58754962682724, -1.2425442934036255, 0.6179724931716919, 0.9882698059082031, -1.4943516254425049, 0.8954182863235474, -0.06162130832672119, -0.5207423567771912, 0.8053561449050903, 1.3285073041915894, 0.37519368529319763, -1.9203354120254517, 0.8105463981628418, -0.7785816788673401, 0.7885609865188599, 0.629912257194519, 0.8110101819038391, 0.2758864164352417, 0.8576542139053345, -1.3537720441818237, -1.0767555236816406, -0.8323633670806885, -0.4878324568271637, 1.95699143409729, -0.09071651846170425, 0.5367581844329834, -0.1901145577430725, -1.19382905960083, -0.10963594913482666, 0.7545465230941772, 0.4415009617805481, -0.36662209033966064, 0.8632922172546387, -0.6305019855499268, -1.0588297843933105, -1.2960216999053955, -0.4551665782928467, -0.8313745260238647, -0.914084792137146, 1.0811940431594849, 0.8888211846351624, 0.4162029027938843, 1.8508795499801636, 0.4815942645072937, 0.23770056664943695, -2.6484737396240234, 0.925054132938385, 0.3326457738876343, 0.025857508182525635, 1.0312368869781494, 0.223699152469635, 1.1545932292938232, -0.019740818068385124, 0.530306339263916, -2.268561601638794, 2.1334517002105713, -0.2022516429424286, 0.6385350227355957, 0.004781933501362801, -0.12533177435398102, 1.1377655267715454, 0.6315702795982361, 0.5338347554206848, -1.219829797744751, 0.7692630290985107, -0.5665457844734192, 1.150557518005371, 0.9593543410301208, -0.7973476648330688, 0.02731679007411003, 1.3228696584701538, 0.5383086204528809, -0.3738926351070404, -0.8689740300178528, -0.7504878640174866, 0.9777085781097412, 1.7120614051818848, -0.1004718616604805, -0.00012992974370718002, 0.9300333857536316, 0.6435304284095764, -1.3245694637298584, 0.13419224321842194, -0.7062371373176575, -0.5260061025619507, 1.6494200229644775, 2.0303735733032227, 0.019349362701177597, -0.1518467515707016, -0.7153916954994202, -1.1788179874420166, 0.7157144546508789, 0.03480120375752449, 0.21120992302894592, 0.6730000972747803, -0.6935758590698242, 1.1643478870391846, 0.796398401260376, 0.934260368347168, -0.03716275095939636, 0.4524376392364502, 0.4000740945339203, -0.26721659302711487, -1.1755993366241455, -0.383788138628006, -1.1432433128356934, -2.4969325065612793, 0.548060953617096, -0.3200603723526001, -1.3673166036605835, 0.05304751917719841, -1.1109503507614136, 0.9566267728805542, -0.6282545328140259, -1.1433357000350952, -1.5834648609161377, 0.2483392208814621, -0.15262967348098755, 0.9866325259208679, -1.6015063524246216, -0.02951923757791519, 1.2456672191619873, 0.7822176814079285, -0.5464973449707031, 1.0378221273422241, 0.3182980418205261, 1.0447053909301758, 0.758570671081543, -0.4235082268714905, 0.495361328125, 0.12315935641527176, -1.3758254051208496, 0.4385339915752411, 1.1445374488830566, 0.24318735301494598, 1.3659663200378418, -0.5811546444892883, 0.06744630634784698, 0.47621360421180725, -0.6210817694664001, -0.5002509355545044, -0.4540131092071533, 0.7275076508522034, 0.16111865639686584, -0.9699580669403076, -0.0024195797741413116, -0.0859631597995758, -0.2614668607711792, 0.22075028717517853, -1.4935641288757324, -0.3066287636756897, -0.45787718892097473, -0.5053977966308594, -1.276799201965332, -0.062082938849925995, 1.2655813694000244, -0.8212897777557373, -0.21545659005641937, 0.46977347135543823, 0.44661056995391846, 0.48978254199028015, 0.7261027097702026, -0.6480953097343445, -0.3621453046798706, -0.3130738437175751, -0.339433491230011, 0.18861383199691772, 1.2602016925811768, -0.2597094178199768, -1.11329185962677, 0.7607325315475464, -0.36216145753860474, 0.11081042140722275, 1.9486299753189087, 0.028549280017614365, -0.8382195830345154, 0.32777702808380127, -0.6818744540214539, 1.8891446590423584, 1.6140083074569702, 1.3807069063186646, -0.17265059053897858, -0.8476297855377197, 0.5399669408798218, -0.21424715220928192, -0.2847204804420471, 0.9095572233200073, 0.5108105540275574, -0.09260664880275726, -1.4038573503494263, 0.5161929130554199, 1.3698450326919556, -1.0362235307693481, -0.6996386051177979, 0.08251248300075531, -0.872990608215332, 1.0791553258895874, 0.6835949420928955, 0.41312986612319946, 0.2495204359292984, 1.5067039728164673, 0.6183760762214661, -0.5368446111679077, 0.3909914493560791, 0.46104225516319275, -0.1652469038963318, -2.131016492843628, -1.0515090227127075, 0.3340771794319153, -0.4483417868614197, -1.526879906654358, 1.307702660560608, -1.1961495876312256, -0.860281229019165, 0.5100271701812744, 0.19684669375419617, 1.4880483150482178, 0.23572199046611786, 1.7283332347869873, 2.083035469055176, 0.8435719609260559, 0.21488870680332184, 1.3560031652450562, 0.08660386502742767, -0.43156641721725464, 1.8203970193862915, -0.4557536542415619, 0.6101451516151428, 1.07073974609375, -0.3594449758529663, -1.0675028562545776, -0.7924721240997314, -1.1398781538009644, -0.5240512490272522, 1.1805055141448975, 0.14838309586048126, -1.2013088464736938, 0.12092012912034988, 1.5474241971969604, 0.14943556487560272, -0.2439577728509903, 0.5698766708374023, 0.4537689983844757, -0.7823447585105896, -0.12046350538730621, -0.8631987571716309, 0.49350351095199585, -0.10956616699695587, -0.260467529296875, 0.22372502088546753, 0.5425734519958496, 1.1816418170928955, -0.1038523018360138, 0.11662710458040237, 1.2898701429367065, -1.3412553071975708, 1.5631589889526367, -0.4943874180316925, 0.22935029864311218, -2.505218982696533, 1.4354438781738281, -0.7835105061531067, 1.9087587594985962, -2.5860092639923096, 0.34156930446624756, -0.5569435954093933, -0.4011539816856384, 0.29224440455436707, -0.3607417643070221, 0.1430595964193344, -0.1197984516620636, -1.0270545482635498, -0.01903306506574154, -0.7846445441246033, 0.551713228225708, 1.286272406578064, 1.3204236030578613, -1.1376956701278687, -0.28375911712646484, -1.8584372997283936, -0.17380911111831665, -0.7738010287284851, 0.4076993465423584, -2.022390604019165, -0.054318610578775406, -1.8681800365447998, -2.367236375808716, -1.5349785089492798, -0.8571107387542725, 1.052130937576294, 0.16850228607654572, -0.9323988556861877, 1.0689170360565186, -0.36458665132522583, -1.710669994354248, 0.9866213202476501, -2.22860050201416 ]
https://github.com/huggingface/datasets/issues/4217
Big_Patent dataset broken
We should find out if the dataset license allows redistribution and contact the data owners to propose them to host their data on our Hub.
## Dataset viewer issue for '*big_patent*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)* *Unable to view because it says FileNotFound, also cannot download it through the python API* Am I the one who added this dataset ? No
788
25
Big_Patent dataset broken ## Dataset viewer issue for '*big_patent*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)* *Unable to view because it says FileNotFound, also cannot download it through the python API* Am I the one who added this dataset ? No We should find out if the dataset license allows redistribution and contact the data owners to propose them to host their data on our Hub.
[ -1.3331835269927979, -0.9805743098258972, -0.8262227773666382, 1.3120566606521606, -0.2782800793647766, -1.270270824432373, 0.1340237259864807, -0.9729247093200684, 1.7176426649093628, -0.6415842175483704, 0.0899498388171196, -1.6000627279281616, 0.006432536989450455, -0.4869143068790436, -0.696303129196167, -0.9007359743118286, -0.4644843339920044, -0.8580105900764465, 0.9991776943206787, 2.4740912914276123, 1.0481717586517334, -1.4443957805633545, 2.7563419342041016, 0.7316650152206421, -0.22293144464492798, -0.9686119556427002, 0.4916030168533325, 0.17071585357189178, -1.2374579906463623, -0.5260010957717896, -0.917843222618103, -0.030533697456121445, -0.4074583947658539, -0.3784499764442444, 0.10395011305809021, 0.427398681640625, 0.0101957768201828, -0.3958900570869446, -0.5151639580726624, -0.5793744325637817, 0.4376257359981537, -0.4093659520149231, 0.8188464641571045, -0.4850560128688812, 1.839425802230835, -0.5607063174247742, 0.23666493594646454, 0.6706021428108215, 1.333351969718933, 0.08459999412298203, -0.11296685039997101, 0.38035768270492554, 0.37543657422065735, -0.1352130025625229, 0.2933509349822998, 1.0980887413024902, 0.44455352425575256, 0.6747527718544006, 0.6774517297744751, -2.133596897125244, 1.3807055950164795, -1.037773609161377, 0.3801959753036499, 1.5729941129684448, -1.1710469722747803, 0.3966967463493347, -1.8169738054275513, -0.02403368055820465, 0.5541114807128906, -2.4335954189300537, 0.21085546910762787, -1.1726845502853394, -0.6760292649269104, 0.8224359750747681, 0.2985835075378418, -1.4257128238677979, 0.21985790133476257, -0.46977752447128296, 1.0404558181762695, 0.4880903363227844, 1.1984456777572632, -1.5848431587219238, 0.015375511720776558, -0.1685573011636734, -0.02257472649216652, -1.545211672782898, -1.5628865957260132, 0.6455917358398438, 0.5865508317947388, 0.7145551443099976, -0.13127829134464264, 0.8941270112991333, -0.9928138852119446, 0.9104483723640442, -0.9691876769065857, -1.5186141729354858, -1.385356068611145, -2.319173574447632, -2.2351996898651123, 0.9774666428565979, -0.4108019173145294, -0.5858423113822937, 1.867145299911499, -1.0682713985443115, -1.715829849243164, 1.2887004613876343, 0.29144033789634705, 0.14555825293064117, 2.365767240524292, 0.1893775910139084, -0.4808560609817505, 0.31324905157089233, -0.705413281917572, 1.0113651752471924, -0.4066610336303711, 1.4353265762329102, 0.5839882493019104, -1.0216865539550781, 1.6887662410736084, -0.347901314496994, 0.693975031375885, -0.6209876537322998, -0.7413299083709717, -1.1040713787078857, 0.4536665081977844, 1.928243637084961, -0.3115141987800598, 1.5918902158737183, -0.5644518136978149, -1.6185922622680664, -1.4963122606277466, 1.021346926689148, 0.5490450263023376, -0.9079861044883728, 0.05417384207248688, -0.41709861159324646, 0.012165404856204987, -0.09778883308172226, 1.116350531578064, 1.1589343547821045, 0.5465924739837646, -0.28876733779907227, -0.8775143623352051, 0.2104431539773941, -0.08400091528892517, -0.671397864818573, -1.8521779775619507, -0.343069851398468, 0.2756105661392212, 0.5316818952560425, -1.2390882968902588, 1.5175979137420654, 0.9144743084907532, 1.93325674533844, 0.9193191528320312, -0.3447916805744171, 1.2873659133911133, -0.06752298772335052, 1.7629677057266235, -0.7776467204093933, 0.7303462624549866, -0.2610989511013031, -0.9790717959403992, 0.9153660535812378, -0.39986348152160645, -2.057878255844116, -0.9519875049591064, -0.9410750865936279, -0.26015499234199524, -0.6730766892433167, 1.0199637413024902, -0.2862623929977417, -1.4098271131515503, 0.057604022324085236, -0.49344223737716675, 0.25519219040870667, -1.3027102947235107, 0.26127859950065613, 0.7844544649124146, -0.5338250398635864, -0.22250807285308838, -0.20361512899398804, -1.3694769144058228, -0.42559128999710083, 0.28535881638526917, 1.8863242864608765, -0.7075983881950378, 1.051430583000183, 0.8383165597915649, -0.8797535300254822, 0.08291935920715332, 0.20110389590263367, -0.18876208364963531, 0.8475927114486694, -1.150181531906128, -0.35243210196495056, 0.9994797706604004, -0.18236695230007172, -0.5436828136444092, 1.5374406576156616, 0.7243624925613403, -1.0086982250213623, -0.1740761399269104, -0.3405366539955139, -0.9274348616600037, -0.05044805258512497, -1.5441563129425049, -0.3182101249694824, 0.1100316196680069, -1.4975658655166626, -0.548862099647522, -0.2803408205509186, 1.2917490005493164, -0.25929054617881775, 1.2999142408370972, -0.3068982660770416, -0.34557315707206726, -0.4239810109138489, -0.4054366946220398, 0.21379680931568146, -0.21046152710914612, -0.6283777952194214, 0.25488731265068054, -0.8281589150428772, 0.3243326246738434, 1.511691689491272, 0.5737074017524719, 0.02298050932586193, 0.6775997281074524, 0.9923443794250488, 0.38784995675086975, -0.1422146111726761, -0.8484556078910828, -1.586190104484558, 1.886602520942688, -1.5278899669647217, 1.8161625862121582, 0.6828173398971558, -0.14257165789604187, -1.6987793445587158, -1.8741319179534912, 1.3335850238800049, 1.2488560676574707, 2.202789783477783, 0.6295494437217712, 0.3515264093875885, -0.7722570896148682, -0.826189398765564, 0.1547366976737976, -1.1550977230072021, -0.5759059190750122, 0.03003220446407795, 2.1568961143493652, 1.701240062713623, -0.6945581436157227, -0.16222453117370605, -1.0849195718765259, 1.2660658359527588, -0.16983017325401306, 0.2931569814682007, 1.9849759340286255, -0.36298868060112, -1.0091995000839233, 1.1521804332733154, -2.2305381298065186, 0.05821043252944946, 2.0313193798065186, 0.2630370259284973, 0.13026243448257446, -1.47101891040802, -0.6524977684020996, -0.2155325561761856, -0.4041414260864258, -1.3921194076538086, 0.6774798035621643, -0.3548772633075714, -0.8778979778289795, -1.465766191482544, 0.0880875512957573, -1.1024783849716187, -1.5101252794265747, 0.5142453908920288, 1.8960726261138916, 2.082627296447754, -0.6192396879196167, 1.4623017311096191, -0.14533255994319916, 0.09190935641527176, 1.2112233638763428, 1.1031556129455566, 3.0018527507781982, 1.8875693082809448, -1.152076005935669, 0.49159491062164307, -0.11802946776151657, -0.5282536745071411, 1.218191385269165, -1.0072726011276245, 1.241578221321106, -0.12846875190734863, -1.1375725269317627, -1.2059499025344849, 1.001084804534912, 0.5525279641151428, 0.1601572185754776, -0.48467862606048584, 1.3286794424057007, -0.06273099780082703, 1.3493728637695312, 0.4524765908718109, -0.5722171664237976, 0.5540209412574768, -0.5736047625541687, -0.4602055847644806, 1.6925997734069824, 0.18001368641853333, -1.4880932569503784, -2.33117938041687, -0.13443462550640106, -0.8258695602416992, -0.03452882915735245, -0.5959479808807373, -0.9757480025291443, 1.6288785934448242, 0.5582976937294006, -1.2004039287567139, -0.2746531367301941, -0.3416341245174408, -0.7240087389945984, 2.6172523498535156, -1.36868417263031, -0.26092270016670227, -0.8381564021110535, -0.4715502858161926, 1.8167014122009277, -1.1745525598526, -0.20249907672405243, -1.1109873056411743, -0.6700509190559387, -1.3318206071853638, -0.4986543655395508, -0.03435833752155304, -0.990308940410614, 0.9079589247703552, -0.13023687899112701, -0.9289498329162598, -0.2584139108657837, -0.8254070281982422, 0.8569006323814392, -0.07596999406814575, 0.3391929864883423, 1.934360146522522, 0.3666289150714874, -0.40476125478744507, 0.68376225233078, 1.255167007446289, 0.6234596967697144, -0.7056487202644348, 0.003984914161264896, -0.5410269498825073, 0.3101060092449188, -1.2623405456542969, 0.3158092796802521, -3.0360841751098633, 0.6599857807159424, -0.12393025308847427, 0.014242438599467278, -0.03618685156106949, -1.3554610013961792, 1.165775179862976, 2.496407985687256, -1.245069980621338, 0.4491770565509796, 0.40737679600715637, 1.2325413227081299, -1.6102687120437622, 0.4207451343536377, -0.4986485242843628, 2.072808265686035, 0.26303499937057495, 1.1516141891479492, -0.6220667362213135, -2.043928623199463, 0.7084054350852966, -1.0200451612472534, -1.1698943376541138, 0.5740242600440979, -0.9255599975585938, 0.2041100263595581, -1.600300908088684, -0.13683302700519562, -0.9553419947624207, -1.2818524837493896, 0.7424114942550659, 0.3015945255756378, 0.3106902837753296, -0.5688851475715637, 0.3274405002593994, -2.1805574893951416, -1.3066322803497314, -0.29006630182266235, -0.824059009552002, 0.6194873452186584, -0.3466413617134094, 0.6164047718048096, 0.010483752936124802, 0.21333825588226318, 0.15843495726585388, 1.2825931310653687, 3.32110857963562, 0.1590740829706192, 0.27750223875045776, -0.05092548578977585, -0.9357295632362366, 1.5131480693817139, 1.2128323316574097, 0.18391622602939606, -0.6793150305747986, -0.9296814203262329, 1.432578682899475, 1.9275405406951904, 1.0563265085220337, 0.10710258036851883, -0.810100257396698, -0.4713655710220337, -0.020693480968475342, 0.23723749816417694, 0.4293970465660095, 0.9717517495155334, -0.0449972003698349, 0.1638139933347702, 1.5403518676757812, 1.354582667350769, -0.45944875478744507, 0.41358447074890137, -0.9313303232192993, -0.42011263966560364, 0.3656948506832123, 0.3496568202972412, 0.049772635102272034, 0.39697253704071045, -0.8929218649864197, -0.28479260206222534, -0.14906740188598633, -1.0826361179351807, -0.7226182222366333, -0.35935747623443604, -0.5250120759010315, 1.606673002243042, 0.08199455589056015, -0.464249849319458, -0.11939305812120438, -0.7714498043060303, -0.2102643847465515, -1.1852980852127075, 0.36916878819465637, -0.10201547294855118, -0.08815844357013702, -0.25456762313842773, 1.7452247142791748, -0.9568632245063782, -2.2687113285064697, 0.22669383883476257, 0.35403817892074585, -0.48931044340133667, 0.08269140869379044, 1.4844849109649658, 0.5225085616111755, 1.6082463264465332, 1.3488154411315918, 0.9372527599334717, -0.5673733353614807, -1.286266565322876, 0.5603311657905579, 0.9840461611747742, -1.4317115545272827, 0.7919999361038208, 0.01616024784743786, -0.5518985986709595, 0.8245998620986938, 1.325598955154419, 0.4114745557308197, -2.055276393890381, 0.9090496301651001, -0.9434586763381958, 0.9024133086204529, 0.692907452583313, 0.8385486602783203, 0.3345359265804291, 0.9331175088882446, -1.3690251111984253, -1.2631897926330566, -0.9238819479942322, -0.5236600637435913, 2.098557472229004, -0.15673206746578217, 0.5778152942657471, -0.185322105884552, -0.9922874569892883, -0.06314114481210709, 0.7052433490753174, 0.5149502754211426, -0.258298397064209, 0.7736541628837585, -0.6150444149971008, -1.121005654335022, -1.406741976737976, -0.44477829337120056, -0.8065055012702942, -0.8684120178222656, 1.0489490032196045, 0.9143819212913513, 0.3989655375480652, 1.8591276407241821, 0.46018680930137634, 0.3278251886367798, -2.637979030609131, 0.9365388751029968, 0.35999932885169983, 0.03179793059825897, 0.9165417551994324, 0.2447638213634491, 1.181721806526184, 0.09462745487689972, 0.4236954152584076, -2.268341302871704, 2.1449666023254395, -0.21250571310520172, 0.683121919631958, 0.02085408754646778, -0.08828701823949814, 1.2738076448440552, 0.640817403793335, 0.5523480772972107, -1.1419271230697632, 0.7775909304618835, -0.5060428380966187, 1.184839129447937, 1.0121376514434814, -0.6023431420326233, -0.04888059198856354, 1.3504239320755005, 0.5420900583267212, -0.40361085534095764, -0.9176897406578064, -0.6886263489723206, 0.9376424551010132, 1.6757463216781616, -0.1320277452468872, 0.06529146432876587, 0.8276389837265015, 0.6157563328742981, -1.1444902420043945, 0.08664693683385849, -0.7675600647926331, -0.5743647217750549, 1.5699597597122192, 2.024954319000244, -0.0096853356808424, 0.004646374844014645, -0.69310063123703, -1.2023555040359497, 0.7033383846282959, -0.05000922828912735, 0.23376984894275665, 0.7875744104385376, -0.6238914132118225, 1.1113691329956055, 0.7909806966781616, 0.8648427724838257, -0.1853731870651245, 0.5106306672096252, 0.4626413583755493, -0.09217467904090881, -1.1216522455215454, -0.40582865476608276, -1.1013463735580444, -2.454568386077881, 0.44905734062194824, -0.3838443160057068, -1.302156925201416, 0.06950300931930542, -1.1777063608169556, 1.043416142463684, -0.701653778553009, -1.2066121101379395, -1.7398020029067993, 0.19146205484867096, -0.0658310130238533, 0.9319828748703003, -1.5287681818008423, -0.1099633201956749, 1.1771912574768066, 0.6609070897102356, -0.5988316535949707, 1.1274995803833008, 0.32875123620033264, 0.9205841422080994, 0.6774401068687439, -0.49427610635757446, 0.3230745792388916, 0.06840991973876953, -1.3482540845870972, 0.6779003143310547, 1.1686110496520996, 0.10271306335926056, 1.38784921169281, -0.6472686529159546, -0.021246880292892456, 0.49017807841300964, -0.5739128589630127, -0.5075381994247437, -0.33160722255706787, 0.7556962966918945, 0.17125636339187622, -0.9266142845153809, -0.05818403512239456, -0.17300909757614136, -0.32193323969841003, 0.2644922733306885, -1.435932993888855, -0.37493500113487244, -0.5695900321006775, -0.5221462249755859, -1.3358995914459229, 0.050307147204875946, 1.3069186210632324, -0.7339380383491516, -0.23071014881134033, 0.5201629400253296, 0.6491543650627136, 0.44653865694999695, 0.696717381477356, -0.6288518309593201, -0.21331220865249634, -0.343164324760437, -0.2248380333185196, 0.12553268671035767, 1.2290067672729492, -0.3133642375469208, -1.1458508968353271, 0.6665672063827515, -0.38464677333831787, -0.04841367155313492, 2.041640281677246, 0.02678058110177517, -0.7674175500869751, 0.4477815628051758, -0.7974438071250916, 1.924978494644165, 1.6116880178451538, 1.4189342260360718, -0.08606669306755066, -0.7936146259307861, 0.3977581262588501, -0.22223405539989471, -0.3517662286758423, 0.8055676817893982, 0.46993082761764526, -0.1511739194393158, -1.3524479866027832, 0.5706518292427063, 1.3083314895629883, -1.017149567604065, -0.7231758832931519, 0.14330941438674927, -0.8907576203346252, 1.1363438367843628, 0.6332747340202332, 0.49033576250076294, 0.28349003195762634, 1.562667727470398, 0.6167839169502258, -0.5082746148109436, 0.36059415340423584, 0.5611348152160645, -0.08685612678527832, -2.1688432693481445, -1.122411847114563, 0.3755967915058136, -0.45975828170776367, -1.4748013019561768, 1.3435336351394653, -1.1011673212051392, -0.8624137043952942, 0.48603564500808716, 0.14779359102249146, 1.4597516059875488, 0.2860051095485687, 1.6825569868087769, 2.140075206756592, 0.930736243724823, 0.28468674421310425, 1.4400303363800049, -0.0055864835157990456, -0.41411203145980835, 1.885027527809143, -0.3770255744457245, 0.5647651553153992, 1.0570893287658691, -0.35175028443336487, -1.072365641593933, -0.6526177525520325, -1.1710350513458252, -0.5773221254348755, 1.0878149271011353, 0.16671976447105408, -1.1453529596328735, 0.14134712517261505, 1.4203369617462158, 0.2356434315443039, -0.2852697968482971, 0.42547887563705444, 0.5285645127296448, -0.9051381945610046, -0.17397339642047882, -0.9899943470954895, 0.49364131689071655, -0.26302215456962585, -0.2965008020401001, 0.2450510561466217, 0.6229084134101868, 1.2124124765396118, -0.22613772749900818, 0.1066596508026123, 1.275136947631836, -1.4089242219924927, 1.5875988006591797, -0.5913113355636597, 0.08118797838687897, -2.560194730758667, 1.4400126934051514, -0.6043280363082886, 1.901972770690918, -2.7567715644836426, 0.3373641073703766, -0.5695094466209412, -0.3696219325065613, 0.3943651616573334, -0.3167537748813629, 0.07873615622520447, -0.08096398413181305, -1.1063178777694702, 0.16767621040344238, -0.7397331595420837, 0.5803171992301941, 1.2866908311843872, 1.2773301601409912, -1.136305332183838, -0.3068352937698364, -1.8098245859146118, -0.10363747179508209, -0.7517064809799194, 0.40698546171188354, -2.221494197845459, -0.0421898290514946, -1.8363287448883057, -2.260183095932007, -1.4440701007843018, -0.8510487079620361, 1.1073050498962402, 0.18660785257816315, -0.956697940826416, 1.093445897102356, -0.3391091823577881, -1.6771775484085083, 1.0042691230773926, -2.156259059906006 ]
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi @pietrolesci, thanks for reporting. Please note that this is a design purpose: a `DatasetDict` has the same features for all its datasets. Normally, a `DatasetDict` is composed of several sub-datasets each corresponding to a different **split**. To handle sub-datasets with different features, we use another approach: use different **configurations** instead of **splits**. However, for the moment `push_to_hub` does not support specifying different configurations. IMHO, we should implement this.
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ```
789
69
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ``` Hi @pietrolesci, thanks for reporting. Please note that this is a design purpose: a `DatasetDict` has the same features for all its datasets. Normally, a `DatasetDict` is composed of several sub-datasets each corresponding to a different **split**. To handle sub-datasets with different features, we use another approach: use different **configurations** instead of **splits**. However, for the moment `push_to_hub` does not support specifying different configurations. IMHO, we should implement this.
[ -1.2451794147491455, -0.8649232387542725, -0.7281451225280762, 1.553868055343628, -0.22664426267147064, -0.9993091821670532, 0.2305677980184555, -1.1509039402008057, 1.659450888633728, -0.6978124380111694, 0.4650605022907257, -1.6354515552520752, -0.01876036450266838, -0.5618094801902771, -0.7158192992210388, -0.9354511499404907, -0.43358394503593445, -0.647844135761261, 1.0594372749328613, 2.504539966583252, 1.3537321090698242, -1.3717018365859985, 2.678347110748291, 0.7667494416236877, -0.07971303164958954, -0.941303014755249, 0.6392586827278137, 0.026954039931297302, -1.1907784938812256, -0.4691286087036133, -1.0424803495407104, -0.2747510075569153, -0.4182811975479126, -0.5155866146087646, -0.12353280186653137, 0.4750727117061615, -0.41198456287384033, -0.5022237300872803, -0.7168172597885132, -0.8658886551856995, 0.5331714153289795, -0.3562619090080261, 0.9353601336479187, -0.39720025658607483, 1.8053985834121704, -0.5535914897918701, 0.518395721912384, 0.6995766758918762, 1.1773884296417236, 0.32667821645736694, 0.027907926589250565, 0.3616662621498108, 0.46544232964515686, -0.0883021354675293, 0.6340338587760925, 1.3219131231307983, 0.6818751692771912, 0.5913165211677551, 0.8967456221580505, -2.1556320190429688, 1.1674844026565552, -1.2061305046081543, 0.2002599686384201, 1.445934534072876, -0.7261993288993835, 0.3766355812549591, -1.8223623037338257, -0.049051206558942795, 0.5835367441177368, -2.2245934009552, 0.3724067807197571, -1.3511738777160645, -0.6130244731903076, 1.005454182624817, 0.44386282563209534, -1.1959924697875977, 0.07352542877197266, -0.32124340534210205, 0.9344584941864014, 0.3494105339050293, 1.0933512449264526, -1.5891788005828857, -0.0308145172894001, -0.3436228632926941, 0.13134144246578217, -1.230780839920044, -1.4930716753005981, 0.542497992515564, 0.4366168677806854, 0.45963823795318604, -0.07844836264848709, 1.2000983953475952, -1.1366539001464844, 0.7275172472000122, -1.041454792022705, -1.6493335962295532, -1.50454843044281, -2.20249080657959, -2.1724231243133545, 0.7704429626464844, -0.4916680157184601, -0.5792763233184814, 2.0328352451324463, -0.9342861771583557, -1.574482798576355, 1.1484870910644531, 0.35286980867385864, 0.06477129459381104, 2.454087972640991, 0.22395440936088562, -0.7091776132583618, 0.5627260804176331, -0.7559760212898254, 0.7190683484077454, -0.25407594442367554, 1.3848469257354736, 0.39118415117263794, -0.9929361939430237, 1.692997694015503, -0.3324757218360901, 0.6555797457695007, -0.5402072072029114, -0.5131280422210693, -0.5933266282081604, 0.3509489893913269, 1.8295425176620483, -0.32804757356643677, 1.4690049886703491, -0.2033367156982422, -1.5221623182296753, -1.654370665550232, 0.9858603477478027, 0.4806986451148987, -0.7533137202262878, 0.06533815711736679, -0.3227439522743225, 0.09041871130466461, -0.1489638388156891, 1.2234385013580322, 1.3101850748062134, 0.779169499874115, -0.3640286326408386, -0.7550421953201294, 0.10505786538124084, 0.02230352908372879, -0.829312801361084, -1.600072979927063, -0.3254599869251251, 0.12287604063749313, 0.5908232927322388, -1.2412457466125488, 1.7726548910140991, 0.9324183464050293, 1.831104040145874, 1.032397985458374, -0.39141544699668884, 1.536503791809082, 0.1254754215478897, 1.7070499658584595, -0.48517751693725586, 0.5833888053894043, -0.27446064352989197, -1.1637632846832275, 0.8872939348220825, -0.310308039188385, -2.1414084434509277, -0.9019045829772949, -0.7598418593406677, -0.13964766263961792, -0.7906374931335449, 0.9760512113571167, -0.3396027386188507, -1.367580771446228, 0.1926964968442917, -0.8090031147003174, -0.04939926788210869, -1.2081745862960815, 0.40982338786125183, 0.5883526802062988, -0.6522760391235352, 0.07011411339044571, -0.0931582972407341, -1.1487845182418823, -0.416411817073822, 0.13288722932338715, 1.9545458555221558, -0.7830870747566223, 0.7891784310340881, 1.1440714597702026, -0.81821209192276, -0.0057470230385661125, 0.24080711603164673, -0.3767400085926056, 0.8519314527511597, -1.029973030090332, -0.5871512293815613, 1.142580509185791, -0.06396536529064178, -0.6276655197143555, 1.4794504642486572, 0.6129332780838013, -0.9329330921173096, -0.310350626707077, -0.07087808847427368, -0.7462022304534912, 0.05002680420875549, -1.3660751581192017, -0.13861508667469025, 0.5250883102416992, -1.5181667804718018, -0.5122861862182617, -0.10096162557601929, 1.300116777420044, -0.2664024531841278, 1.4586576223373413, -0.39401569962501526, -0.18812061846256256, -0.30017945170402527, -0.30945098400115967, 0.017578180879354477, -0.23218078911304474, -0.7132721543312073, 0.1047263815999031, -0.8611741065979004, 0.34125155210494995, 1.4010367393493652, 0.3767460882663727, -0.028202537447214127, 0.5287933945655823, 1.1479923725128174, 0.4845116138458252, 0.023906216025352478, -0.9640198945999146, -1.4313087463378906, 1.9195895195007324, -1.4823360443115234, 2.0585877895355225, 0.7201471924781799, -0.03050624206662178, -1.7278319597244263, -1.984663963317871, 1.3233970403671265, 1.2391901016235352, 2.34387469291687, 0.49448180198669434, 0.39872321486473083, -0.8051160573959351, -0.6945935487747192, 0.33007845282554626, -1.0593448877334595, -0.5818406939506531, 0.2822447121143341, 2.355001211166382, 1.7955610752105713, -0.46384096145629883, -0.19322113692760468, -0.9533686637878418, 1.3972179889678955, -0.1812622994184494, 0.14662830531597137, 1.967130184173584, -0.21524368226528168, -1.0768728256225586, 1.3074313402175903, -2.318618059158325, 0.05671962723135948, 1.9678374528884888, 0.3670143783092499, 0.055329810827970505, -1.319191813468933, -0.6235135793685913, -0.3234320878982544, -0.5885088443756104, -1.2363642454147339, 0.47056716680526733, -0.17351645231246948, -0.7929063439369202, -1.3359181880950928, 0.11077502369880676, -1.1437550783157349, -1.578786849975586, 0.21725989878177643, 1.8607923984527588, 2.08082914352417, -0.8123661279678345, 1.5546016693115234, -0.3008984923362732, -0.011817866936326027, 1.1887946128845215, 1.2860298156738281, 3.0749385356903076, 1.8494391441345215, -1.2640368938446045, 0.5039407014846802, -0.18140211701393127, -0.4616866707801819, 1.1644538640975952, -1.3729248046875, 1.3839030265808105, -0.040258411318063736, -1.0777510404586792, -1.1036534309387207, 0.8167561888694763, 0.3817443251609802, 0.07806664705276489, -0.5436364412307739, 1.0119119882583618, 0.1668606698513031, 1.420821189880371, 0.5987639427185059, -0.2734985053539276, 0.6881628632545471, -0.3676114082336426, -0.3933156430721283, 1.530598521232605, 0.10434694588184357, -1.4233312606811523, -2.2278828620910645, -0.08235117793083191, -0.8720018267631531, 0.15184134244918823, -0.5159162878990173, -1.059025526046753, 1.8681914806365967, 0.2472899854183197, -1.226717472076416, -0.25516873598098755, -0.4526006877422333, -0.5956296324729919, 2.884692907333374, -1.344565510749817, -0.2386503666639328, -1.0964206457138062, -0.7979401350021362, 1.6847056150436401, -1.0902942419052124, -0.13272784650325775, -0.9883076548576355, -0.4746383726596832, -1.3881332874298096, -0.5363200902938843, 0.185092955827713, -1.0119433403015137, 0.8898327946662903, 0.24800896644592285, -1.2131614685058594, -0.41397979855537415, -0.7684968113899231, 0.8653547167778015, -0.207139253616333, 0.13371071219444275, 2.0572621822357178, 0.33215442299842834, -0.29318955540657043, 0.723905086517334, 1.2410911321640015, 0.6118901968002319, -0.58537358045578, 0.2755281925201416, -0.6722330451011658, 0.3560076355934143, -1.4005990028381348, 0.1793697029352188, -2.6976253986358643, 0.5912714004516602, -0.11043918877840042, -0.09659405797719955, 0.09247253090143204, -1.2461628913879395, 1.0780614614486694, 2.5567147731781006, -1.1318128108978271, 0.3679691255092621, 0.31819942593574524, 1.1348830461502075, -1.6252708435058594, 0.29435113072395325, -0.45304960012435913, 1.9707366228103638, 0.24915671348571777, 1.105823040008545, -0.5106444954872131, -2.2778046131134033, 0.6513379812240601, -1.344028115272522, -1.2697986364364624, 0.6801872253417969, -0.9621278047561646, 0.25870564579963684, -1.4853538274765015, -0.266929566860199, -0.9301642179489136, -1.0576106309890747, 0.6191572546958923, 0.12868301570415497, 0.28729942440986633, -0.4922182857990265, 0.4235350787639618, -2.2973756790161133, -1.4658069610595703, -0.27996495366096497, -0.8974877595901489, 0.5606580972671509, -0.4375956654548645, 0.8207802176475525, -0.202189102768898, -0.07992735505104065, 0.4639877676963806, 1.5235151052474976, 3.3146579265594482, 0.2578393816947937, 0.3230053782463074, -0.3108137845993042, -1.036617636680603, 1.6310895681381226, 0.8619455695152283, 0.035258699208498, -0.5499448180198669, -1.089794635772705, 1.261679768562317, 1.8460203409194946, 1.0495998859405518, -0.05090249329805374, -0.9015642404556274, -0.715424120426178, -0.1549978405237198, 0.19304493069648743, 0.3171387314796448, 0.9685388803482056, -0.009658449329435825, 0.017895840108394623, 1.441550612449646, 1.1344958543777466, -0.4089442193508148, 0.16621871292591095, -0.7922569513320923, -0.4519110321998596, 0.6048526763916016, 0.18240946531295776, 0.041224367916584015, 0.47163301706314087, -0.9778524041175842, -0.38243719935417175, -0.4157019555568695, -0.8934913873672485, -0.6494413614273071, -0.41849976778030396, -0.3081439435482025, 1.5815019607543945, 0.1093273013830185, -0.55643630027771, -0.06286080926656723, -0.9748212099075317, -0.135343998670578, -1.217237949371338, 0.15188072621822357, -0.05103584751486778, -0.2278871238231659, -0.19715936481952667, 1.747165322303772, -0.7998660802841187, -1.9961386919021606, 0.14734385907649994, 0.24287375807762146, -0.19316092133522034, 0.26232606172561646, 1.5898735523223877, 0.5738462805747986, 1.4331544637680054, 1.1488744020462036, 0.8536118865013123, -0.5366510152816772, -1.3827508687973022, 0.5957642197608948, 1.1835169792175293, -1.3471453189849854, 0.8582830429077148, -0.05064255744218826, -0.48439040780067444, 0.4179556965827942, 1.210050344467163, 0.5558439493179321, -1.8656835556030273, 0.7539373636245728, -0.9171155691146851, 0.85414719581604, 0.6114279627799988, 0.5496599674224854, 0.1746819019317627, 0.7870432138442993, -1.1364212036132812, -1.1180455684661865, -0.7317055463790894, -0.6488995552062988, 2.0662121772766113, -0.38118258118629456, 0.7421551942825317, -0.4145662188529968, -1.2423685789108276, 0.026126515120267868, 0.6799948215484619, 0.31773239374160767, -0.5349404215812683, 0.8276689648628235, -0.5748076438903809, -1.023399829864502, -1.3598668575286865, -0.30193030834198, -1.070468544960022, -0.9476413130760193, 1.1416285037994385, 0.6912609934806824, 0.21479055285453796, 1.843422770500183, 0.8022012710571289, 0.33972159028053284, -2.559539794921875, 0.8831998705863953, 0.28283658623695374, -0.08681703358888626, 0.850892186164856, 0.4134870767593384, 0.972468912601471, -0.0923711359500885, 0.5375823974609375, -2.4912166595458984, 2.363612174987793, -0.13159514963626862, 0.7489147186279297, 0.026704445481300354, -0.22751615941524506, 1.074294924736023, 0.6290568113327026, 0.3765454888343811, -0.9469837546348572, 0.3965265452861786, -0.4857875108718872, 1.2424787282943726, 0.8850612640380859, -0.7189779877662659, 0.05213601514697075, 1.431256890296936, 0.5714412927627563, -0.4902054965496063, -0.9734386801719666, -0.7999133467674255, 0.9964643120765686, 1.640210509300232, 0.0008301278576254845, 0.010260560549795628, 0.901620626449585, 0.6190987229347229, -1.2836964130401611, 0.03391547128558159, -0.811365008354187, -0.7756093740463257, 1.7492783069610596, 2.20949649810791, -0.2405850887298584, -0.27180659770965576, -0.6077617406845093, -1.3552076816558838, 0.8304729461669922, -0.1318756490945816, 0.366858571767807, 0.5970462560653687, -0.6952643394470215, 0.9916614890098572, 0.9075968861579895, 0.917397141456604, 0.3338114321231842, 0.29959654808044434, 0.4600737690925598, -0.4290418028831482, -1.1230723857879639, -0.11957066506147385, -1.0075538158416748, -2.6596317291259766, 0.4001292288303375, -0.17571789026260376, -1.289850115776062, -0.0350441038608551, -1.0237929821014404, 1.0051589012145996, -0.5958867073059082, -0.9608864188194275, -1.5641579627990723, 0.20846201479434967, 0.11565833538770676, 1.08387291431427, -1.5614159107208252, -0.41406741738319397, 1.1759446859359741, 0.979802668094635, -0.7549492120742798, 0.829211950302124, 0.12772546708583832, 1.1278241872787476, 0.7340189218521118, -0.4363175630569458, 0.5652576684951782, -0.16624011099338531, -1.429084062576294, 0.42248138785362244, 1.2105600833892822, 0.20825892686843872, 1.5649404525756836, -0.44753238558769226, 0.0404558889567852, 0.36488351225852966, -0.590903639793396, -0.5089191198348999, -0.49056997895240784, 0.4517338275909424, 0.03798800706863403, -0.9968439936637878, -0.15334585309028625, 0.010046700946986675, -0.21409612894058228, 0.06218786910176277, -1.3343504667282104, -0.06253601610660553, -0.49776843190193176, -0.7077584862709045, -1.135869026184082, -0.17310494184494019, 1.246834635734558, -0.8346919417381287, -0.13523860275745392, 0.3842449486255646, 0.22337691485881805, 0.5034450888633728, 0.5145336985588074, -0.8795977234840393, -0.32772526144981384, -0.17370803654193878, -0.3555713891983032, 0.29653486609458923, 1.4302127361297607, -0.1194513812661171, -1.003903865814209, 0.6127427220344543, -0.23518680036067963, 0.10326706618070602, 1.9362226724624634, -0.010776174254715443, -0.6761624813079834, 0.23357562720775604, -0.7131118178367615, 1.8436970710754395, 1.6371150016784668, 1.4449948072433472, -0.307157963514328, -0.6830027103424072, 0.6985041499137878, -0.5497161149978638, -0.44364216923713684, 0.758560836315155, 0.2594875693321228, -0.18570713698863983, -1.5886032581329346, 0.8475496172904968, 1.3306158781051636, -0.9077208042144775, -0.7427971363067627, 0.18361206352710724, -0.8090711832046509, 1.0714893341064453, 0.5187730193138123, 0.3076261579990387, 0.48233941197395325, 1.5894356966018677, 0.9150964617729187, -0.3981799781322479, 0.46509772539138794, 0.6552060842514038, -0.05223481357097626, -2.2020986080169678, -1.2602769136428833, 0.3543083965778351, -0.6640734076499939, -1.5430134534835815, 1.4813445806503296, -1.132705807685852, -1.0798165798187256, 0.6002957224845886, 0.12113691121339798, 1.3671903610229492, 0.437105268239975, 1.5064964294433594, 1.9802799224853516, 0.7765687704086304, 0.4395926594734192, 1.1462907791137695, -0.0926244929432869, -0.402094304561615, 1.8386576175689697, -0.4833007752895355, 0.42210787534713745, 1.0163345336914062, -0.16442108154296875, -1.214611530303955, -0.7266342043876648, -1.5279861688613892, -0.8746682405471802, 1.2029738426208496, 0.03159181773662567, -1.0314146280288696, 0.18559125065803528, 1.6439875364303589, 0.043299924582242966, -0.5067536234855652, 0.6442485451698303, 0.3638128340244293, -0.8674290776252747, -0.009347602725028992, -0.885902464389801, 0.6124183535575867, -0.02770165726542473, -0.38587450981140137, 0.2925816774368286, 0.4758460521697998, 1.500191569328308, -0.05445484444499016, 0.13411781191825867, 0.9643118977546692, -1.410855770111084, 1.6758188009262085, -0.771203339099884, 0.23035281896591187, -2.3181257247924805, 1.4526249170303345, -0.7629600763320923, 1.9510927200317383, -2.6088573932647705, 0.5452174544334412, -0.4945051968097687, -0.4519360661506653, 0.22955891489982605, -0.4313279688358307, 0.15912945568561554, -0.04471302032470703, -1.1552925109863281, -0.021849606186151505, -0.5595124959945679, 0.6772162318229675, 1.0701606273651123, 1.4164671897888184, -1.2244070768356323, -0.4181874394416809, -1.7712498903274536, -0.10419805347919464, -0.7737183570861816, 0.05756426975131035, -1.9480395317077637, -0.3501425087451935, -1.8250161409378052, -2.3282580375671387, -1.2207633256912231, -0.7894208431243896, 1.2270760536193848, 0.06587442010641098, -0.976783812046051, 1.3193925619125366, -0.4362161159515381, -1.9159375429153442, 1.2036168575286865, -2.194551706314087 ]
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi @albertvillanova, Thanks a lot for your reply! I got it now. The strange thing for me was to have it correctly working (i.e., DatasetDict with different features in some datasets) locally and not on the Hub. It would be great to have configuration supported by `push_to_hub`. Personally, this latter functionality allowed me to iterate rather quickly on dataset curation. Again, thanks for your time @albertvillanova! Best, Pietro
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ```
789
68
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ``` Hi @albertvillanova, Thanks a lot for your reply! I got it now. The strange thing for me was to have it correctly working (i.e., DatasetDict with different features in some datasets) locally and not on the Hub. It would be great to have configuration supported by `push_to_hub`. Personally, this latter functionality allowed me to iterate rather quickly on dataset curation. Again, thanks for your time @albertvillanova! Best, Pietro
[ -1.2451794147491455, -0.8649232387542725, -0.7281451225280762, 1.553868055343628, -0.22664426267147064, -0.9993091821670532, 0.2305677980184555, -1.1509039402008057, 1.659450888633728, -0.6978124380111694, 0.4650605022907257, -1.6354515552520752, -0.01876036450266838, -0.5618094801902771, -0.7158192992210388, -0.9354511499404907, -0.43358394503593445, -0.647844135761261, 1.0594372749328613, 2.504539966583252, 1.3537321090698242, -1.3717018365859985, 2.678347110748291, 0.7667494416236877, -0.07971303164958954, -0.941303014755249, 0.6392586827278137, 0.026954039931297302, -1.1907784938812256, -0.4691286087036133, -1.0424803495407104, -0.2747510075569153, -0.4182811975479126, -0.5155866146087646, -0.12353280186653137, 0.4750727117061615, -0.41198456287384033, -0.5022237300872803, -0.7168172597885132, -0.8658886551856995, 0.5331714153289795, -0.3562619090080261, 0.9353601336479187, -0.39720025658607483, 1.8053985834121704, -0.5535914897918701, 0.518395721912384, 0.6995766758918762, 1.1773884296417236, 0.32667821645736694, 0.027907926589250565, 0.3616662621498108, 0.46544232964515686, -0.0883021354675293, 0.6340338587760925, 1.3219131231307983, 0.6818751692771912, 0.5913165211677551, 0.8967456221580505, -2.1556320190429688, 1.1674844026565552, -1.2061305046081543, 0.2002599686384201, 1.445934534072876, -0.7261993288993835, 0.3766355812549591, -1.8223623037338257, -0.049051206558942795, 0.5835367441177368, -2.2245934009552, 0.3724067807197571, -1.3511738777160645, -0.6130244731903076, 1.005454182624817, 0.44386282563209534, -1.1959924697875977, 0.07352542877197266, -0.32124340534210205, 0.9344584941864014, 0.3494105339050293, 1.0933512449264526, -1.5891788005828857, -0.0308145172894001, -0.3436228632926941, 0.13134144246578217, -1.230780839920044, -1.4930716753005981, 0.542497992515564, 0.4366168677806854, 0.45963823795318604, -0.07844836264848709, 1.2000983953475952, -1.1366539001464844, 0.7275172472000122, -1.041454792022705, -1.6493335962295532, -1.50454843044281, -2.20249080657959, -2.1724231243133545, 0.7704429626464844, -0.4916680157184601, -0.5792763233184814, 2.0328352451324463, -0.9342861771583557, -1.574482798576355, 1.1484870910644531, 0.35286980867385864, 0.06477129459381104, 2.454087972640991, 0.22395440936088562, -0.7091776132583618, 0.5627260804176331, -0.7559760212898254, 0.7190683484077454, -0.25407594442367554, 1.3848469257354736, 0.39118415117263794, -0.9929361939430237, 1.692997694015503, -0.3324757218360901, 0.6555797457695007, -0.5402072072029114, -0.5131280422210693, -0.5933266282081604, 0.3509489893913269, 1.8295425176620483, -0.32804757356643677, 1.4690049886703491, -0.2033367156982422, -1.5221623182296753, -1.654370665550232, 0.9858603477478027, 0.4806986451148987, -0.7533137202262878, 0.06533815711736679, -0.3227439522743225, 0.09041871130466461, -0.1489638388156891, 1.2234385013580322, 1.3101850748062134, 0.779169499874115, -0.3640286326408386, -0.7550421953201294, 0.10505786538124084, 0.02230352908372879, -0.829312801361084, -1.600072979927063, -0.3254599869251251, 0.12287604063749313, 0.5908232927322388, -1.2412457466125488, 1.7726548910140991, 0.9324183464050293, 1.831104040145874, 1.032397985458374, -0.39141544699668884, 1.536503791809082, 0.1254754215478897, 1.7070499658584595, -0.48517751693725586, 0.5833888053894043, -0.27446064352989197, -1.1637632846832275, 0.8872939348220825, -0.310308039188385, -2.1414084434509277, -0.9019045829772949, -0.7598418593406677, -0.13964766263961792, -0.7906374931335449, 0.9760512113571167, -0.3396027386188507, -1.367580771446228, 0.1926964968442917, -0.8090031147003174, -0.04939926788210869, -1.2081745862960815, 0.40982338786125183, 0.5883526802062988, -0.6522760391235352, 0.07011411339044571, -0.0931582972407341, -1.1487845182418823, -0.416411817073822, 0.13288722932338715, 1.9545458555221558, -0.7830870747566223, 0.7891784310340881, 1.1440714597702026, -0.81821209192276, -0.0057470230385661125, 0.24080711603164673, -0.3767400085926056, 0.8519314527511597, -1.029973030090332, -0.5871512293815613, 1.142580509185791, -0.06396536529064178, -0.6276655197143555, 1.4794504642486572, 0.6129332780838013, -0.9329330921173096, -0.310350626707077, -0.07087808847427368, -0.7462022304534912, 0.05002680420875549, -1.3660751581192017, -0.13861508667469025, 0.5250883102416992, -1.5181667804718018, -0.5122861862182617, -0.10096162557601929, 1.300116777420044, -0.2664024531841278, 1.4586576223373413, -0.39401569962501526, -0.18812061846256256, -0.30017945170402527, -0.30945098400115967, 0.017578180879354477, -0.23218078911304474, -0.7132721543312073, 0.1047263815999031, -0.8611741065979004, 0.34125155210494995, 1.4010367393493652, 0.3767460882663727, -0.028202537447214127, 0.5287933945655823, 1.1479923725128174, 0.4845116138458252, 0.023906216025352478, -0.9640198945999146, -1.4313087463378906, 1.9195895195007324, -1.4823360443115234, 2.0585877895355225, 0.7201471924781799, -0.03050624206662178, -1.7278319597244263, -1.984663963317871, 1.3233970403671265, 1.2391901016235352, 2.34387469291687, 0.49448180198669434, 0.39872321486473083, -0.8051160573959351, -0.6945935487747192, 0.33007845282554626, -1.0593448877334595, -0.5818406939506531, 0.2822447121143341, 2.355001211166382, 1.7955610752105713, -0.46384096145629883, -0.19322113692760468, -0.9533686637878418, 1.3972179889678955, -0.1812622994184494, 0.14662830531597137, 1.967130184173584, -0.21524368226528168, -1.0768728256225586, 1.3074313402175903, -2.318618059158325, 0.05671962723135948, 1.9678374528884888, 0.3670143783092499, 0.055329810827970505, -1.319191813468933, -0.6235135793685913, -0.3234320878982544, -0.5885088443756104, -1.2363642454147339, 0.47056716680526733, -0.17351645231246948, -0.7929063439369202, -1.3359181880950928, 0.11077502369880676, -1.1437550783157349, -1.578786849975586, 0.21725989878177643, 1.8607923984527588, 2.08082914352417, -0.8123661279678345, 1.5546016693115234, -0.3008984923362732, -0.011817866936326027, 1.1887946128845215, 1.2860298156738281, 3.0749385356903076, 1.8494391441345215, -1.2640368938446045, 0.5039407014846802, -0.18140211701393127, -0.4616866707801819, 1.1644538640975952, -1.3729248046875, 1.3839030265808105, -0.040258411318063736, -1.0777510404586792, -1.1036534309387207, 0.8167561888694763, 0.3817443251609802, 0.07806664705276489, -0.5436364412307739, 1.0119119882583618, 0.1668606698513031, 1.420821189880371, 0.5987639427185059, -0.2734985053539276, 0.6881628632545471, -0.3676114082336426, -0.3933156430721283, 1.530598521232605, 0.10434694588184357, -1.4233312606811523, -2.2278828620910645, -0.08235117793083191, -0.8720018267631531, 0.15184134244918823, -0.5159162878990173, -1.059025526046753, 1.8681914806365967, 0.2472899854183197, -1.226717472076416, -0.25516873598098755, -0.4526006877422333, -0.5956296324729919, 2.884692907333374, -1.344565510749817, -0.2386503666639328, -1.0964206457138062, -0.7979401350021362, 1.6847056150436401, -1.0902942419052124, -0.13272784650325775, -0.9883076548576355, -0.4746383726596832, -1.3881332874298096, -0.5363200902938843, 0.185092955827713, -1.0119433403015137, 0.8898327946662903, 0.24800896644592285, -1.2131614685058594, -0.41397979855537415, -0.7684968113899231, 0.8653547167778015, -0.207139253616333, 0.13371071219444275, 2.0572621822357178, 0.33215442299842834, -0.29318955540657043, 0.723905086517334, 1.2410911321640015, 0.6118901968002319, -0.58537358045578, 0.2755281925201416, -0.6722330451011658, 0.3560076355934143, -1.4005990028381348, 0.1793697029352188, -2.6976253986358643, 0.5912714004516602, -0.11043918877840042, -0.09659405797719955, 0.09247253090143204, -1.2461628913879395, 1.0780614614486694, 2.5567147731781006, -1.1318128108978271, 0.3679691255092621, 0.31819942593574524, 1.1348830461502075, -1.6252708435058594, 0.29435113072395325, -0.45304960012435913, 1.9707366228103638, 0.24915671348571777, 1.105823040008545, -0.5106444954872131, -2.2778046131134033, 0.6513379812240601, -1.344028115272522, -1.2697986364364624, 0.6801872253417969, -0.9621278047561646, 0.25870564579963684, -1.4853538274765015, -0.266929566860199, -0.9301642179489136, -1.0576106309890747, 0.6191572546958923, 0.12868301570415497, 0.28729942440986633, -0.4922182857990265, 0.4235350787639618, -2.2973756790161133, -1.4658069610595703, -0.27996495366096497, -0.8974877595901489, 0.5606580972671509, -0.4375956654548645, 0.8207802176475525, -0.202189102768898, -0.07992735505104065, 0.4639877676963806, 1.5235151052474976, 3.3146579265594482, 0.2578393816947937, 0.3230053782463074, -0.3108137845993042, -1.036617636680603, 1.6310895681381226, 0.8619455695152283, 0.035258699208498, -0.5499448180198669, -1.089794635772705, 1.261679768562317, 1.8460203409194946, 1.0495998859405518, -0.05090249329805374, -0.9015642404556274, -0.715424120426178, -0.1549978405237198, 0.19304493069648743, 0.3171387314796448, 0.9685388803482056, -0.009658449329435825, 0.017895840108394623, 1.441550612449646, 1.1344958543777466, -0.4089442193508148, 0.16621871292591095, -0.7922569513320923, -0.4519110321998596, 0.6048526763916016, 0.18240946531295776, 0.041224367916584015, 0.47163301706314087, -0.9778524041175842, -0.38243719935417175, -0.4157019555568695, -0.8934913873672485, -0.6494413614273071, -0.41849976778030396, -0.3081439435482025, 1.5815019607543945, 0.1093273013830185, -0.55643630027771, -0.06286080926656723, -0.9748212099075317, -0.135343998670578, -1.217237949371338, 0.15188072621822357, -0.05103584751486778, -0.2278871238231659, -0.19715936481952667, 1.747165322303772, -0.7998660802841187, -1.9961386919021606, 0.14734385907649994, 0.24287375807762146, -0.19316092133522034, 0.26232606172561646, 1.5898735523223877, 0.5738462805747986, 1.4331544637680054, 1.1488744020462036, 0.8536118865013123, -0.5366510152816772, -1.3827508687973022, 0.5957642197608948, 1.1835169792175293, -1.3471453189849854, 0.8582830429077148, -0.05064255744218826, -0.48439040780067444, 0.4179556965827942, 1.210050344467163, 0.5558439493179321, -1.8656835556030273, 0.7539373636245728, -0.9171155691146851, 0.85414719581604, 0.6114279627799988, 0.5496599674224854, 0.1746819019317627, 0.7870432138442993, -1.1364212036132812, -1.1180455684661865, -0.7317055463790894, -0.6488995552062988, 2.0662121772766113, -0.38118258118629456, 0.7421551942825317, -0.4145662188529968, -1.2423685789108276, 0.026126515120267868, 0.6799948215484619, 0.31773239374160767, -0.5349404215812683, 0.8276689648628235, -0.5748076438903809, -1.023399829864502, -1.3598668575286865, -0.30193030834198, -1.070468544960022, -0.9476413130760193, 1.1416285037994385, 0.6912609934806824, 0.21479055285453796, 1.843422770500183, 0.8022012710571289, 0.33972159028053284, -2.559539794921875, 0.8831998705863953, 0.28283658623695374, -0.08681703358888626, 0.850892186164856, 0.4134870767593384, 0.972468912601471, -0.0923711359500885, 0.5375823974609375, -2.4912166595458984, 2.363612174987793, -0.13159514963626862, 0.7489147186279297, 0.026704445481300354, -0.22751615941524506, 1.074294924736023, 0.6290568113327026, 0.3765454888343811, -0.9469837546348572, 0.3965265452861786, -0.4857875108718872, 1.2424787282943726, 0.8850612640380859, -0.7189779877662659, 0.05213601514697075, 1.431256890296936, 0.5714412927627563, -0.4902054965496063, -0.9734386801719666, -0.7999133467674255, 0.9964643120765686, 1.640210509300232, 0.0008301278576254845, 0.010260560549795628, 0.901620626449585, 0.6190987229347229, -1.2836964130401611, 0.03391547128558159, -0.811365008354187, -0.7756093740463257, 1.7492783069610596, 2.20949649810791, -0.2405850887298584, -0.27180659770965576, -0.6077617406845093, -1.3552076816558838, 0.8304729461669922, -0.1318756490945816, 0.366858571767807, 0.5970462560653687, -0.6952643394470215, 0.9916614890098572, 0.9075968861579895, 0.917397141456604, 0.3338114321231842, 0.29959654808044434, 0.4600737690925598, -0.4290418028831482, -1.1230723857879639, -0.11957066506147385, -1.0075538158416748, -2.6596317291259766, 0.4001292288303375, -0.17571789026260376, -1.289850115776062, -0.0350441038608551, -1.0237929821014404, 1.0051589012145996, -0.5958867073059082, -0.9608864188194275, -1.5641579627990723, 0.20846201479434967, 0.11565833538770676, 1.08387291431427, -1.5614159107208252, -0.41406741738319397, 1.1759446859359741, 0.979802668094635, -0.7549492120742798, 0.829211950302124, 0.12772546708583832, 1.1278241872787476, 0.7340189218521118, -0.4363175630569458, 0.5652576684951782, -0.16624011099338531, -1.429084062576294, 0.42248138785362244, 1.2105600833892822, 0.20825892686843872, 1.5649404525756836, -0.44753238558769226, 0.0404558889567852, 0.36488351225852966, -0.590903639793396, -0.5089191198348999, -0.49056997895240784, 0.4517338275909424, 0.03798800706863403, -0.9968439936637878, -0.15334585309028625, 0.010046700946986675, -0.21409612894058228, 0.06218786910176277, -1.3343504667282104, -0.06253601610660553, -0.49776843190193176, -0.7077584862709045, -1.135869026184082, -0.17310494184494019, 1.246834635734558, -0.8346919417381287, -0.13523860275745392, 0.3842449486255646, 0.22337691485881805, 0.5034450888633728, 0.5145336985588074, -0.8795977234840393, -0.32772526144981384, -0.17370803654193878, -0.3555713891983032, 0.29653486609458923, 1.4302127361297607, -0.1194513812661171, -1.003903865814209, 0.6127427220344543, -0.23518680036067963, 0.10326706618070602, 1.9362226724624634, -0.010776174254715443, -0.6761624813079834, 0.23357562720775604, -0.7131118178367615, 1.8436970710754395, 1.6371150016784668, 1.4449948072433472, -0.307157963514328, -0.6830027103424072, 0.6985041499137878, -0.5497161149978638, -0.44364216923713684, 0.758560836315155, 0.2594875693321228, -0.18570713698863983, -1.5886032581329346, 0.8475496172904968, 1.3306158781051636, -0.9077208042144775, -0.7427971363067627, 0.18361206352710724, -0.8090711832046509, 1.0714893341064453, 0.5187730193138123, 0.3076261579990387, 0.48233941197395325, 1.5894356966018677, 0.9150964617729187, -0.3981799781322479, 0.46509772539138794, 0.6552060842514038, -0.05223481357097626, -2.2020986080169678, -1.2602769136428833, 0.3543083965778351, -0.6640734076499939, -1.5430134534835815, 1.4813445806503296, -1.132705807685852, -1.0798165798187256, 0.6002957224845886, 0.12113691121339798, 1.3671903610229492, 0.437105268239975, 1.5064964294433594, 1.9802799224853516, 0.7765687704086304, 0.4395926594734192, 1.1462907791137695, -0.0926244929432869, -0.402094304561615, 1.8386576175689697, -0.4833007752895355, 0.42210787534713745, 1.0163345336914062, -0.16442108154296875, -1.214611530303955, -0.7266342043876648, -1.5279861688613892, -0.8746682405471802, 1.2029738426208496, 0.03159181773662567, -1.0314146280288696, 0.18559125065803528, 1.6439875364303589, 0.043299924582242966, -0.5067536234855652, 0.6442485451698303, 0.3638128340244293, -0.8674290776252747, -0.009347602725028992, -0.885902464389801, 0.6124183535575867, -0.02770165726542473, -0.38587450981140137, 0.2925816774368286, 0.4758460521697998, 1.500191569328308, -0.05445484444499016, 0.13411781191825867, 0.9643118977546692, -1.410855770111084, 1.6758188009262085, -0.771203339099884, 0.23035281896591187, -2.3181257247924805, 1.4526249170303345, -0.7629600763320923, 1.9510927200317383, -2.6088573932647705, 0.5452174544334412, -0.4945051968097687, -0.4519360661506653, 0.22955891489982605, -0.4313279688358307, 0.15912945568561554, -0.04471302032470703, -1.1552925109863281, -0.021849606186151505, -0.5595124959945679, 0.6772162318229675, 1.0701606273651123, 1.4164671897888184, -1.2244070768356323, -0.4181874394416809, -1.7712498903274536, -0.10419805347919464, -0.7737183570861816, 0.05756426975131035, -1.9480395317077637, -0.3501425087451935, -1.8250161409378052, -2.3282580375671387, -1.2207633256912231, -0.7894208431243896, 1.2270760536193848, 0.06587442010641098, -0.976783812046051, 1.3193925619125366, -0.4362161159515381, -1.9159375429153442, 1.2036168575286865, -2.194551706314087 ]
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi! Yes, we should override `DatasetDict.__setitem__` and throw an error if features dictionaries are different. `DatasetDict` is a subclass of `dict`, so `DatasetDict.{update/setdefault}` need to be overridden as well. We could avoid this by subclassing `UserDict`, but then we would get the name collision - `DatasetDict.data` vs. `UserDict.data`. This makes me think we should rename the `data` attribute of `DatasetDict`/`Dataset` for easier dict subclassing (would also simplify https://github.com/huggingface/datasets/pull/3997) and to follow good Python practices. Another option is to have a custom `UserDict` class in `py_utils`, but it can be hard to keep this class consistent with the built-in `UserDict`. @albertvillanova @lhoestq wdyt?
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ```
789
102
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ``` Hi! Yes, we should override `DatasetDict.__setitem__` and throw an error if features dictionaries are different. `DatasetDict` is a subclass of `dict`, so `DatasetDict.{update/setdefault}` need to be overridden as well. We could avoid this by subclassing `UserDict`, but then we would get the name collision - `DatasetDict.data` vs. `UserDict.data`. This makes me think we should rename the `data` attribute of `DatasetDict`/`Dataset` for easier dict subclassing (would also simplify https://github.com/huggingface/datasets/pull/3997) and to follow good Python practices. Another option is to have a custom `UserDict` class in `py_utils`, but it can be hard to keep this class consistent with the built-in `UserDict`. @albertvillanova @lhoestq wdyt?
[ -1.2451794147491455, -0.8649232387542725, -0.7281451225280762, 1.553868055343628, -0.22664426267147064, -0.9993091821670532, 0.2305677980184555, -1.1509039402008057, 1.659450888633728, -0.6978124380111694, 0.4650605022907257, -1.6354515552520752, -0.01876036450266838, -0.5618094801902771, -0.7158192992210388, -0.9354511499404907, -0.43358394503593445, -0.647844135761261, 1.0594372749328613, 2.504539966583252, 1.3537321090698242, -1.3717018365859985, 2.678347110748291, 0.7667494416236877, -0.07971303164958954, -0.941303014755249, 0.6392586827278137, 0.026954039931297302, -1.1907784938812256, -0.4691286087036133, -1.0424803495407104, -0.2747510075569153, -0.4182811975479126, -0.5155866146087646, -0.12353280186653137, 0.4750727117061615, -0.41198456287384033, -0.5022237300872803, -0.7168172597885132, -0.8658886551856995, 0.5331714153289795, -0.3562619090080261, 0.9353601336479187, -0.39720025658607483, 1.8053985834121704, -0.5535914897918701, 0.518395721912384, 0.6995766758918762, 1.1773884296417236, 0.32667821645736694, 0.027907926589250565, 0.3616662621498108, 0.46544232964515686, -0.0883021354675293, 0.6340338587760925, 1.3219131231307983, 0.6818751692771912, 0.5913165211677551, 0.8967456221580505, -2.1556320190429688, 1.1674844026565552, -1.2061305046081543, 0.2002599686384201, 1.445934534072876, -0.7261993288993835, 0.3766355812549591, -1.8223623037338257, -0.049051206558942795, 0.5835367441177368, -2.2245934009552, 0.3724067807197571, -1.3511738777160645, -0.6130244731903076, 1.005454182624817, 0.44386282563209534, -1.1959924697875977, 0.07352542877197266, -0.32124340534210205, 0.9344584941864014, 0.3494105339050293, 1.0933512449264526, -1.5891788005828857, -0.0308145172894001, -0.3436228632926941, 0.13134144246578217, -1.230780839920044, -1.4930716753005981, 0.542497992515564, 0.4366168677806854, 0.45963823795318604, -0.07844836264848709, 1.2000983953475952, -1.1366539001464844, 0.7275172472000122, -1.041454792022705, -1.6493335962295532, -1.50454843044281, -2.20249080657959, -2.1724231243133545, 0.7704429626464844, -0.4916680157184601, -0.5792763233184814, 2.0328352451324463, -0.9342861771583557, -1.574482798576355, 1.1484870910644531, 0.35286980867385864, 0.06477129459381104, 2.454087972640991, 0.22395440936088562, -0.7091776132583618, 0.5627260804176331, -0.7559760212898254, 0.7190683484077454, -0.25407594442367554, 1.3848469257354736, 0.39118415117263794, -0.9929361939430237, 1.692997694015503, -0.3324757218360901, 0.6555797457695007, -0.5402072072029114, -0.5131280422210693, -0.5933266282081604, 0.3509489893913269, 1.8295425176620483, -0.32804757356643677, 1.4690049886703491, -0.2033367156982422, -1.5221623182296753, -1.654370665550232, 0.9858603477478027, 0.4806986451148987, -0.7533137202262878, 0.06533815711736679, -0.3227439522743225, 0.09041871130466461, -0.1489638388156891, 1.2234385013580322, 1.3101850748062134, 0.779169499874115, -0.3640286326408386, -0.7550421953201294, 0.10505786538124084, 0.02230352908372879, -0.829312801361084, -1.600072979927063, -0.3254599869251251, 0.12287604063749313, 0.5908232927322388, -1.2412457466125488, 1.7726548910140991, 0.9324183464050293, 1.831104040145874, 1.032397985458374, -0.39141544699668884, 1.536503791809082, 0.1254754215478897, 1.7070499658584595, -0.48517751693725586, 0.5833888053894043, -0.27446064352989197, -1.1637632846832275, 0.8872939348220825, -0.310308039188385, -2.1414084434509277, -0.9019045829772949, -0.7598418593406677, -0.13964766263961792, -0.7906374931335449, 0.9760512113571167, -0.3396027386188507, -1.367580771446228, 0.1926964968442917, -0.8090031147003174, -0.04939926788210869, -1.2081745862960815, 0.40982338786125183, 0.5883526802062988, -0.6522760391235352, 0.07011411339044571, -0.0931582972407341, -1.1487845182418823, -0.416411817073822, 0.13288722932338715, 1.9545458555221558, -0.7830870747566223, 0.7891784310340881, 1.1440714597702026, -0.81821209192276, -0.0057470230385661125, 0.24080711603164673, -0.3767400085926056, 0.8519314527511597, -1.029973030090332, -0.5871512293815613, 1.142580509185791, -0.06396536529064178, -0.6276655197143555, 1.4794504642486572, 0.6129332780838013, -0.9329330921173096, -0.310350626707077, -0.07087808847427368, -0.7462022304534912, 0.05002680420875549, -1.3660751581192017, -0.13861508667469025, 0.5250883102416992, -1.5181667804718018, -0.5122861862182617, -0.10096162557601929, 1.300116777420044, -0.2664024531841278, 1.4586576223373413, -0.39401569962501526, -0.18812061846256256, -0.30017945170402527, -0.30945098400115967, 0.017578180879354477, -0.23218078911304474, -0.7132721543312073, 0.1047263815999031, -0.8611741065979004, 0.34125155210494995, 1.4010367393493652, 0.3767460882663727, -0.028202537447214127, 0.5287933945655823, 1.1479923725128174, 0.4845116138458252, 0.023906216025352478, -0.9640198945999146, -1.4313087463378906, 1.9195895195007324, -1.4823360443115234, 2.0585877895355225, 0.7201471924781799, -0.03050624206662178, -1.7278319597244263, -1.984663963317871, 1.3233970403671265, 1.2391901016235352, 2.34387469291687, 0.49448180198669434, 0.39872321486473083, -0.8051160573959351, -0.6945935487747192, 0.33007845282554626, -1.0593448877334595, -0.5818406939506531, 0.2822447121143341, 2.355001211166382, 1.7955610752105713, -0.46384096145629883, -0.19322113692760468, -0.9533686637878418, 1.3972179889678955, -0.1812622994184494, 0.14662830531597137, 1.967130184173584, -0.21524368226528168, -1.0768728256225586, 1.3074313402175903, -2.318618059158325, 0.05671962723135948, 1.9678374528884888, 0.3670143783092499, 0.055329810827970505, -1.319191813468933, -0.6235135793685913, -0.3234320878982544, -0.5885088443756104, -1.2363642454147339, 0.47056716680526733, -0.17351645231246948, -0.7929063439369202, -1.3359181880950928, 0.11077502369880676, -1.1437550783157349, -1.578786849975586, 0.21725989878177643, 1.8607923984527588, 2.08082914352417, -0.8123661279678345, 1.5546016693115234, -0.3008984923362732, -0.011817866936326027, 1.1887946128845215, 1.2860298156738281, 3.0749385356903076, 1.8494391441345215, -1.2640368938446045, 0.5039407014846802, -0.18140211701393127, -0.4616866707801819, 1.1644538640975952, -1.3729248046875, 1.3839030265808105, -0.040258411318063736, -1.0777510404586792, -1.1036534309387207, 0.8167561888694763, 0.3817443251609802, 0.07806664705276489, -0.5436364412307739, 1.0119119882583618, 0.1668606698513031, 1.420821189880371, 0.5987639427185059, -0.2734985053539276, 0.6881628632545471, -0.3676114082336426, -0.3933156430721283, 1.530598521232605, 0.10434694588184357, -1.4233312606811523, -2.2278828620910645, -0.08235117793083191, -0.8720018267631531, 0.15184134244918823, -0.5159162878990173, -1.059025526046753, 1.8681914806365967, 0.2472899854183197, -1.226717472076416, -0.25516873598098755, -0.4526006877422333, -0.5956296324729919, 2.884692907333374, -1.344565510749817, -0.2386503666639328, -1.0964206457138062, -0.7979401350021362, 1.6847056150436401, -1.0902942419052124, -0.13272784650325775, -0.9883076548576355, -0.4746383726596832, -1.3881332874298096, -0.5363200902938843, 0.185092955827713, -1.0119433403015137, 0.8898327946662903, 0.24800896644592285, -1.2131614685058594, -0.41397979855537415, -0.7684968113899231, 0.8653547167778015, -0.207139253616333, 0.13371071219444275, 2.0572621822357178, 0.33215442299842834, -0.29318955540657043, 0.723905086517334, 1.2410911321640015, 0.6118901968002319, -0.58537358045578, 0.2755281925201416, -0.6722330451011658, 0.3560076355934143, -1.4005990028381348, 0.1793697029352188, -2.6976253986358643, 0.5912714004516602, -0.11043918877840042, -0.09659405797719955, 0.09247253090143204, -1.2461628913879395, 1.0780614614486694, 2.5567147731781006, -1.1318128108978271, 0.3679691255092621, 0.31819942593574524, 1.1348830461502075, -1.6252708435058594, 0.29435113072395325, -0.45304960012435913, 1.9707366228103638, 0.24915671348571777, 1.105823040008545, -0.5106444954872131, -2.2778046131134033, 0.6513379812240601, -1.344028115272522, -1.2697986364364624, 0.6801872253417969, -0.9621278047561646, 0.25870564579963684, -1.4853538274765015, -0.266929566860199, -0.9301642179489136, -1.0576106309890747, 0.6191572546958923, 0.12868301570415497, 0.28729942440986633, -0.4922182857990265, 0.4235350787639618, -2.2973756790161133, -1.4658069610595703, -0.27996495366096497, -0.8974877595901489, 0.5606580972671509, -0.4375956654548645, 0.8207802176475525, -0.202189102768898, -0.07992735505104065, 0.4639877676963806, 1.5235151052474976, 3.3146579265594482, 0.2578393816947937, 0.3230053782463074, -0.3108137845993042, -1.036617636680603, 1.6310895681381226, 0.8619455695152283, 0.035258699208498, -0.5499448180198669, -1.089794635772705, 1.261679768562317, 1.8460203409194946, 1.0495998859405518, -0.05090249329805374, -0.9015642404556274, -0.715424120426178, -0.1549978405237198, 0.19304493069648743, 0.3171387314796448, 0.9685388803482056, -0.009658449329435825, 0.017895840108394623, 1.441550612449646, 1.1344958543777466, -0.4089442193508148, 0.16621871292591095, -0.7922569513320923, -0.4519110321998596, 0.6048526763916016, 0.18240946531295776, 0.041224367916584015, 0.47163301706314087, -0.9778524041175842, -0.38243719935417175, -0.4157019555568695, -0.8934913873672485, -0.6494413614273071, -0.41849976778030396, -0.3081439435482025, 1.5815019607543945, 0.1093273013830185, -0.55643630027771, -0.06286080926656723, -0.9748212099075317, -0.135343998670578, -1.217237949371338, 0.15188072621822357, -0.05103584751486778, -0.2278871238231659, -0.19715936481952667, 1.747165322303772, -0.7998660802841187, -1.9961386919021606, 0.14734385907649994, 0.24287375807762146, -0.19316092133522034, 0.26232606172561646, 1.5898735523223877, 0.5738462805747986, 1.4331544637680054, 1.1488744020462036, 0.8536118865013123, -0.5366510152816772, -1.3827508687973022, 0.5957642197608948, 1.1835169792175293, -1.3471453189849854, 0.8582830429077148, -0.05064255744218826, -0.48439040780067444, 0.4179556965827942, 1.210050344467163, 0.5558439493179321, -1.8656835556030273, 0.7539373636245728, -0.9171155691146851, 0.85414719581604, 0.6114279627799988, 0.5496599674224854, 0.1746819019317627, 0.7870432138442993, -1.1364212036132812, -1.1180455684661865, -0.7317055463790894, -0.6488995552062988, 2.0662121772766113, -0.38118258118629456, 0.7421551942825317, -0.4145662188529968, -1.2423685789108276, 0.026126515120267868, 0.6799948215484619, 0.31773239374160767, -0.5349404215812683, 0.8276689648628235, -0.5748076438903809, -1.023399829864502, -1.3598668575286865, -0.30193030834198, -1.070468544960022, -0.9476413130760193, 1.1416285037994385, 0.6912609934806824, 0.21479055285453796, 1.843422770500183, 0.8022012710571289, 0.33972159028053284, -2.559539794921875, 0.8831998705863953, 0.28283658623695374, -0.08681703358888626, 0.850892186164856, 0.4134870767593384, 0.972468912601471, -0.0923711359500885, 0.5375823974609375, -2.4912166595458984, 2.363612174987793, -0.13159514963626862, 0.7489147186279297, 0.026704445481300354, -0.22751615941524506, 1.074294924736023, 0.6290568113327026, 0.3765454888343811, -0.9469837546348572, 0.3965265452861786, -0.4857875108718872, 1.2424787282943726, 0.8850612640380859, -0.7189779877662659, 0.05213601514697075, 1.431256890296936, 0.5714412927627563, -0.4902054965496063, -0.9734386801719666, -0.7999133467674255, 0.9964643120765686, 1.640210509300232, 0.0008301278576254845, 0.010260560549795628, 0.901620626449585, 0.6190987229347229, -1.2836964130401611, 0.03391547128558159, -0.811365008354187, -0.7756093740463257, 1.7492783069610596, 2.20949649810791, -0.2405850887298584, -0.27180659770965576, -0.6077617406845093, -1.3552076816558838, 0.8304729461669922, -0.1318756490945816, 0.366858571767807, 0.5970462560653687, -0.6952643394470215, 0.9916614890098572, 0.9075968861579895, 0.917397141456604, 0.3338114321231842, 0.29959654808044434, 0.4600737690925598, -0.4290418028831482, -1.1230723857879639, -0.11957066506147385, -1.0075538158416748, -2.6596317291259766, 0.4001292288303375, -0.17571789026260376, -1.289850115776062, -0.0350441038608551, -1.0237929821014404, 1.0051589012145996, -0.5958867073059082, -0.9608864188194275, -1.5641579627990723, 0.20846201479434967, 0.11565833538770676, 1.08387291431427, -1.5614159107208252, -0.41406741738319397, 1.1759446859359741, 0.979802668094635, -0.7549492120742798, 0.829211950302124, 0.12772546708583832, 1.1278241872787476, 0.7340189218521118, -0.4363175630569458, 0.5652576684951782, -0.16624011099338531, -1.429084062576294, 0.42248138785362244, 1.2105600833892822, 0.20825892686843872, 1.5649404525756836, -0.44753238558769226, 0.0404558889567852, 0.36488351225852966, -0.590903639793396, -0.5089191198348999, -0.49056997895240784, 0.4517338275909424, 0.03798800706863403, -0.9968439936637878, -0.15334585309028625, 0.010046700946986675, -0.21409612894058228, 0.06218786910176277, -1.3343504667282104, -0.06253601610660553, -0.49776843190193176, -0.7077584862709045, -1.135869026184082, -0.17310494184494019, 1.246834635734558, -0.8346919417381287, -0.13523860275745392, 0.3842449486255646, 0.22337691485881805, 0.5034450888633728, 0.5145336985588074, -0.8795977234840393, -0.32772526144981384, -0.17370803654193878, -0.3555713891983032, 0.29653486609458923, 1.4302127361297607, -0.1194513812661171, -1.003903865814209, 0.6127427220344543, -0.23518680036067963, 0.10326706618070602, 1.9362226724624634, -0.010776174254715443, -0.6761624813079834, 0.23357562720775604, -0.7131118178367615, 1.8436970710754395, 1.6371150016784668, 1.4449948072433472, -0.307157963514328, -0.6830027103424072, 0.6985041499137878, -0.5497161149978638, -0.44364216923713684, 0.758560836315155, 0.2594875693321228, -0.18570713698863983, -1.5886032581329346, 0.8475496172904968, 1.3306158781051636, -0.9077208042144775, -0.7427971363067627, 0.18361206352710724, -0.8090711832046509, 1.0714893341064453, 0.5187730193138123, 0.3076261579990387, 0.48233941197395325, 1.5894356966018677, 0.9150964617729187, -0.3981799781322479, 0.46509772539138794, 0.6552060842514038, -0.05223481357097626, -2.2020986080169678, -1.2602769136428833, 0.3543083965778351, -0.6640734076499939, -1.5430134534835815, 1.4813445806503296, -1.132705807685852, -1.0798165798187256, 0.6002957224845886, 0.12113691121339798, 1.3671903610229492, 0.437105268239975, 1.5064964294433594, 1.9802799224853516, 0.7765687704086304, 0.4395926594734192, 1.1462907791137695, -0.0926244929432869, -0.402094304561615, 1.8386576175689697, -0.4833007752895355, 0.42210787534713745, 1.0163345336914062, -0.16442108154296875, -1.214611530303955, -0.7266342043876648, -1.5279861688613892, -0.8746682405471802, 1.2029738426208496, 0.03159181773662567, -1.0314146280288696, 0.18559125065803528, 1.6439875364303589, 0.043299924582242966, -0.5067536234855652, 0.6442485451698303, 0.3638128340244293, -0.8674290776252747, -0.009347602725028992, -0.885902464389801, 0.6124183535575867, -0.02770165726542473, -0.38587450981140137, 0.2925816774368286, 0.4758460521697998, 1.500191569328308, -0.05445484444499016, 0.13411781191825867, 0.9643118977546692, -1.410855770111084, 1.6758188009262085, -0.771203339099884, 0.23035281896591187, -2.3181257247924805, 1.4526249170303345, -0.7629600763320923, 1.9510927200317383, -2.6088573932647705, 0.5452174544334412, -0.4945051968097687, -0.4519360661506653, 0.22955891489982605, -0.4313279688358307, 0.15912945568561554, -0.04471302032470703, -1.1552925109863281, -0.021849606186151505, -0.5595124959945679, 0.6772162318229675, 1.0701606273651123, 1.4164671897888184, -1.2244070768356323, -0.4181874394416809, -1.7712498903274536, -0.10419805347919464, -0.7737183570861816, 0.05756426975131035, -1.9480395317077637, -0.3501425087451935, -1.8250161409378052, -2.3282580375671387, -1.2207633256912231, -0.7894208431243896, 1.2270760536193848, 0.06587442010641098, -0.976783812046051, 1.3193925619125366, -0.4362161159515381, -1.9159375429153442, 1.2036168575286865, -2.194551706314087 ]
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
I would keep things simple and keep subclassing dict. Regarding the features check, I guess this can be done only for `push_to_hub` right ? It is the only function right now that requires the underlying datasets to be splits (e.g. train/test) and have the same features. Note that later you will be able to push datasets with different features as different dataset **configurations** (similarly to the [GLUE subsets](https://huggingface.co/datasets/glue) for example). We will work on this soon
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ```
789
76
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ``` I would keep things simple and keep subclassing dict. Regarding the features check, I guess this can be done only for `push_to_hub` right ? It is the only function right now that requires the underlying datasets to be splits (e.g. train/test) and have the same features. Note that later you will be able to push datasets with different features as different dataset **configurations** (similarly to the [GLUE subsets](https://huggingface.co/datasets/glue) for example). We will work on this soon
[ -1.2451794147491455, -0.8649232387542725, -0.7281451225280762, 1.553868055343628, -0.22664426267147064, -0.9993091821670532, 0.2305677980184555, -1.1509039402008057, 1.659450888633728, -0.6978124380111694, 0.4650605022907257, -1.6354515552520752, -0.01876036450266838, -0.5618094801902771, -0.7158192992210388, -0.9354511499404907, -0.43358394503593445, -0.647844135761261, 1.0594372749328613, 2.504539966583252, 1.3537321090698242, -1.3717018365859985, 2.678347110748291, 0.7667494416236877, -0.07971303164958954, -0.941303014755249, 0.6392586827278137, 0.026954039931297302, -1.1907784938812256, -0.4691286087036133, -1.0424803495407104, -0.2747510075569153, -0.4182811975479126, -0.5155866146087646, -0.12353280186653137, 0.4750727117061615, -0.41198456287384033, -0.5022237300872803, -0.7168172597885132, -0.8658886551856995, 0.5331714153289795, -0.3562619090080261, 0.9353601336479187, -0.39720025658607483, 1.8053985834121704, -0.5535914897918701, 0.518395721912384, 0.6995766758918762, 1.1773884296417236, 0.32667821645736694, 0.027907926589250565, 0.3616662621498108, 0.46544232964515686, -0.0883021354675293, 0.6340338587760925, 1.3219131231307983, 0.6818751692771912, 0.5913165211677551, 0.8967456221580505, -2.1556320190429688, 1.1674844026565552, -1.2061305046081543, 0.2002599686384201, 1.445934534072876, -0.7261993288993835, 0.3766355812549591, -1.8223623037338257, -0.049051206558942795, 0.5835367441177368, -2.2245934009552, 0.3724067807197571, -1.3511738777160645, -0.6130244731903076, 1.005454182624817, 0.44386282563209534, -1.1959924697875977, 0.07352542877197266, -0.32124340534210205, 0.9344584941864014, 0.3494105339050293, 1.0933512449264526, -1.5891788005828857, -0.0308145172894001, -0.3436228632926941, 0.13134144246578217, -1.230780839920044, -1.4930716753005981, 0.542497992515564, 0.4366168677806854, 0.45963823795318604, -0.07844836264848709, 1.2000983953475952, -1.1366539001464844, 0.7275172472000122, -1.041454792022705, -1.6493335962295532, -1.50454843044281, -2.20249080657959, -2.1724231243133545, 0.7704429626464844, -0.4916680157184601, -0.5792763233184814, 2.0328352451324463, -0.9342861771583557, -1.574482798576355, 1.1484870910644531, 0.35286980867385864, 0.06477129459381104, 2.454087972640991, 0.22395440936088562, -0.7091776132583618, 0.5627260804176331, -0.7559760212898254, 0.7190683484077454, -0.25407594442367554, 1.3848469257354736, 0.39118415117263794, -0.9929361939430237, 1.692997694015503, -0.3324757218360901, 0.6555797457695007, -0.5402072072029114, -0.5131280422210693, -0.5933266282081604, 0.3509489893913269, 1.8295425176620483, -0.32804757356643677, 1.4690049886703491, -0.2033367156982422, -1.5221623182296753, -1.654370665550232, 0.9858603477478027, 0.4806986451148987, -0.7533137202262878, 0.06533815711736679, -0.3227439522743225, 0.09041871130466461, -0.1489638388156891, 1.2234385013580322, 1.3101850748062134, 0.779169499874115, -0.3640286326408386, -0.7550421953201294, 0.10505786538124084, 0.02230352908372879, -0.829312801361084, -1.600072979927063, -0.3254599869251251, 0.12287604063749313, 0.5908232927322388, -1.2412457466125488, 1.7726548910140991, 0.9324183464050293, 1.831104040145874, 1.032397985458374, -0.39141544699668884, 1.536503791809082, 0.1254754215478897, 1.7070499658584595, -0.48517751693725586, 0.5833888053894043, -0.27446064352989197, -1.1637632846832275, 0.8872939348220825, -0.310308039188385, -2.1414084434509277, -0.9019045829772949, -0.7598418593406677, -0.13964766263961792, -0.7906374931335449, 0.9760512113571167, -0.3396027386188507, -1.367580771446228, 0.1926964968442917, -0.8090031147003174, -0.04939926788210869, -1.2081745862960815, 0.40982338786125183, 0.5883526802062988, -0.6522760391235352, 0.07011411339044571, -0.0931582972407341, -1.1487845182418823, -0.416411817073822, 0.13288722932338715, 1.9545458555221558, -0.7830870747566223, 0.7891784310340881, 1.1440714597702026, -0.81821209192276, -0.0057470230385661125, 0.24080711603164673, -0.3767400085926056, 0.8519314527511597, -1.029973030090332, -0.5871512293815613, 1.142580509185791, -0.06396536529064178, -0.6276655197143555, 1.4794504642486572, 0.6129332780838013, -0.9329330921173096, -0.310350626707077, -0.07087808847427368, -0.7462022304534912, 0.05002680420875549, -1.3660751581192017, -0.13861508667469025, 0.5250883102416992, -1.5181667804718018, -0.5122861862182617, -0.10096162557601929, 1.300116777420044, -0.2664024531841278, 1.4586576223373413, -0.39401569962501526, -0.18812061846256256, -0.30017945170402527, -0.30945098400115967, 0.017578180879354477, -0.23218078911304474, -0.7132721543312073, 0.1047263815999031, -0.8611741065979004, 0.34125155210494995, 1.4010367393493652, 0.3767460882663727, -0.028202537447214127, 0.5287933945655823, 1.1479923725128174, 0.4845116138458252, 0.023906216025352478, -0.9640198945999146, -1.4313087463378906, 1.9195895195007324, -1.4823360443115234, 2.0585877895355225, 0.7201471924781799, -0.03050624206662178, -1.7278319597244263, -1.984663963317871, 1.3233970403671265, 1.2391901016235352, 2.34387469291687, 0.49448180198669434, 0.39872321486473083, -0.8051160573959351, -0.6945935487747192, 0.33007845282554626, -1.0593448877334595, -0.5818406939506531, 0.2822447121143341, 2.355001211166382, 1.7955610752105713, -0.46384096145629883, -0.19322113692760468, -0.9533686637878418, 1.3972179889678955, -0.1812622994184494, 0.14662830531597137, 1.967130184173584, -0.21524368226528168, -1.0768728256225586, 1.3074313402175903, -2.318618059158325, 0.05671962723135948, 1.9678374528884888, 0.3670143783092499, 0.055329810827970505, -1.319191813468933, -0.6235135793685913, -0.3234320878982544, -0.5885088443756104, -1.2363642454147339, 0.47056716680526733, -0.17351645231246948, -0.7929063439369202, -1.3359181880950928, 0.11077502369880676, -1.1437550783157349, -1.578786849975586, 0.21725989878177643, 1.8607923984527588, 2.08082914352417, -0.8123661279678345, 1.5546016693115234, -0.3008984923362732, -0.011817866936326027, 1.1887946128845215, 1.2860298156738281, 3.0749385356903076, 1.8494391441345215, -1.2640368938446045, 0.5039407014846802, -0.18140211701393127, -0.4616866707801819, 1.1644538640975952, -1.3729248046875, 1.3839030265808105, -0.040258411318063736, -1.0777510404586792, -1.1036534309387207, 0.8167561888694763, 0.3817443251609802, 0.07806664705276489, -0.5436364412307739, 1.0119119882583618, 0.1668606698513031, 1.420821189880371, 0.5987639427185059, -0.2734985053539276, 0.6881628632545471, -0.3676114082336426, -0.3933156430721283, 1.530598521232605, 0.10434694588184357, -1.4233312606811523, -2.2278828620910645, -0.08235117793083191, -0.8720018267631531, 0.15184134244918823, -0.5159162878990173, -1.059025526046753, 1.8681914806365967, 0.2472899854183197, -1.226717472076416, -0.25516873598098755, -0.4526006877422333, -0.5956296324729919, 2.884692907333374, -1.344565510749817, -0.2386503666639328, -1.0964206457138062, -0.7979401350021362, 1.6847056150436401, -1.0902942419052124, -0.13272784650325775, -0.9883076548576355, -0.4746383726596832, -1.3881332874298096, -0.5363200902938843, 0.185092955827713, -1.0119433403015137, 0.8898327946662903, 0.24800896644592285, -1.2131614685058594, -0.41397979855537415, -0.7684968113899231, 0.8653547167778015, -0.207139253616333, 0.13371071219444275, 2.0572621822357178, 0.33215442299842834, -0.29318955540657043, 0.723905086517334, 1.2410911321640015, 0.6118901968002319, -0.58537358045578, 0.2755281925201416, -0.6722330451011658, 0.3560076355934143, -1.4005990028381348, 0.1793697029352188, -2.6976253986358643, 0.5912714004516602, -0.11043918877840042, -0.09659405797719955, 0.09247253090143204, -1.2461628913879395, 1.0780614614486694, 2.5567147731781006, -1.1318128108978271, 0.3679691255092621, 0.31819942593574524, 1.1348830461502075, -1.6252708435058594, 0.29435113072395325, -0.45304960012435913, 1.9707366228103638, 0.24915671348571777, 1.105823040008545, -0.5106444954872131, -2.2778046131134033, 0.6513379812240601, -1.344028115272522, -1.2697986364364624, 0.6801872253417969, -0.9621278047561646, 0.25870564579963684, -1.4853538274765015, -0.266929566860199, -0.9301642179489136, -1.0576106309890747, 0.6191572546958923, 0.12868301570415497, 0.28729942440986633, -0.4922182857990265, 0.4235350787639618, -2.2973756790161133, -1.4658069610595703, -0.27996495366096497, -0.8974877595901489, 0.5606580972671509, -0.4375956654548645, 0.8207802176475525, -0.202189102768898, -0.07992735505104065, 0.4639877676963806, 1.5235151052474976, 3.3146579265594482, 0.2578393816947937, 0.3230053782463074, -0.3108137845993042, -1.036617636680603, 1.6310895681381226, 0.8619455695152283, 0.035258699208498, -0.5499448180198669, -1.089794635772705, 1.261679768562317, 1.8460203409194946, 1.0495998859405518, -0.05090249329805374, -0.9015642404556274, -0.715424120426178, -0.1549978405237198, 0.19304493069648743, 0.3171387314796448, 0.9685388803482056, -0.009658449329435825, 0.017895840108394623, 1.441550612449646, 1.1344958543777466, -0.4089442193508148, 0.16621871292591095, -0.7922569513320923, -0.4519110321998596, 0.6048526763916016, 0.18240946531295776, 0.041224367916584015, 0.47163301706314087, -0.9778524041175842, -0.38243719935417175, -0.4157019555568695, -0.8934913873672485, -0.6494413614273071, -0.41849976778030396, -0.3081439435482025, 1.5815019607543945, 0.1093273013830185, -0.55643630027771, -0.06286080926656723, -0.9748212099075317, -0.135343998670578, -1.217237949371338, 0.15188072621822357, -0.05103584751486778, -0.2278871238231659, -0.19715936481952667, 1.747165322303772, -0.7998660802841187, -1.9961386919021606, 0.14734385907649994, 0.24287375807762146, -0.19316092133522034, 0.26232606172561646, 1.5898735523223877, 0.5738462805747986, 1.4331544637680054, 1.1488744020462036, 0.8536118865013123, -0.5366510152816772, -1.3827508687973022, 0.5957642197608948, 1.1835169792175293, -1.3471453189849854, 0.8582830429077148, -0.05064255744218826, -0.48439040780067444, 0.4179556965827942, 1.210050344467163, 0.5558439493179321, -1.8656835556030273, 0.7539373636245728, -0.9171155691146851, 0.85414719581604, 0.6114279627799988, 0.5496599674224854, 0.1746819019317627, 0.7870432138442993, -1.1364212036132812, -1.1180455684661865, -0.7317055463790894, -0.6488995552062988, 2.0662121772766113, -0.38118258118629456, 0.7421551942825317, -0.4145662188529968, -1.2423685789108276, 0.026126515120267868, 0.6799948215484619, 0.31773239374160767, -0.5349404215812683, 0.8276689648628235, -0.5748076438903809, -1.023399829864502, -1.3598668575286865, -0.30193030834198, -1.070468544960022, -0.9476413130760193, 1.1416285037994385, 0.6912609934806824, 0.21479055285453796, 1.843422770500183, 0.8022012710571289, 0.33972159028053284, -2.559539794921875, 0.8831998705863953, 0.28283658623695374, -0.08681703358888626, 0.850892186164856, 0.4134870767593384, 0.972468912601471, -0.0923711359500885, 0.5375823974609375, -2.4912166595458984, 2.363612174987793, -0.13159514963626862, 0.7489147186279297, 0.026704445481300354, -0.22751615941524506, 1.074294924736023, 0.6290568113327026, 0.3765454888343811, -0.9469837546348572, 0.3965265452861786, -0.4857875108718872, 1.2424787282943726, 0.8850612640380859, -0.7189779877662659, 0.05213601514697075, 1.431256890296936, 0.5714412927627563, -0.4902054965496063, -0.9734386801719666, -0.7999133467674255, 0.9964643120765686, 1.640210509300232, 0.0008301278576254845, 0.010260560549795628, 0.901620626449585, 0.6190987229347229, -1.2836964130401611, 0.03391547128558159, -0.811365008354187, -0.7756093740463257, 1.7492783069610596, 2.20949649810791, -0.2405850887298584, -0.27180659770965576, -0.6077617406845093, -1.3552076816558838, 0.8304729461669922, -0.1318756490945816, 0.366858571767807, 0.5970462560653687, -0.6952643394470215, 0.9916614890098572, 0.9075968861579895, 0.917397141456604, 0.3338114321231842, 0.29959654808044434, 0.4600737690925598, -0.4290418028831482, -1.1230723857879639, -0.11957066506147385, -1.0075538158416748, -2.6596317291259766, 0.4001292288303375, -0.17571789026260376, -1.289850115776062, -0.0350441038608551, -1.0237929821014404, 1.0051589012145996, -0.5958867073059082, -0.9608864188194275, -1.5641579627990723, 0.20846201479434967, 0.11565833538770676, 1.08387291431427, -1.5614159107208252, -0.41406741738319397, 1.1759446859359741, 0.979802668094635, -0.7549492120742798, 0.829211950302124, 0.12772546708583832, 1.1278241872787476, 0.7340189218521118, -0.4363175630569458, 0.5652576684951782, -0.16624011099338531, -1.429084062576294, 0.42248138785362244, 1.2105600833892822, 0.20825892686843872, 1.5649404525756836, -0.44753238558769226, 0.0404558889567852, 0.36488351225852966, -0.590903639793396, -0.5089191198348999, -0.49056997895240784, 0.4517338275909424, 0.03798800706863403, -0.9968439936637878, -0.15334585309028625, 0.010046700946986675, -0.21409612894058228, 0.06218786910176277, -1.3343504667282104, -0.06253601610660553, -0.49776843190193176, -0.7077584862709045, -1.135869026184082, -0.17310494184494019, 1.246834635734558, -0.8346919417381287, -0.13523860275745392, 0.3842449486255646, 0.22337691485881805, 0.5034450888633728, 0.5145336985588074, -0.8795977234840393, -0.32772526144981384, -0.17370803654193878, -0.3555713891983032, 0.29653486609458923, 1.4302127361297607, -0.1194513812661171, -1.003903865814209, 0.6127427220344543, -0.23518680036067963, 0.10326706618070602, 1.9362226724624634, -0.010776174254715443, -0.6761624813079834, 0.23357562720775604, -0.7131118178367615, 1.8436970710754395, 1.6371150016784668, 1.4449948072433472, -0.307157963514328, -0.6830027103424072, 0.6985041499137878, -0.5497161149978638, -0.44364216923713684, 0.758560836315155, 0.2594875693321228, -0.18570713698863983, -1.5886032581329346, 0.8475496172904968, 1.3306158781051636, -0.9077208042144775, -0.7427971363067627, 0.18361206352710724, -0.8090711832046509, 1.0714893341064453, 0.5187730193138123, 0.3076261579990387, 0.48233941197395325, 1.5894356966018677, 0.9150964617729187, -0.3981799781322479, 0.46509772539138794, 0.6552060842514038, -0.05223481357097626, -2.2020986080169678, -1.2602769136428833, 0.3543083965778351, -0.6640734076499939, -1.5430134534835815, 1.4813445806503296, -1.132705807685852, -1.0798165798187256, 0.6002957224845886, 0.12113691121339798, 1.3671903610229492, 0.437105268239975, 1.5064964294433594, 1.9802799224853516, 0.7765687704086304, 0.4395926594734192, 1.1462907791137695, -0.0926244929432869, -0.402094304561615, 1.8386576175689697, -0.4833007752895355, 0.42210787534713745, 1.0163345336914062, -0.16442108154296875, -1.214611530303955, -0.7266342043876648, -1.5279861688613892, -0.8746682405471802, 1.2029738426208496, 0.03159181773662567, -1.0314146280288696, 0.18559125065803528, 1.6439875364303589, 0.043299924582242966, -0.5067536234855652, 0.6442485451698303, 0.3638128340244293, -0.8674290776252747, -0.009347602725028992, -0.885902464389801, 0.6124183535575867, -0.02770165726542473, -0.38587450981140137, 0.2925816774368286, 0.4758460521697998, 1.500191569328308, -0.05445484444499016, 0.13411781191825867, 0.9643118977546692, -1.410855770111084, 1.6758188009262085, -0.771203339099884, 0.23035281896591187, -2.3181257247924805, 1.4526249170303345, -0.7629600763320923, 1.9510927200317383, -2.6088573932647705, 0.5452174544334412, -0.4945051968097687, -0.4519360661506653, 0.22955891489982605, -0.4313279688358307, 0.15912945568561554, -0.04471302032470703, -1.1552925109863281, -0.021849606186151505, -0.5595124959945679, 0.6772162318229675, 1.0701606273651123, 1.4164671897888184, -1.2244070768356323, -0.4181874394416809, -1.7712498903274536, -0.10419805347919464, -0.7737183570861816, 0.05756426975131035, -1.9480395317077637, -0.3501425087451935, -1.8250161409378052, -2.3282580375671387, -1.2207633256912231, -0.7894208431243896, 1.2270760536193848, 0.06587442010641098, -0.976783812046051, 1.3193925619125366, -0.4362161159515381, -1.9159375429153442, 1.2036168575286865, -2.194551706314087 ]
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi @lhoestq, Returning to this thread to ask whether the possibility to create `DatasetDict` with different configurations will be supported in the future. Best, Pietro
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ```
789
25
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ``` Hi @lhoestq, Returning to this thread to ask whether the possibility to create `DatasetDict` with different configurations will be supported in the future. Best, Pietro
[ -1.2451794147491455, -0.8649232387542725, -0.7281451225280762, 1.553868055343628, -0.22664426267147064, -0.9993091821670532, 0.2305677980184555, -1.1509039402008057, 1.659450888633728, -0.6978124380111694, 0.4650605022907257, -1.6354515552520752, -0.01876036450266838, -0.5618094801902771, -0.7158192992210388, -0.9354511499404907, -0.43358394503593445, -0.647844135761261, 1.0594372749328613, 2.504539966583252, 1.3537321090698242, -1.3717018365859985, 2.678347110748291, 0.7667494416236877, -0.07971303164958954, -0.941303014755249, 0.6392586827278137, 0.026954039931297302, -1.1907784938812256, -0.4691286087036133, -1.0424803495407104, -0.2747510075569153, -0.4182811975479126, -0.5155866146087646, -0.12353280186653137, 0.4750727117061615, -0.41198456287384033, -0.5022237300872803, -0.7168172597885132, -0.8658886551856995, 0.5331714153289795, -0.3562619090080261, 0.9353601336479187, -0.39720025658607483, 1.8053985834121704, -0.5535914897918701, 0.518395721912384, 0.6995766758918762, 1.1773884296417236, 0.32667821645736694, 0.027907926589250565, 0.3616662621498108, 0.46544232964515686, -0.0883021354675293, 0.6340338587760925, 1.3219131231307983, 0.6818751692771912, 0.5913165211677551, 0.8967456221580505, -2.1556320190429688, 1.1674844026565552, -1.2061305046081543, 0.2002599686384201, 1.445934534072876, -0.7261993288993835, 0.3766355812549591, -1.8223623037338257, -0.049051206558942795, 0.5835367441177368, -2.2245934009552, 0.3724067807197571, -1.3511738777160645, -0.6130244731903076, 1.005454182624817, 0.44386282563209534, -1.1959924697875977, 0.07352542877197266, -0.32124340534210205, 0.9344584941864014, 0.3494105339050293, 1.0933512449264526, -1.5891788005828857, -0.0308145172894001, -0.3436228632926941, 0.13134144246578217, -1.230780839920044, -1.4930716753005981, 0.542497992515564, 0.4366168677806854, 0.45963823795318604, -0.07844836264848709, 1.2000983953475952, -1.1366539001464844, 0.7275172472000122, -1.041454792022705, -1.6493335962295532, -1.50454843044281, -2.20249080657959, -2.1724231243133545, 0.7704429626464844, -0.4916680157184601, -0.5792763233184814, 2.0328352451324463, -0.9342861771583557, -1.574482798576355, 1.1484870910644531, 0.35286980867385864, 0.06477129459381104, 2.454087972640991, 0.22395440936088562, -0.7091776132583618, 0.5627260804176331, -0.7559760212898254, 0.7190683484077454, -0.25407594442367554, 1.3848469257354736, 0.39118415117263794, -0.9929361939430237, 1.692997694015503, -0.3324757218360901, 0.6555797457695007, -0.5402072072029114, -0.5131280422210693, -0.5933266282081604, 0.3509489893913269, 1.8295425176620483, -0.32804757356643677, 1.4690049886703491, -0.2033367156982422, -1.5221623182296753, -1.654370665550232, 0.9858603477478027, 0.4806986451148987, -0.7533137202262878, 0.06533815711736679, -0.3227439522743225, 0.09041871130466461, -0.1489638388156891, 1.2234385013580322, 1.3101850748062134, 0.779169499874115, -0.3640286326408386, -0.7550421953201294, 0.10505786538124084, 0.02230352908372879, -0.829312801361084, -1.600072979927063, -0.3254599869251251, 0.12287604063749313, 0.5908232927322388, -1.2412457466125488, 1.7726548910140991, 0.9324183464050293, 1.831104040145874, 1.032397985458374, -0.39141544699668884, 1.536503791809082, 0.1254754215478897, 1.7070499658584595, -0.48517751693725586, 0.5833888053894043, -0.27446064352989197, -1.1637632846832275, 0.8872939348220825, -0.310308039188385, -2.1414084434509277, -0.9019045829772949, -0.7598418593406677, -0.13964766263961792, -0.7906374931335449, 0.9760512113571167, -0.3396027386188507, -1.367580771446228, 0.1926964968442917, -0.8090031147003174, -0.04939926788210869, -1.2081745862960815, 0.40982338786125183, 0.5883526802062988, -0.6522760391235352, 0.07011411339044571, -0.0931582972407341, -1.1487845182418823, -0.416411817073822, 0.13288722932338715, 1.9545458555221558, -0.7830870747566223, 0.7891784310340881, 1.1440714597702026, -0.81821209192276, -0.0057470230385661125, 0.24080711603164673, -0.3767400085926056, 0.8519314527511597, -1.029973030090332, -0.5871512293815613, 1.142580509185791, -0.06396536529064178, -0.6276655197143555, 1.4794504642486572, 0.6129332780838013, -0.9329330921173096, -0.310350626707077, -0.07087808847427368, -0.7462022304534912, 0.05002680420875549, -1.3660751581192017, -0.13861508667469025, 0.5250883102416992, -1.5181667804718018, -0.5122861862182617, -0.10096162557601929, 1.300116777420044, -0.2664024531841278, 1.4586576223373413, -0.39401569962501526, -0.18812061846256256, -0.30017945170402527, -0.30945098400115967, 0.017578180879354477, -0.23218078911304474, -0.7132721543312073, 0.1047263815999031, -0.8611741065979004, 0.34125155210494995, 1.4010367393493652, 0.3767460882663727, -0.028202537447214127, 0.5287933945655823, 1.1479923725128174, 0.4845116138458252, 0.023906216025352478, -0.9640198945999146, -1.4313087463378906, 1.9195895195007324, -1.4823360443115234, 2.0585877895355225, 0.7201471924781799, -0.03050624206662178, -1.7278319597244263, -1.984663963317871, 1.3233970403671265, 1.2391901016235352, 2.34387469291687, 0.49448180198669434, 0.39872321486473083, -0.8051160573959351, -0.6945935487747192, 0.33007845282554626, -1.0593448877334595, -0.5818406939506531, 0.2822447121143341, 2.355001211166382, 1.7955610752105713, -0.46384096145629883, -0.19322113692760468, -0.9533686637878418, 1.3972179889678955, -0.1812622994184494, 0.14662830531597137, 1.967130184173584, -0.21524368226528168, -1.0768728256225586, 1.3074313402175903, -2.318618059158325, 0.05671962723135948, 1.9678374528884888, 0.3670143783092499, 0.055329810827970505, -1.319191813468933, -0.6235135793685913, -0.3234320878982544, -0.5885088443756104, -1.2363642454147339, 0.47056716680526733, -0.17351645231246948, -0.7929063439369202, -1.3359181880950928, 0.11077502369880676, -1.1437550783157349, -1.578786849975586, 0.21725989878177643, 1.8607923984527588, 2.08082914352417, -0.8123661279678345, 1.5546016693115234, -0.3008984923362732, -0.011817866936326027, 1.1887946128845215, 1.2860298156738281, 3.0749385356903076, 1.8494391441345215, -1.2640368938446045, 0.5039407014846802, -0.18140211701393127, -0.4616866707801819, 1.1644538640975952, -1.3729248046875, 1.3839030265808105, -0.040258411318063736, -1.0777510404586792, -1.1036534309387207, 0.8167561888694763, 0.3817443251609802, 0.07806664705276489, -0.5436364412307739, 1.0119119882583618, 0.1668606698513031, 1.420821189880371, 0.5987639427185059, -0.2734985053539276, 0.6881628632545471, -0.3676114082336426, -0.3933156430721283, 1.530598521232605, 0.10434694588184357, -1.4233312606811523, -2.2278828620910645, -0.08235117793083191, -0.8720018267631531, 0.15184134244918823, -0.5159162878990173, -1.059025526046753, 1.8681914806365967, 0.2472899854183197, -1.226717472076416, -0.25516873598098755, -0.4526006877422333, -0.5956296324729919, 2.884692907333374, -1.344565510749817, -0.2386503666639328, -1.0964206457138062, -0.7979401350021362, 1.6847056150436401, -1.0902942419052124, -0.13272784650325775, -0.9883076548576355, -0.4746383726596832, -1.3881332874298096, -0.5363200902938843, 0.185092955827713, -1.0119433403015137, 0.8898327946662903, 0.24800896644592285, -1.2131614685058594, -0.41397979855537415, -0.7684968113899231, 0.8653547167778015, -0.207139253616333, 0.13371071219444275, 2.0572621822357178, 0.33215442299842834, -0.29318955540657043, 0.723905086517334, 1.2410911321640015, 0.6118901968002319, -0.58537358045578, 0.2755281925201416, -0.6722330451011658, 0.3560076355934143, -1.4005990028381348, 0.1793697029352188, -2.6976253986358643, 0.5912714004516602, -0.11043918877840042, -0.09659405797719955, 0.09247253090143204, -1.2461628913879395, 1.0780614614486694, 2.5567147731781006, -1.1318128108978271, 0.3679691255092621, 0.31819942593574524, 1.1348830461502075, -1.6252708435058594, 0.29435113072395325, -0.45304960012435913, 1.9707366228103638, 0.24915671348571777, 1.105823040008545, -0.5106444954872131, -2.2778046131134033, 0.6513379812240601, -1.344028115272522, -1.2697986364364624, 0.6801872253417969, -0.9621278047561646, 0.25870564579963684, -1.4853538274765015, -0.266929566860199, -0.9301642179489136, -1.0576106309890747, 0.6191572546958923, 0.12868301570415497, 0.28729942440986633, -0.4922182857990265, 0.4235350787639618, -2.2973756790161133, -1.4658069610595703, -0.27996495366096497, -0.8974877595901489, 0.5606580972671509, -0.4375956654548645, 0.8207802176475525, -0.202189102768898, -0.07992735505104065, 0.4639877676963806, 1.5235151052474976, 3.3146579265594482, 0.2578393816947937, 0.3230053782463074, -0.3108137845993042, -1.036617636680603, 1.6310895681381226, 0.8619455695152283, 0.035258699208498, -0.5499448180198669, -1.089794635772705, 1.261679768562317, 1.8460203409194946, 1.0495998859405518, -0.05090249329805374, -0.9015642404556274, -0.715424120426178, -0.1549978405237198, 0.19304493069648743, 0.3171387314796448, 0.9685388803482056, -0.009658449329435825, 0.017895840108394623, 1.441550612449646, 1.1344958543777466, -0.4089442193508148, 0.16621871292591095, -0.7922569513320923, -0.4519110321998596, 0.6048526763916016, 0.18240946531295776, 0.041224367916584015, 0.47163301706314087, -0.9778524041175842, -0.38243719935417175, -0.4157019555568695, -0.8934913873672485, -0.6494413614273071, -0.41849976778030396, -0.3081439435482025, 1.5815019607543945, 0.1093273013830185, -0.55643630027771, -0.06286080926656723, -0.9748212099075317, -0.135343998670578, -1.217237949371338, 0.15188072621822357, -0.05103584751486778, -0.2278871238231659, -0.19715936481952667, 1.747165322303772, -0.7998660802841187, -1.9961386919021606, 0.14734385907649994, 0.24287375807762146, -0.19316092133522034, 0.26232606172561646, 1.5898735523223877, 0.5738462805747986, 1.4331544637680054, 1.1488744020462036, 0.8536118865013123, -0.5366510152816772, -1.3827508687973022, 0.5957642197608948, 1.1835169792175293, -1.3471453189849854, 0.8582830429077148, -0.05064255744218826, -0.48439040780067444, 0.4179556965827942, 1.210050344467163, 0.5558439493179321, -1.8656835556030273, 0.7539373636245728, -0.9171155691146851, 0.85414719581604, 0.6114279627799988, 0.5496599674224854, 0.1746819019317627, 0.7870432138442993, -1.1364212036132812, -1.1180455684661865, -0.7317055463790894, -0.6488995552062988, 2.0662121772766113, -0.38118258118629456, 0.7421551942825317, -0.4145662188529968, -1.2423685789108276, 0.026126515120267868, 0.6799948215484619, 0.31773239374160767, -0.5349404215812683, 0.8276689648628235, -0.5748076438903809, -1.023399829864502, -1.3598668575286865, -0.30193030834198, -1.070468544960022, -0.9476413130760193, 1.1416285037994385, 0.6912609934806824, 0.21479055285453796, 1.843422770500183, 0.8022012710571289, 0.33972159028053284, -2.559539794921875, 0.8831998705863953, 0.28283658623695374, -0.08681703358888626, 0.850892186164856, 0.4134870767593384, 0.972468912601471, -0.0923711359500885, 0.5375823974609375, -2.4912166595458984, 2.363612174987793, -0.13159514963626862, 0.7489147186279297, 0.026704445481300354, -0.22751615941524506, 1.074294924736023, 0.6290568113327026, 0.3765454888343811, -0.9469837546348572, 0.3965265452861786, -0.4857875108718872, 1.2424787282943726, 0.8850612640380859, -0.7189779877662659, 0.05213601514697075, 1.431256890296936, 0.5714412927627563, -0.4902054965496063, -0.9734386801719666, -0.7999133467674255, 0.9964643120765686, 1.640210509300232, 0.0008301278576254845, 0.010260560549795628, 0.901620626449585, 0.6190987229347229, -1.2836964130401611, 0.03391547128558159, -0.811365008354187, -0.7756093740463257, 1.7492783069610596, 2.20949649810791, -0.2405850887298584, -0.27180659770965576, -0.6077617406845093, -1.3552076816558838, 0.8304729461669922, -0.1318756490945816, 0.366858571767807, 0.5970462560653687, -0.6952643394470215, 0.9916614890098572, 0.9075968861579895, 0.917397141456604, 0.3338114321231842, 0.29959654808044434, 0.4600737690925598, -0.4290418028831482, -1.1230723857879639, -0.11957066506147385, -1.0075538158416748, -2.6596317291259766, 0.4001292288303375, -0.17571789026260376, -1.289850115776062, -0.0350441038608551, -1.0237929821014404, 1.0051589012145996, -0.5958867073059082, -0.9608864188194275, -1.5641579627990723, 0.20846201479434967, 0.11565833538770676, 1.08387291431427, -1.5614159107208252, -0.41406741738319397, 1.1759446859359741, 0.979802668094635, -0.7549492120742798, 0.829211950302124, 0.12772546708583832, 1.1278241872787476, 0.7340189218521118, -0.4363175630569458, 0.5652576684951782, -0.16624011099338531, -1.429084062576294, 0.42248138785362244, 1.2105600833892822, 0.20825892686843872, 1.5649404525756836, -0.44753238558769226, 0.0404558889567852, 0.36488351225852966, -0.590903639793396, -0.5089191198348999, -0.49056997895240784, 0.4517338275909424, 0.03798800706863403, -0.9968439936637878, -0.15334585309028625, 0.010046700946986675, -0.21409612894058228, 0.06218786910176277, -1.3343504667282104, -0.06253601610660553, -0.49776843190193176, -0.7077584862709045, -1.135869026184082, -0.17310494184494019, 1.246834635734558, -0.8346919417381287, -0.13523860275745392, 0.3842449486255646, 0.22337691485881805, 0.5034450888633728, 0.5145336985588074, -0.8795977234840393, -0.32772526144981384, -0.17370803654193878, -0.3555713891983032, 0.29653486609458923, 1.4302127361297607, -0.1194513812661171, -1.003903865814209, 0.6127427220344543, -0.23518680036067963, 0.10326706618070602, 1.9362226724624634, -0.010776174254715443, -0.6761624813079834, 0.23357562720775604, -0.7131118178367615, 1.8436970710754395, 1.6371150016784668, 1.4449948072433472, -0.307157963514328, -0.6830027103424072, 0.6985041499137878, -0.5497161149978638, -0.44364216923713684, 0.758560836315155, 0.2594875693321228, -0.18570713698863983, -1.5886032581329346, 0.8475496172904968, 1.3306158781051636, -0.9077208042144775, -0.7427971363067627, 0.18361206352710724, -0.8090711832046509, 1.0714893341064453, 0.5187730193138123, 0.3076261579990387, 0.48233941197395325, 1.5894356966018677, 0.9150964617729187, -0.3981799781322479, 0.46509772539138794, 0.6552060842514038, -0.05223481357097626, -2.2020986080169678, -1.2602769136428833, 0.3543083965778351, -0.6640734076499939, -1.5430134534835815, 1.4813445806503296, -1.132705807685852, -1.0798165798187256, 0.6002957224845886, 0.12113691121339798, 1.3671903610229492, 0.437105268239975, 1.5064964294433594, 1.9802799224853516, 0.7765687704086304, 0.4395926594734192, 1.1462907791137695, -0.0926244929432869, -0.402094304561615, 1.8386576175689697, -0.4833007752895355, 0.42210787534713745, 1.0163345336914062, -0.16442108154296875, -1.214611530303955, -0.7266342043876648, -1.5279861688613892, -0.8746682405471802, 1.2029738426208496, 0.03159181773662567, -1.0314146280288696, 0.18559125065803528, 1.6439875364303589, 0.043299924582242966, -0.5067536234855652, 0.6442485451698303, 0.3638128340244293, -0.8674290776252747, -0.009347602725028992, -0.885902464389801, 0.6124183535575867, -0.02770165726542473, -0.38587450981140137, 0.2925816774368286, 0.4758460521697998, 1.500191569328308, -0.05445484444499016, 0.13411781191825867, 0.9643118977546692, -1.410855770111084, 1.6758188009262085, -0.771203339099884, 0.23035281896591187, -2.3181257247924805, 1.4526249170303345, -0.7629600763320923, 1.9510927200317383, -2.6088573932647705, 0.5452174544334412, -0.4945051968097687, -0.4519360661506653, 0.22955891489982605, -0.4313279688358307, 0.15912945568561554, -0.04471302032470703, -1.1552925109863281, -0.021849606186151505, -0.5595124959945679, 0.6772162318229675, 1.0701606273651123, 1.4164671897888184, -1.2244070768356323, -0.4181874394416809, -1.7712498903274536, -0.10419805347919464, -0.7737183570861816, 0.05756426975131035, -1.9480395317077637, -0.3501425087451935, -1.8250161409378052, -2.3282580375671387, -1.2207633256912231, -0.7894208431243896, 1.2270760536193848, 0.06587442010641098, -0.976783812046051, 1.3193925619125366, -0.4362161159515381, -1.9159375429153442, 1.2036168575286865, -2.194551706314087 ]
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
DatasetDict is likely to always require the datasets to have the same columns and types, while different configurations may have different columns and types. Why would you like to see that ? If it's related to push_to_hub, we plan to allow pushing several configs, but not using DatasetDict
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ```
789
48
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ``` DatasetDict is likely to always require the datasets to have the same columns and types, while different configurations may have different columns and types. Why would you like to see that ? If it's related to push_to_hub, we plan to allow pushing several configs, but not using DatasetDict
[ -1.2451794147491455, -0.8649232387542725, -0.7281451225280762, 1.553868055343628, -0.22664426267147064, -0.9993091821670532, 0.2305677980184555, -1.1509039402008057, 1.659450888633728, -0.6978124380111694, 0.4650605022907257, -1.6354515552520752, -0.01876036450266838, -0.5618094801902771, -0.7158192992210388, -0.9354511499404907, -0.43358394503593445, -0.647844135761261, 1.0594372749328613, 2.504539966583252, 1.3537321090698242, -1.3717018365859985, 2.678347110748291, 0.7667494416236877, -0.07971303164958954, -0.941303014755249, 0.6392586827278137, 0.026954039931297302, -1.1907784938812256, -0.4691286087036133, -1.0424803495407104, -0.2747510075569153, -0.4182811975479126, -0.5155866146087646, -0.12353280186653137, 0.4750727117061615, -0.41198456287384033, -0.5022237300872803, -0.7168172597885132, -0.8658886551856995, 0.5331714153289795, -0.3562619090080261, 0.9353601336479187, -0.39720025658607483, 1.8053985834121704, -0.5535914897918701, 0.518395721912384, 0.6995766758918762, 1.1773884296417236, 0.32667821645736694, 0.027907926589250565, 0.3616662621498108, 0.46544232964515686, -0.0883021354675293, 0.6340338587760925, 1.3219131231307983, 0.6818751692771912, 0.5913165211677551, 0.8967456221580505, -2.1556320190429688, 1.1674844026565552, -1.2061305046081543, 0.2002599686384201, 1.445934534072876, -0.7261993288993835, 0.3766355812549591, -1.8223623037338257, -0.049051206558942795, 0.5835367441177368, -2.2245934009552, 0.3724067807197571, -1.3511738777160645, -0.6130244731903076, 1.005454182624817, 0.44386282563209534, -1.1959924697875977, 0.07352542877197266, -0.32124340534210205, 0.9344584941864014, 0.3494105339050293, 1.0933512449264526, -1.5891788005828857, -0.0308145172894001, -0.3436228632926941, 0.13134144246578217, -1.230780839920044, -1.4930716753005981, 0.542497992515564, 0.4366168677806854, 0.45963823795318604, -0.07844836264848709, 1.2000983953475952, -1.1366539001464844, 0.7275172472000122, -1.041454792022705, -1.6493335962295532, -1.50454843044281, -2.20249080657959, -2.1724231243133545, 0.7704429626464844, -0.4916680157184601, -0.5792763233184814, 2.0328352451324463, -0.9342861771583557, -1.574482798576355, 1.1484870910644531, 0.35286980867385864, 0.06477129459381104, 2.454087972640991, 0.22395440936088562, -0.7091776132583618, 0.5627260804176331, -0.7559760212898254, 0.7190683484077454, -0.25407594442367554, 1.3848469257354736, 0.39118415117263794, -0.9929361939430237, 1.692997694015503, -0.3324757218360901, 0.6555797457695007, -0.5402072072029114, -0.5131280422210693, -0.5933266282081604, 0.3509489893913269, 1.8295425176620483, -0.32804757356643677, 1.4690049886703491, -0.2033367156982422, -1.5221623182296753, -1.654370665550232, 0.9858603477478027, 0.4806986451148987, -0.7533137202262878, 0.06533815711736679, -0.3227439522743225, 0.09041871130466461, -0.1489638388156891, 1.2234385013580322, 1.3101850748062134, 0.779169499874115, -0.3640286326408386, -0.7550421953201294, 0.10505786538124084, 0.02230352908372879, -0.829312801361084, -1.600072979927063, -0.3254599869251251, 0.12287604063749313, 0.5908232927322388, -1.2412457466125488, 1.7726548910140991, 0.9324183464050293, 1.831104040145874, 1.032397985458374, -0.39141544699668884, 1.536503791809082, 0.1254754215478897, 1.7070499658584595, -0.48517751693725586, 0.5833888053894043, -0.27446064352989197, -1.1637632846832275, 0.8872939348220825, -0.310308039188385, -2.1414084434509277, -0.9019045829772949, -0.7598418593406677, -0.13964766263961792, -0.7906374931335449, 0.9760512113571167, -0.3396027386188507, -1.367580771446228, 0.1926964968442917, -0.8090031147003174, -0.04939926788210869, -1.2081745862960815, 0.40982338786125183, 0.5883526802062988, -0.6522760391235352, 0.07011411339044571, -0.0931582972407341, -1.1487845182418823, -0.416411817073822, 0.13288722932338715, 1.9545458555221558, -0.7830870747566223, 0.7891784310340881, 1.1440714597702026, -0.81821209192276, -0.0057470230385661125, 0.24080711603164673, -0.3767400085926056, 0.8519314527511597, -1.029973030090332, -0.5871512293815613, 1.142580509185791, -0.06396536529064178, -0.6276655197143555, 1.4794504642486572, 0.6129332780838013, -0.9329330921173096, -0.310350626707077, -0.07087808847427368, -0.7462022304534912, 0.05002680420875549, -1.3660751581192017, -0.13861508667469025, 0.5250883102416992, -1.5181667804718018, -0.5122861862182617, -0.10096162557601929, 1.300116777420044, -0.2664024531841278, 1.4586576223373413, -0.39401569962501526, -0.18812061846256256, -0.30017945170402527, -0.30945098400115967, 0.017578180879354477, -0.23218078911304474, -0.7132721543312073, 0.1047263815999031, -0.8611741065979004, 0.34125155210494995, 1.4010367393493652, 0.3767460882663727, -0.028202537447214127, 0.5287933945655823, 1.1479923725128174, 0.4845116138458252, 0.023906216025352478, -0.9640198945999146, -1.4313087463378906, 1.9195895195007324, -1.4823360443115234, 2.0585877895355225, 0.7201471924781799, -0.03050624206662178, -1.7278319597244263, -1.984663963317871, 1.3233970403671265, 1.2391901016235352, 2.34387469291687, 0.49448180198669434, 0.39872321486473083, -0.8051160573959351, -0.6945935487747192, 0.33007845282554626, -1.0593448877334595, -0.5818406939506531, 0.2822447121143341, 2.355001211166382, 1.7955610752105713, -0.46384096145629883, -0.19322113692760468, -0.9533686637878418, 1.3972179889678955, -0.1812622994184494, 0.14662830531597137, 1.967130184173584, -0.21524368226528168, -1.0768728256225586, 1.3074313402175903, -2.318618059158325, 0.05671962723135948, 1.9678374528884888, 0.3670143783092499, 0.055329810827970505, -1.319191813468933, -0.6235135793685913, -0.3234320878982544, -0.5885088443756104, -1.2363642454147339, 0.47056716680526733, -0.17351645231246948, -0.7929063439369202, -1.3359181880950928, 0.11077502369880676, -1.1437550783157349, -1.578786849975586, 0.21725989878177643, 1.8607923984527588, 2.08082914352417, -0.8123661279678345, 1.5546016693115234, -0.3008984923362732, -0.011817866936326027, 1.1887946128845215, 1.2860298156738281, 3.0749385356903076, 1.8494391441345215, -1.2640368938446045, 0.5039407014846802, -0.18140211701393127, -0.4616866707801819, 1.1644538640975952, -1.3729248046875, 1.3839030265808105, -0.040258411318063736, -1.0777510404586792, -1.1036534309387207, 0.8167561888694763, 0.3817443251609802, 0.07806664705276489, -0.5436364412307739, 1.0119119882583618, 0.1668606698513031, 1.420821189880371, 0.5987639427185059, -0.2734985053539276, 0.6881628632545471, -0.3676114082336426, -0.3933156430721283, 1.530598521232605, 0.10434694588184357, -1.4233312606811523, -2.2278828620910645, -0.08235117793083191, -0.8720018267631531, 0.15184134244918823, -0.5159162878990173, -1.059025526046753, 1.8681914806365967, 0.2472899854183197, -1.226717472076416, -0.25516873598098755, -0.4526006877422333, -0.5956296324729919, 2.884692907333374, -1.344565510749817, -0.2386503666639328, -1.0964206457138062, -0.7979401350021362, 1.6847056150436401, -1.0902942419052124, -0.13272784650325775, -0.9883076548576355, -0.4746383726596832, -1.3881332874298096, -0.5363200902938843, 0.185092955827713, -1.0119433403015137, 0.8898327946662903, 0.24800896644592285, -1.2131614685058594, -0.41397979855537415, -0.7684968113899231, 0.8653547167778015, -0.207139253616333, 0.13371071219444275, 2.0572621822357178, 0.33215442299842834, -0.29318955540657043, 0.723905086517334, 1.2410911321640015, 0.6118901968002319, -0.58537358045578, 0.2755281925201416, -0.6722330451011658, 0.3560076355934143, -1.4005990028381348, 0.1793697029352188, -2.6976253986358643, 0.5912714004516602, -0.11043918877840042, -0.09659405797719955, 0.09247253090143204, -1.2461628913879395, 1.0780614614486694, 2.5567147731781006, -1.1318128108978271, 0.3679691255092621, 0.31819942593574524, 1.1348830461502075, -1.6252708435058594, 0.29435113072395325, -0.45304960012435913, 1.9707366228103638, 0.24915671348571777, 1.105823040008545, -0.5106444954872131, -2.2778046131134033, 0.6513379812240601, -1.344028115272522, -1.2697986364364624, 0.6801872253417969, -0.9621278047561646, 0.25870564579963684, -1.4853538274765015, -0.266929566860199, -0.9301642179489136, -1.0576106309890747, 0.6191572546958923, 0.12868301570415497, 0.28729942440986633, -0.4922182857990265, 0.4235350787639618, -2.2973756790161133, -1.4658069610595703, -0.27996495366096497, -0.8974877595901489, 0.5606580972671509, -0.4375956654548645, 0.8207802176475525, -0.202189102768898, -0.07992735505104065, 0.4639877676963806, 1.5235151052474976, 3.3146579265594482, 0.2578393816947937, 0.3230053782463074, -0.3108137845993042, -1.036617636680603, 1.6310895681381226, 0.8619455695152283, 0.035258699208498, -0.5499448180198669, -1.089794635772705, 1.261679768562317, 1.8460203409194946, 1.0495998859405518, -0.05090249329805374, -0.9015642404556274, -0.715424120426178, -0.1549978405237198, 0.19304493069648743, 0.3171387314796448, 0.9685388803482056, -0.009658449329435825, 0.017895840108394623, 1.441550612449646, 1.1344958543777466, -0.4089442193508148, 0.16621871292591095, -0.7922569513320923, -0.4519110321998596, 0.6048526763916016, 0.18240946531295776, 0.041224367916584015, 0.47163301706314087, -0.9778524041175842, -0.38243719935417175, -0.4157019555568695, -0.8934913873672485, -0.6494413614273071, -0.41849976778030396, -0.3081439435482025, 1.5815019607543945, 0.1093273013830185, -0.55643630027771, -0.06286080926656723, -0.9748212099075317, -0.135343998670578, -1.217237949371338, 0.15188072621822357, -0.05103584751486778, -0.2278871238231659, -0.19715936481952667, 1.747165322303772, -0.7998660802841187, -1.9961386919021606, 0.14734385907649994, 0.24287375807762146, -0.19316092133522034, 0.26232606172561646, 1.5898735523223877, 0.5738462805747986, 1.4331544637680054, 1.1488744020462036, 0.8536118865013123, -0.5366510152816772, -1.3827508687973022, 0.5957642197608948, 1.1835169792175293, -1.3471453189849854, 0.8582830429077148, -0.05064255744218826, -0.48439040780067444, 0.4179556965827942, 1.210050344467163, 0.5558439493179321, -1.8656835556030273, 0.7539373636245728, -0.9171155691146851, 0.85414719581604, 0.6114279627799988, 0.5496599674224854, 0.1746819019317627, 0.7870432138442993, -1.1364212036132812, -1.1180455684661865, -0.7317055463790894, -0.6488995552062988, 2.0662121772766113, -0.38118258118629456, 0.7421551942825317, -0.4145662188529968, -1.2423685789108276, 0.026126515120267868, 0.6799948215484619, 0.31773239374160767, -0.5349404215812683, 0.8276689648628235, -0.5748076438903809, -1.023399829864502, -1.3598668575286865, -0.30193030834198, -1.070468544960022, -0.9476413130760193, 1.1416285037994385, 0.6912609934806824, 0.21479055285453796, 1.843422770500183, 0.8022012710571289, 0.33972159028053284, -2.559539794921875, 0.8831998705863953, 0.28283658623695374, -0.08681703358888626, 0.850892186164856, 0.4134870767593384, 0.972468912601471, -0.0923711359500885, 0.5375823974609375, -2.4912166595458984, 2.363612174987793, -0.13159514963626862, 0.7489147186279297, 0.026704445481300354, -0.22751615941524506, 1.074294924736023, 0.6290568113327026, 0.3765454888343811, -0.9469837546348572, 0.3965265452861786, -0.4857875108718872, 1.2424787282943726, 0.8850612640380859, -0.7189779877662659, 0.05213601514697075, 1.431256890296936, 0.5714412927627563, -0.4902054965496063, -0.9734386801719666, -0.7999133467674255, 0.9964643120765686, 1.640210509300232, 0.0008301278576254845, 0.010260560549795628, 0.901620626449585, 0.6190987229347229, -1.2836964130401611, 0.03391547128558159, -0.811365008354187, -0.7756093740463257, 1.7492783069610596, 2.20949649810791, -0.2405850887298584, -0.27180659770965576, -0.6077617406845093, -1.3552076816558838, 0.8304729461669922, -0.1318756490945816, 0.366858571767807, 0.5970462560653687, -0.6952643394470215, 0.9916614890098572, 0.9075968861579895, 0.917397141456604, 0.3338114321231842, 0.29959654808044434, 0.4600737690925598, -0.4290418028831482, -1.1230723857879639, -0.11957066506147385, -1.0075538158416748, -2.6596317291259766, 0.4001292288303375, -0.17571789026260376, -1.289850115776062, -0.0350441038608551, -1.0237929821014404, 1.0051589012145996, -0.5958867073059082, -0.9608864188194275, -1.5641579627990723, 0.20846201479434967, 0.11565833538770676, 1.08387291431427, -1.5614159107208252, -0.41406741738319397, 1.1759446859359741, 0.979802668094635, -0.7549492120742798, 0.829211950302124, 0.12772546708583832, 1.1278241872787476, 0.7340189218521118, -0.4363175630569458, 0.5652576684951782, -0.16624011099338531, -1.429084062576294, 0.42248138785362244, 1.2105600833892822, 0.20825892686843872, 1.5649404525756836, -0.44753238558769226, 0.0404558889567852, 0.36488351225852966, -0.590903639793396, -0.5089191198348999, -0.49056997895240784, 0.4517338275909424, 0.03798800706863403, -0.9968439936637878, -0.15334585309028625, 0.010046700946986675, -0.21409612894058228, 0.06218786910176277, -1.3343504667282104, -0.06253601610660553, -0.49776843190193176, -0.7077584862709045, -1.135869026184082, -0.17310494184494019, 1.246834635734558, -0.8346919417381287, -0.13523860275745392, 0.3842449486255646, 0.22337691485881805, 0.5034450888633728, 0.5145336985588074, -0.8795977234840393, -0.32772526144981384, -0.17370803654193878, -0.3555713891983032, 0.29653486609458923, 1.4302127361297607, -0.1194513812661171, -1.003903865814209, 0.6127427220344543, -0.23518680036067963, 0.10326706618070602, 1.9362226724624634, -0.010776174254715443, -0.6761624813079834, 0.23357562720775604, -0.7131118178367615, 1.8436970710754395, 1.6371150016784668, 1.4449948072433472, -0.307157963514328, -0.6830027103424072, 0.6985041499137878, -0.5497161149978638, -0.44364216923713684, 0.758560836315155, 0.2594875693321228, -0.18570713698863983, -1.5886032581329346, 0.8475496172904968, 1.3306158781051636, -0.9077208042144775, -0.7427971363067627, 0.18361206352710724, -0.8090711832046509, 1.0714893341064453, 0.5187730193138123, 0.3076261579990387, 0.48233941197395325, 1.5894356966018677, 0.9150964617729187, -0.3981799781322479, 0.46509772539138794, 0.6552060842514038, -0.05223481357097626, -2.2020986080169678, -1.2602769136428833, 0.3543083965778351, -0.6640734076499939, -1.5430134534835815, 1.4813445806503296, -1.132705807685852, -1.0798165798187256, 0.6002957224845886, 0.12113691121339798, 1.3671903610229492, 0.437105268239975, 1.5064964294433594, 1.9802799224853516, 0.7765687704086304, 0.4395926594734192, 1.1462907791137695, -0.0926244929432869, -0.402094304561615, 1.8386576175689697, -0.4833007752895355, 0.42210787534713745, 1.0163345336914062, -0.16442108154296875, -1.214611530303955, -0.7266342043876648, -1.5279861688613892, -0.8746682405471802, 1.2029738426208496, 0.03159181773662567, -1.0314146280288696, 0.18559125065803528, 1.6439875364303589, 0.043299924582242966, -0.5067536234855652, 0.6442485451698303, 0.3638128340244293, -0.8674290776252747, -0.009347602725028992, -0.885902464389801, 0.6124183535575867, -0.02770165726542473, -0.38587450981140137, 0.2925816774368286, 0.4758460521697998, 1.500191569328308, -0.05445484444499016, 0.13411781191825867, 0.9643118977546692, -1.410855770111084, 1.6758188009262085, -0.771203339099884, 0.23035281896591187, -2.3181257247924805, 1.4526249170303345, -0.7629600763320923, 1.9510927200317383, -2.6088573932647705, 0.5452174544334412, -0.4945051968097687, -0.4519360661506653, 0.22955891489982605, -0.4313279688358307, 0.15912945568561554, -0.04471302032470703, -1.1552925109863281, -0.021849606186151505, -0.5595124959945679, 0.6772162318229675, 1.0701606273651123, 1.4164671897888184, -1.2244070768356323, -0.4181874394416809, -1.7712498903274536, -0.10419805347919464, -0.7737183570861816, 0.05756426975131035, -1.9480395317077637, -0.3501425087451935, -1.8250161409378052, -2.3282580375671387, -1.2207633256912231, -0.7894208431243896, 1.2270760536193848, 0.06587442010641098, -0.976783812046051, 1.3193925619125366, -0.4362161159515381, -1.9159375429153442, 1.2036168575286865, -2.194551706314087 ]
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi @lhoestq and @pietrolesci, I have been curious about this question as well. I don't have experience working with different configurations, but I can give a bit more detail on the work flow that I have been using with `Dataset_dict`. As @pietrolesci mentions, I have been using `push_to_hub` to quickly iterate on dataset curation for different ML experiments - locally I create a set of dataset splits e.g. `train/val/test/inference`, then convert them to `HF_Datasets` and finally a to `Dataset_Dict` to `push_to_hub`. Where I have run into issues is when I want to include different metadata for different splits. For example, I have situations where I only have meta-data for one of the splits (e.g. test) or situations where I am working with `inference` data that does not have labels. Currently I use a rather hacky work around by adding "dummy" columns for missing columns to avoid the error: ``` ValueError: All datasets in `DatasetDict` should have the same features ``` I am curious why `DatasetDict` will likely not support this functionality? I don't know much about working with different configurations, but allowing for different columns between datasets / splits would be a very helpful use-case for me. Are there any docs for using different configuration OR a more info about incorporating it with `push_to_hub`. Best wishes, Jonathan
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ```
789
217
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ``` Hi @lhoestq and @pietrolesci, I have been curious about this question as well. I don't have experience working with different configurations, but I can give a bit more detail on the work flow that I have been using with `Dataset_dict`. As @pietrolesci mentions, I have been using `push_to_hub` to quickly iterate on dataset curation for different ML experiments - locally I create a set of dataset splits e.g. `train/val/test/inference`, then convert them to `HF_Datasets` and finally a to `Dataset_Dict` to `push_to_hub`. Where I have run into issues is when I want to include different metadata for different splits. For example, I have situations where I only have meta-data for one of the splits (e.g. test) or situations where I am working with `inference` data that does not have labels. Currently I use a rather hacky work around by adding "dummy" columns for missing columns to avoid the error: ``` ValueError: All datasets in `DatasetDict` should have the same features ``` I am curious why `DatasetDict` will likely not support this functionality? I don't know much about working with different configurations, but allowing for different columns between datasets / splits would be a very helpful use-case for me. Are there any docs for using different configuration OR a more info about incorporating it with `push_to_hub`. Best wishes, Jonathan
[ -1.2451794147491455, -0.8649232387542725, -0.7281451225280762, 1.553868055343628, -0.22664426267147064, -0.9993091821670532, 0.2305677980184555, -1.1509039402008057, 1.659450888633728, -0.6978124380111694, 0.4650605022907257, -1.6354515552520752, -0.01876036450266838, -0.5618094801902771, -0.7158192992210388, -0.9354511499404907, -0.43358394503593445, -0.647844135761261, 1.0594372749328613, 2.504539966583252, 1.3537321090698242, -1.3717018365859985, 2.678347110748291, 0.7667494416236877, -0.07971303164958954, -0.941303014755249, 0.6392586827278137, 0.026954039931297302, -1.1907784938812256, -0.4691286087036133, -1.0424803495407104, -0.2747510075569153, -0.4182811975479126, -0.5155866146087646, -0.12353280186653137, 0.4750727117061615, -0.41198456287384033, -0.5022237300872803, -0.7168172597885132, -0.8658886551856995, 0.5331714153289795, -0.3562619090080261, 0.9353601336479187, -0.39720025658607483, 1.8053985834121704, -0.5535914897918701, 0.518395721912384, 0.6995766758918762, 1.1773884296417236, 0.32667821645736694, 0.027907926589250565, 0.3616662621498108, 0.46544232964515686, -0.0883021354675293, 0.6340338587760925, 1.3219131231307983, 0.6818751692771912, 0.5913165211677551, 0.8967456221580505, -2.1556320190429688, 1.1674844026565552, -1.2061305046081543, 0.2002599686384201, 1.445934534072876, -0.7261993288993835, 0.3766355812549591, -1.8223623037338257, -0.049051206558942795, 0.5835367441177368, -2.2245934009552, 0.3724067807197571, -1.3511738777160645, -0.6130244731903076, 1.005454182624817, 0.44386282563209534, -1.1959924697875977, 0.07352542877197266, -0.32124340534210205, 0.9344584941864014, 0.3494105339050293, 1.0933512449264526, -1.5891788005828857, -0.0308145172894001, -0.3436228632926941, 0.13134144246578217, -1.230780839920044, -1.4930716753005981, 0.542497992515564, 0.4366168677806854, 0.45963823795318604, -0.07844836264848709, 1.2000983953475952, -1.1366539001464844, 0.7275172472000122, -1.041454792022705, -1.6493335962295532, -1.50454843044281, -2.20249080657959, -2.1724231243133545, 0.7704429626464844, -0.4916680157184601, -0.5792763233184814, 2.0328352451324463, -0.9342861771583557, -1.574482798576355, 1.1484870910644531, 0.35286980867385864, 0.06477129459381104, 2.454087972640991, 0.22395440936088562, -0.7091776132583618, 0.5627260804176331, -0.7559760212898254, 0.7190683484077454, -0.25407594442367554, 1.3848469257354736, 0.39118415117263794, -0.9929361939430237, 1.692997694015503, -0.3324757218360901, 0.6555797457695007, -0.5402072072029114, -0.5131280422210693, -0.5933266282081604, 0.3509489893913269, 1.8295425176620483, -0.32804757356643677, 1.4690049886703491, -0.2033367156982422, -1.5221623182296753, -1.654370665550232, 0.9858603477478027, 0.4806986451148987, -0.7533137202262878, 0.06533815711736679, -0.3227439522743225, 0.09041871130466461, -0.1489638388156891, 1.2234385013580322, 1.3101850748062134, 0.779169499874115, -0.3640286326408386, -0.7550421953201294, 0.10505786538124084, 0.02230352908372879, -0.829312801361084, -1.600072979927063, -0.3254599869251251, 0.12287604063749313, 0.5908232927322388, -1.2412457466125488, 1.7726548910140991, 0.9324183464050293, 1.831104040145874, 1.032397985458374, -0.39141544699668884, 1.536503791809082, 0.1254754215478897, 1.7070499658584595, -0.48517751693725586, 0.5833888053894043, -0.27446064352989197, -1.1637632846832275, 0.8872939348220825, -0.310308039188385, -2.1414084434509277, -0.9019045829772949, -0.7598418593406677, -0.13964766263961792, -0.7906374931335449, 0.9760512113571167, -0.3396027386188507, -1.367580771446228, 0.1926964968442917, -0.8090031147003174, -0.04939926788210869, -1.2081745862960815, 0.40982338786125183, 0.5883526802062988, -0.6522760391235352, 0.07011411339044571, -0.0931582972407341, -1.1487845182418823, -0.416411817073822, 0.13288722932338715, 1.9545458555221558, -0.7830870747566223, 0.7891784310340881, 1.1440714597702026, -0.81821209192276, -0.0057470230385661125, 0.24080711603164673, -0.3767400085926056, 0.8519314527511597, -1.029973030090332, -0.5871512293815613, 1.142580509185791, -0.06396536529064178, -0.6276655197143555, 1.4794504642486572, 0.6129332780838013, -0.9329330921173096, -0.310350626707077, -0.07087808847427368, -0.7462022304534912, 0.05002680420875549, -1.3660751581192017, -0.13861508667469025, 0.5250883102416992, -1.5181667804718018, -0.5122861862182617, -0.10096162557601929, 1.300116777420044, -0.2664024531841278, 1.4586576223373413, -0.39401569962501526, -0.18812061846256256, -0.30017945170402527, -0.30945098400115967, 0.017578180879354477, -0.23218078911304474, -0.7132721543312073, 0.1047263815999031, -0.8611741065979004, 0.34125155210494995, 1.4010367393493652, 0.3767460882663727, -0.028202537447214127, 0.5287933945655823, 1.1479923725128174, 0.4845116138458252, 0.023906216025352478, -0.9640198945999146, -1.4313087463378906, 1.9195895195007324, -1.4823360443115234, 2.0585877895355225, 0.7201471924781799, -0.03050624206662178, -1.7278319597244263, -1.984663963317871, 1.3233970403671265, 1.2391901016235352, 2.34387469291687, 0.49448180198669434, 0.39872321486473083, -0.8051160573959351, -0.6945935487747192, 0.33007845282554626, -1.0593448877334595, -0.5818406939506531, 0.2822447121143341, 2.355001211166382, 1.7955610752105713, -0.46384096145629883, -0.19322113692760468, -0.9533686637878418, 1.3972179889678955, -0.1812622994184494, 0.14662830531597137, 1.967130184173584, -0.21524368226528168, -1.0768728256225586, 1.3074313402175903, -2.318618059158325, 0.05671962723135948, 1.9678374528884888, 0.3670143783092499, 0.055329810827970505, -1.319191813468933, -0.6235135793685913, -0.3234320878982544, -0.5885088443756104, -1.2363642454147339, 0.47056716680526733, -0.17351645231246948, -0.7929063439369202, -1.3359181880950928, 0.11077502369880676, -1.1437550783157349, -1.578786849975586, 0.21725989878177643, 1.8607923984527588, 2.08082914352417, -0.8123661279678345, 1.5546016693115234, -0.3008984923362732, -0.011817866936326027, 1.1887946128845215, 1.2860298156738281, 3.0749385356903076, 1.8494391441345215, -1.2640368938446045, 0.5039407014846802, -0.18140211701393127, -0.4616866707801819, 1.1644538640975952, -1.3729248046875, 1.3839030265808105, -0.040258411318063736, -1.0777510404586792, -1.1036534309387207, 0.8167561888694763, 0.3817443251609802, 0.07806664705276489, -0.5436364412307739, 1.0119119882583618, 0.1668606698513031, 1.420821189880371, 0.5987639427185059, -0.2734985053539276, 0.6881628632545471, -0.3676114082336426, -0.3933156430721283, 1.530598521232605, 0.10434694588184357, -1.4233312606811523, -2.2278828620910645, -0.08235117793083191, -0.8720018267631531, 0.15184134244918823, -0.5159162878990173, -1.059025526046753, 1.8681914806365967, 0.2472899854183197, -1.226717472076416, -0.25516873598098755, -0.4526006877422333, -0.5956296324729919, 2.884692907333374, -1.344565510749817, -0.2386503666639328, -1.0964206457138062, -0.7979401350021362, 1.6847056150436401, -1.0902942419052124, -0.13272784650325775, -0.9883076548576355, -0.4746383726596832, -1.3881332874298096, -0.5363200902938843, 0.185092955827713, -1.0119433403015137, 0.8898327946662903, 0.24800896644592285, -1.2131614685058594, -0.41397979855537415, -0.7684968113899231, 0.8653547167778015, -0.207139253616333, 0.13371071219444275, 2.0572621822357178, 0.33215442299842834, -0.29318955540657043, 0.723905086517334, 1.2410911321640015, 0.6118901968002319, -0.58537358045578, 0.2755281925201416, -0.6722330451011658, 0.3560076355934143, -1.4005990028381348, 0.1793697029352188, -2.6976253986358643, 0.5912714004516602, -0.11043918877840042, -0.09659405797719955, 0.09247253090143204, -1.2461628913879395, 1.0780614614486694, 2.5567147731781006, -1.1318128108978271, 0.3679691255092621, 0.31819942593574524, 1.1348830461502075, -1.6252708435058594, 0.29435113072395325, -0.45304960012435913, 1.9707366228103638, 0.24915671348571777, 1.105823040008545, -0.5106444954872131, -2.2778046131134033, 0.6513379812240601, -1.344028115272522, -1.2697986364364624, 0.6801872253417969, -0.9621278047561646, 0.25870564579963684, -1.4853538274765015, -0.266929566860199, -0.9301642179489136, -1.0576106309890747, 0.6191572546958923, 0.12868301570415497, 0.28729942440986633, -0.4922182857990265, 0.4235350787639618, -2.2973756790161133, -1.4658069610595703, -0.27996495366096497, -0.8974877595901489, 0.5606580972671509, -0.4375956654548645, 0.8207802176475525, -0.202189102768898, -0.07992735505104065, 0.4639877676963806, 1.5235151052474976, 3.3146579265594482, 0.2578393816947937, 0.3230053782463074, -0.3108137845993042, -1.036617636680603, 1.6310895681381226, 0.8619455695152283, 0.035258699208498, -0.5499448180198669, -1.089794635772705, 1.261679768562317, 1.8460203409194946, 1.0495998859405518, -0.05090249329805374, -0.9015642404556274, -0.715424120426178, -0.1549978405237198, 0.19304493069648743, 0.3171387314796448, 0.9685388803482056, -0.009658449329435825, 0.017895840108394623, 1.441550612449646, 1.1344958543777466, -0.4089442193508148, 0.16621871292591095, -0.7922569513320923, -0.4519110321998596, 0.6048526763916016, 0.18240946531295776, 0.041224367916584015, 0.47163301706314087, -0.9778524041175842, -0.38243719935417175, -0.4157019555568695, -0.8934913873672485, -0.6494413614273071, -0.41849976778030396, -0.3081439435482025, 1.5815019607543945, 0.1093273013830185, -0.55643630027771, -0.06286080926656723, -0.9748212099075317, -0.135343998670578, -1.217237949371338, 0.15188072621822357, -0.05103584751486778, -0.2278871238231659, -0.19715936481952667, 1.747165322303772, -0.7998660802841187, -1.9961386919021606, 0.14734385907649994, 0.24287375807762146, -0.19316092133522034, 0.26232606172561646, 1.5898735523223877, 0.5738462805747986, 1.4331544637680054, 1.1488744020462036, 0.8536118865013123, -0.5366510152816772, -1.3827508687973022, 0.5957642197608948, 1.1835169792175293, -1.3471453189849854, 0.8582830429077148, -0.05064255744218826, -0.48439040780067444, 0.4179556965827942, 1.210050344467163, 0.5558439493179321, -1.8656835556030273, 0.7539373636245728, -0.9171155691146851, 0.85414719581604, 0.6114279627799988, 0.5496599674224854, 0.1746819019317627, 0.7870432138442993, -1.1364212036132812, -1.1180455684661865, -0.7317055463790894, -0.6488995552062988, 2.0662121772766113, -0.38118258118629456, 0.7421551942825317, -0.4145662188529968, -1.2423685789108276, 0.026126515120267868, 0.6799948215484619, 0.31773239374160767, -0.5349404215812683, 0.8276689648628235, -0.5748076438903809, -1.023399829864502, -1.3598668575286865, -0.30193030834198, -1.070468544960022, -0.9476413130760193, 1.1416285037994385, 0.6912609934806824, 0.21479055285453796, 1.843422770500183, 0.8022012710571289, 0.33972159028053284, -2.559539794921875, 0.8831998705863953, 0.28283658623695374, -0.08681703358888626, 0.850892186164856, 0.4134870767593384, 0.972468912601471, -0.0923711359500885, 0.5375823974609375, -2.4912166595458984, 2.363612174987793, -0.13159514963626862, 0.7489147186279297, 0.026704445481300354, -0.22751615941524506, 1.074294924736023, 0.6290568113327026, 0.3765454888343811, -0.9469837546348572, 0.3965265452861786, -0.4857875108718872, 1.2424787282943726, 0.8850612640380859, -0.7189779877662659, 0.05213601514697075, 1.431256890296936, 0.5714412927627563, -0.4902054965496063, -0.9734386801719666, -0.7999133467674255, 0.9964643120765686, 1.640210509300232, 0.0008301278576254845, 0.010260560549795628, 0.901620626449585, 0.6190987229347229, -1.2836964130401611, 0.03391547128558159, -0.811365008354187, -0.7756093740463257, 1.7492783069610596, 2.20949649810791, -0.2405850887298584, -0.27180659770965576, -0.6077617406845093, -1.3552076816558838, 0.8304729461669922, -0.1318756490945816, 0.366858571767807, 0.5970462560653687, -0.6952643394470215, 0.9916614890098572, 0.9075968861579895, 0.917397141456604, 0.3338114321231842, 0.29959654808044434, 0.4600737690925598, -0.4290418028831482, -1.1230723857879639, -0.11957066506147385, -1.0075538158416748, -2.6596317291259766, 0.4001292288303375, -0.17571789026260376, -1.289850115776062, -0.0350441038608551, -1.0237929821014404, 1.0051589012145996, -0.5958867073059082, -0.9608864188194275, -1.5641579627990723, 0.20846201479434967, 0.11565833538770676, 1.08387291431427, -1.5614159107208252, -0.41406741738319397, 1.1759446859359741, 0.979802668094635, -0.7549492120742798, 0.829211950302124, 0.12772546708583832, 1.1278241872787476, 0.7340189218521118, -0.4363175630569458, 0.5652576684951782, -0.16624011099338531, -1.429084062576294, 0.42248138785362244, 1.2105600833892822, 0.20825892686843872, 1.5649404525756836, -0.44753238558769226, 0.0404558889567852, 0.36488351225852966, -0.590903639793396, -0.5089191198348999, -0.49056997895240784, 0.4517338275909424, 0.03798800706863403, -0.9968439936637878, -0.15334585309028625, 0.010046700946986675, -0.21409612894058228, 0.06218786910176277, -1.3343504667282104, -0.06253601610660553, -0.49776843190193176, -0.7077584862709045, -1.135869026184082, -0.17310494184494019, 1.246834635734558, -0.8346919417381287, -0.13523860275745392, 0.3842449486255646, 0.22337691485881805, 0.5034450888633728, 0.5145336985588074, -0.8795977234840393, -0.32772526144981384, -0.17370803654193878, -0.3555713891983032, 0.29653486609458923, 1.4302127361297607, -0.1194513812661171, -1.003903865814209, 0.6127427220344543, -0.23518680036067963, 0.10326706618070602, 1.9362226724624634, -0.010776174254715443, -0.6761624813079834, 0.23357562720775604, -0.7131118178367615, 1.8436970710754395, 1.6371150016784668, 1.4449948072433472, -0.307157963514328, -0.6830027103424072, 0.6985041499137878, -0.5497161149978638, -0.44364216923713684, 0.758560836315155, 0.2594875693321228, -0.18570713698863983, -1.5886032581329346, 0.8475496172904968, 1.3306158781051636, -0.9077208042144775, -0.7427971363067627, 0.18361206352710724, -0.8090711832046509, 1.0714893341064453, 0.5187730193138123, 0.3076261579990387, 0.48233941197395325, 1.5894356966018677, 0.9150964617729187, -0.3981799781322479, 0.46509772539138794, 0.6552060842514038, -0.05223481357097626, -2.2020986080169678, -1.2602769136428833, 0.3543083965778351, -0.6640734076499939, -1.5430134534835815, 1.4813445806503296, -1.132705807685852, -1.0798165798187256, 0.6002957224845886, 0.12113691121339798, 1.3671903610229492, 0.437105268239975, 1.5064964294433594, 1.9802799224853516, 0.7765687704086304, 0.4395926594734192, 1.1462907791137695, -0.0926244929432869, -0.402094304561615, 1.8386576175689697, -0.4833007752895355, 0.42210787534713745, 1.0163345336914062, -0.16442108154296875, -1.214611530303955, -0.7266342043876648, -1.5279861688613892, -0.8746682405471802, 1.2029738426208496, 0.03159181773662567, -1.0314146280288696, 0.18559125065803528, 1.6439875364303589, 0.043299924582242966, -0.5067536234855652, 0.6442485451698303, 0.3638128340244293, -0.8674290776252747, -0.009347602725028992, -0.885902464389801, 0.6124183535575867, -0.02770165726542473, -0.38587450981140137, 0.2925816774368286, 0.4758460521697998, 1.500191569328308, -0.05445484444499016, 0.13411781191825867, 0.9643118977546692, -1.410855770111084, 1.6758188009262085, -0.771203339099884, 0.23035281896591187, -2.3181257247924805, 1.4526249170303345, -0.7629600763320923, 1.9510927200317383, -2.6088573932647705, 0.5452174544334412, -0.4945051968097687, -0.4519360661506653, 0.22955891489982605, -0.4313279688358307, 0.15912945568561554, -0.04471302032470703, -1.1552925109863281, -0.021849606186151505, -0.5595124959945679, 0.6772162318229675, 1.0701606273651123, 1.4164671897888184, -1.2244070768356323, -0.4181874394416809, -1.7712498903274536, -0.10419805347919464, -0.7737183570861816, 0.05756426975131035, -1.9480395317077637, -0.3501425087451935, -1.8250161409378052, -2.3282580375671387, -1.2207633256912231, -0.7894208431243896, 1.2270760536193848, 0.06587442010641098, -0.976783812046051, 1.3193925619125366, -0.4362161159515381, -1.9159375429153442, 1.2036168575286865, -2.194551706314087 ]
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
> I am curious why DatasetDict will likely not support this functionality? There's a possibility we may merge the Dataset and DatasetDict classes. The DatasetDict purpose was to define a way to get the train/test splits of a dataset. see the discussions at https://github.com/huggingface/datasets/issues/5189 > Are there any docs for using different configuration OR a more info about incorporating it with push_to_hub. There's a PR open to allow to upload a dataset with a certain configuration name. Then later you can reload this specific configuration using `load_dataset(ds_name, config_name)` see the PR at https://github.com/huggingface/datasets/pull/5213
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ```
789
93
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ``` > I am curious why DatasetDict will likely not support this functionality? There's a possibility we may merge the Dataset and DatasetDict classes. The DatasetDict purpose was to define a way to get the train/test splits of a dataset. see the discussions at https://github.com/huggingface/datasets/issues/5189 > Are there any docs for using different configuration OR a more info about incorporating it with push_to_hub. There's a PR open to allow to upload a dataset with a certain configuration name. Then later you can reload this specific configuration using `load_dataset(ds_name, config_name)` see the PR at https://github.com/huggingface/datasets/pull/5213
[ -1.2451794147491455, -0.8649232387542725, -0.7281451225280762, 1.553868055343628, -0.22664426267147064, -0.9993091821670532, 0.2305677980184555, -1.1509039402008057, 1.659450888633728, -0.6978124380111694, 0.4650605022907257, -1.6354515552520752, -0.01876036450266838, -0.5618094801902771, -0.7158192992210388, -0.9354511499404907, -0.43358394503593445, -0.647844135761261, 1.0594372749328613, 2.504539966583252, 1.3537321090698242, -1.3717018365859985, 2.678347110748291, 0.7667494416236877, -0.07971303164958954, -0.941303014755249, 0.6392586827278137, 0.026954039931297302, -1.1907784938812256, -0.4691286087036133, -1.0424803495407104, -0.2747510075569153, -0.4182811975479126, -0.5155866146087646, -0.12353280186653137, 0.4750727117061615, -0.41198456287384033, -0.5022237300872803, -0.7168172597885132, -0.8658886551856995, 0.5331714153289795, -0.3562619090080261, 0.9353601336479187, -0.39720025658607483, 1.8053985834121704, -0.5535914897918701, 0.518395721912384, 0.6995766758918762, 1.1773884296417236, 0.32667821645736694, 0.027907926589250565, 0.3616662621498108, 0.46544232964515686, -0.0883021354675293, 0.6340338587760925, 1.3219131231307983, 0.6818751692771912, 0.5913165211677551, 0.8967456221580505, -2.1556320190429688, 1.1674844026565552, -1.2061305046081543, 0.2002599686384201, 1.445934534072876, -0.7261993288993835, 0.3766355812549591, -1.8223623037338257, -0.049051206558942795, 0.5835367441177368, -2.2245934009552, 0.3724067807197571, -1.3511738777160645, -0.6130244731903076, 1.005454182624817, 0.44386282563209534, -1.1959924697875977, 0.07352542877197266, -0.32124340534210205, 0.9344584941864014, 0.3494105339050293, 1.0933512449264526, -1.5891788005828857, -0.0308145172894001, -0.3436228632926941, 0.13134144246578217, -1.230780839920044, -1.4930716753005981, 0.542497992515564, 0.4366168677806854, 0.45963823795318604, -0.07844836264848709, 1.2000983953475952, -1.1366539001464844, 0.7275172472000122, -1.041454792022705, -1.6493335962295532, -1.50454843044281, -2.20249080657959, -2.1724231243133545, 0.7704429626464844, -0.4916680157184601, -0.5792763233184814, 2.0328352451324463, -0.9342861771583557, -1.574482798576355, 1.1484870910644531, 0.35286980867385864, 0.06477129459381104, 2.454087972640991, 0.22395440936088562, -0.7091776132583618, 0.5627260804176331, -0.7559760212898254, 0.7190683484077454, -0.25407594442367554, 1.3848469257354736, 0.39118415117263794, -0.9929361939430237, 1.692997694015503, -0.3324757218360901, 0.6555797457695007, -0.5402072072029114, -0.5131280422210693, -0.5933266282081604, 0.3509489893913269, 1.8295425176620483, -0.32804757356643677, 1.4690049886703491, -0.2033367156982422, -1.5221623182296753, -1.654370665550232, 0.9858603477478027, 0.4806986451148987, -0.7533137202262878, 0.06533815711736679, -0.3227439522743225, 0.09041871130466461, -0.1489638388156891, 1.2234385013580322, 1.3101850748062134, 0.779169499874115, -0.3640286326408386, -0.7550421953201294, 0.10505786538124084, 0.02230352908372879, -0.829312801361084, -1.600072979927063, -0.3254599869251251, 0.12287604063749313, 0.5908232927322388, -1.2412457466125488, 1.7726548910140991, 0.9324183464050293, 1.831104040145874, 1.032397985458374, -0.39141544699668884, 1.536503791809082, 0.1254754215478897, 1.7070499658584595, -0.48517751693725586, 0.5833888053894043, -0.27446064352989197, -1.1637632846832275, 0.8872939348220825, -0.310308039188385, -2.1414084434509277, -0.9019045829772949, -0.7598418593406677, -0.13964766263961792, -0.7906374931335449, 0.9760512113571167, -0.3396027386188507, -1.367580771446228, 0.1926964968442917, -0.8090031147003174, -0.04939926788210869, -1.2081745862960815, 0.40982338786125183, 0.5883526802062988, -0.6522760391235352, 0.07011411339044571, -0.0931582972407341, -1.1487845182418823, -0.416411817073822, 0.13288722932338715, 1.9545458555221558, -0.7830870747566223, 0.7891784310340881, 1.1440714597702026, -0.81821209192276, -0.0057470230385661125, 0.24080711603164673, -0.3767400085926056, 0.8519314527511597, -1.029973030090332, -0.5871512293815613, 1.142580509185791, -0.06396536529064178, -0.6276655197143555, 1.4794504642486572, 0.6129332780838013, -0.9329330921173096, -0.310350626707077, -0.07087808847427368, -0.7462022304534912, 0.05002680420875549, -1.3660751581192017, -0.13861508667469025, 0.5250883102416992, -1.5181667804718018, -0.5122861862182617, -0.10096162557601929, 1.300116777420044, -0.2664024531841278, 1.4586576223373413, -0.39401569962501526, -0.18812061846256256, -0.30017945170402527, -0.30945098400115967, 0.017578180879354477, -0.23218078911304474, -0.7132721543312073, 0.1047263815999031, -0.8611741065979004, 0.34125155210494995, 1.4010367393493652, 0.3767460882663727, -0.028202537447214127, 0.5287933945655823, 1.1479923725128174, 0.4845116138458252, 0.023906216025352478, -0.9640198945999146, -1.4313087463378906, 1.9195895195007324, -1.4823360443115234, 2.0585877895355225, 0.7201471924781799, -0.03050624206662178, -1.7278319597244263, -1.984663963317871, 1.3233970403671265, 1.2391901016235352, 2.34387469291687, 0.49448180198669434, 0.39872321486473083, -0.8051160573959351, -0.6945935487747192, 0.33007845282554626, -1.0593448877334595, -0.5818406939506531, 0.2822447121143341, 2.355001211166382, 1.7955610752105713, -0.46384096145629883, -0.19322113692760468, -0.9533686637878418, 1.3972179889678955, -0.1812622994184494, 0.14662830531597137, 1.967130184173584, -0.21524368226528168, -1.0768728256225586, 1.3074313402175903, -2.318618059158325, 0.05671962723135948, 1.9678374528884888, 0.3670143783092499, 0.055329810827970505, -1.319191813468933, -0.6235135793685913, -0.3234320878982544, -0.5885088443756104, -1.2363642454147339, 0.47056716680526733, -0.17351645231246948, -0.7929063439369202, -1.3359181880950928, 0.11077502369880676, -1.1437550783157349, -1.578786849975586, 0.21725989878177643, 1.8607923984527588, 2.08082914352417, -0.8123661279678345, 1.5546016693115234, -0.3008984923362732, -0.011817866936326027, 1.1887946128845215, 1.2860298156738281, 3.0749385356903076, 1.8494391441345215, -1.2640368938446045, 0.5039407014846802, -0.18140211701393127, -0.4616866707801819, 1.1644538640975952, -1.3729248046875, 1.3839030265808105, -0.040258411318063736, -1.0777510404586792, -1.1036534309387207, 0.8167561888694763, 0.3817443251609802, 0.07806664705276489, -0.5436364412307739, 1.0119119882583618, 0.1668606698513031, 1.420821189880371, 0.5987639427185059, -0.2734985053539276, 0.6881628632545471, -0.3676114082336426, -0.3933156430721283, 1.530598521232605, 0.10434694588184357, -1.4233312606811523, -2.2278828620910645, -0.08235117793083191, -0.8720018267631531, 0.15184134244918823, -0.5159162878990173, -1.059025526046753, 1.8681914806365967, 0.2472899854183197, -1.226717472076416, -0.25516873598098755, -0.4526006877422333, -0.5956296324729919, 2.884692907333374, -1.344565510749817, -0.2386503666639328, -1.0964206457138062, -0.7979401350021362, 1.6847056150436401, -1.0902942419052124, -0.13272784650325775, -0.9883076548576355, -0.4746383726596832, -1.3881332874298096, -0.5363200902938843, 0.185092955827713, -1.0119433403015137, 0.8898327946662903, 0.24800896644592285, -1.2131614685058594, -0.41397979855537415, -0.7684968113899231, 0.8653547167778015, -0.207139253616333, 0.13371071219444275, 2.0572621822357178, 0.33215442299842834, -0.29318955540657043, 0.723905086517334, 1.2410911321640015, 0.6118901968002319, -0.58537358045578, 0.2755281925201416, -0.6722330451011658, 0.3560076355934143, -1.4005990028381348, 0.1793697029352188, -2.6976253986358643, 0.5912714004516602, -0.11043918877840042, -0.09659405797719955, 0.09247253090143204, -1.2461628913879395, 1.0780614614486694, 2.5567147731781006, -1.1318128108978271, 0.3679691255092621, 0.31819942593574524, 1.1348830461502075, -1.6252708435058594, 0.29435113072395325, -0.45304960012435913, 1.9707366228103638, 0.24915671348571777, 1.105823040008545, -0.5106444954872131, -2.2778046131134033, 0.6513379812240601, -1.344028115272522, -1.2697986364364624, 0.6801872253417969, -0.9621278047561646, 0.25870564579963684, -1.4853538274765015, -0.266929566860199, -0.9301642179489136, -1.0576106309890747, 0.6191572546958923, 0.12868301570415497, 0.28729942440986633, -0.4922182857990265, 0.4235350787639618, -2.2973756790161133, -1.4658069610595703, -0.27996495366096497, -0.8974877595901489, 0.5606580972671509, -0.4375956654548645, 0.8207802176475525, -0.202189102768898, -0.07992735505104065, 0.4639877676963806, 1.5235151052474976, 3.3146579265594482, 0.2578393816947937, 0.3230053782463074, -0.3108137845993042, -1.036617636680603, 1.6310895681381226, 0.8619455695152283, 0.035258699208498, -0.5499448180198669, -1.089794635772705, 1.261679768562317, 1.8460203409194946, 1.0495998859405518, -0.05090249329805374, -0.9015642404556274, -0.715424120426178, -0.1549978405237198, 0.19304493069648743, 0.3171387314796448, 0.9685388803482056, -0.009658449329435825, 0.017895840108394623, 1.441550612449646, 1.1344958543777466, -0.4089442193508148, 0.16621871292591095, -0.7922569513320923, -0.4519110321998596, 0.6048526763916016, 0.18240946531295776, 0.041224367916584015, 0.47163301706314087, -0.9778524041175842, -0.38243719935417175, -0.4157019555568695, -0.8934913873672485, -0.6494413614273071, -0.41849976778030396, -0.3081439435482025, 1.5815019607543945, 0.1093273013830185, -0.55643630027771, -0.06286080926656723, -0.9748212099075317, -0.135343998670578, -1.217237949371338, 0.15188072621822357, -0.05103584751486778, -0.2278871238231659, -0.19715936481952667, 1.747165322303772, -0.7998660802841187, -1.9961386919021606, 0.14734385907649994, 0.24287375807762146, -0.19316092133522034, 0.26232606172561646, 1.5898735523223877, 0.5738462805747986, 1.4331544637680054, 1.1488744020462036, 0.8536118865013123, -0.5366510152816772, -1.3827508687973022, 0.5957642197608948, 1.1835169792175293, -1.3471453189849854, 0.8582830429077148, -0.05064255744218826, -0.48439040780067444, 0.4179556965827942, 1.210050344467163, 0.5558439493179321, -1.8656835556030273, 0.7539373636245728, -0.9171155691146851, 0.85414719581604, 0.6114279627799988, 0.5496599674224854, 0.1746819019317627, 0.7870432138442993, -1.1364212036132812, -1.1180455684661865, -0.7317055463790894, -0.6488995552062988, 2.0662121772766113, -0.38118258118629456, 0.7421551942825317, -0.4145662188529968, -1.2423685789108276, 0.026126515120267868, 0.6799948215484619, 0.31773239374160767, -0.5349404215812683, 0.8276689648628235, -0.5748076438903809, -1.023399829864502, -1.3598668575286865, -0.30193030834198, -1.070468544960022, -0.9476413130760193, 1.1416285037994385, 0.6912609934806824, 0.21479055285453796, 1.843422770500183, 0.8022012710571289, 0.33972159028053284, -2.559539794921875, 0.8831998705863953, 0.28283658623695374, -0.08681703358888626, 0.850892186164856, 0.4134870767593384, 0.972468912601471, -0.0923711359500885, 0.5375823974609375, -2.4912166595458984, 2.363612174987793, -0.13159514963626862, 0.7489147186279297, 0.026704445481300354, -0.22751615941524506, 1.074294924736023, 0.6290568113327026, 0.3765454888343811, -0.9469837546348572, 0.3965265452861786, -0.4857875108718872, 1.2424787282943726, 0.8850612640380859, -0.7189779877662659, 0.05213601514697075, 1.431256890296936, 0.5714412927627563, -0.4902054965496063, -0.9734386801719666, -0.7999133467674255, 0.9964643120765686, 1.640210509300232, 0.0008301278576254845, 0.010260560549795628, 0.901620626449585, 0.6190987229347229, -1.2836964130401611, 0.03391547128558159, -0.811365008354187, -0.7756093740463257, 1.7492783069610596, 2.20949649810791, -0.2405850887298584, -0.27180659770965576, -0.6077617406845093, -1.3552076816558838, 0.8304729461669922, -0.1318756490945816, 0.366858571767807, 0.5970462560653687, -0.6952643394470215, 0.9916614890098572, 0.9075968861579895, 0.917397141456604, 0.3338114321231842, 0.29959654808044434, 0.4600737690925598, -0.4290418028831482, -1.1230723857879639, -0.11957066506147385, -1.0075538158416748, -2.6596317291259766, 0.4001292288303375, -0.17571789026260376, -1.289850115776062, -0.0350441038608551, -1.0237929821014404, 1.0051589012145996, -0.5958867073059082, -0.9608864188194275, -1.5641579627990723, 0.20846201479434967, 0.11565833538770676, 1.08387291431427, -1.5614159107208252, -0.41406741738319397, 1.1759446859359741, 0.979802668094635, -0.7549492120742798, 0.829211950302124, 0.12772546708583832, 1.1278241872787476, 0.7340189218521118, -0.4363175630569458, 0.5652576684951782, -0.16624011099338531, -1.429084062576294, 0.42248138785362244, 1.2105600833892822, 0.20825892686843872, 1.5649404525756836, -0.44753238558769226, 0.0404558889567852, 0.36488351225852966, -0.590903639793396, -0.5089191198348999, -0.49056997895240784, 0.4517338275909424, 0.03798800706863403, -0.9968439936637878, -0.15334585309028625, 0.010046700946986675, -0.21409612894058228, 0.06218786910176277, -1.3343504667282104, -0.06253601610660553, -0.49776843190193176, -0.7077584862709045, -1.135869026184082, -0.17310494184494019, 1.246834635734558, -0.8346919417381287, -0.13523860275745392, 0.3842449486255646, 0.22337691485881805, 0.5034450888633728, 0.5145336985588074, -0.8795977234840393, -0.32772526144981384, -0.17370803654193878, -0.3555713891983032, 0.29653486609458923, 1.4302127361297607, -0.1194513812661171, -1.003903865814209, 0.6127427220344543, -0.23518680036067963, 0.10326706618070602, 1.9362226724624634, -0.010776174254715443, -0.6761624813079834, 0.23357562720775604, -0.7131118178367615, 1.8436970710754395, 1.6371150016784668, 1.4449948072433472, -0.307157963514328, -0.6830027103424072, 0.6985041499137878, -0.5497161149978638, -0.44364216923713684, 0.758560836315155, 0.2594875693321228, -0.18570713698863983, -1.5886032581329346, 0.8475496172904968, 1.3306158781051636, -0.9077208042144775, -0.7427971363067627, 0.18361206352710724, -0.8090711832046509, 1.0714893341064453, 0.5187730193138123, 0.3076261579990387, 0.48233941197395325, 1.5894356966018677, 0.9150964617729187, -0.3981799781322479, 0.46509772539138794, 0.6552060842514038, -0.05223481357097626, -2.2020986080169678, -1.2602769136428833, 0.3543083965778351, -0.6640734076499939, -1.5430134534835815, 1.4813445806503296, -1.132705807685852, -1.0798165798187256, 0.6002957224845886, 0.12113691121339798, 1.3671903610229492, 0.437105268239975, 1.5064964294433594, 1.9802799224853516, 0.7765687704086304, 0.4395926594734192, 1.1462907791137695, -0.0926244929432869, -0.402094304561615, 1.8386576175689697, -0.4833007752895355, 0.42210787534713745, 1.0163345336914062, -0.16442108154296875, -1.214611530303955, -0.7266342043876648, -1.5279861688613892, -0.8746682405471802, 1.2029738426208496, 0.03159181773662567, -1.0314146280288696, 0.18559125065803528, 1.6439875364303589, 0.043299924582242966, -0.5067536234855652, 0.6442485451698303, 0.3638128340244293, -0.8674290776252747, -0.009347602725028992, -0.885902464389801, 0.6124183535575867, -0.02770165726542473, -0.38587450981140137, 0.2925816774368286, 0.4758460521697998, 1.500191569328308, -0.05445484444499016, 0.13411781191825867, 0.9643118977546692, -1.410855770111084, 1.6758188009262085, -0.771203339099884, 0.23035281896591187, -2.3181257247924805, 1.4526249170303345, -0.7629600763320923, 1.9510927200317383, -2.6088573932647705, 0.5452174544334412, -0.4945051968097687, -0.4519360661506653, 0.22955891489982605, -0.4313279688358307, 0.15912945568561554, -0.04471302032470703, -1.1552925109863281, -0.021849606186151505, -0.5595124959945679, 0.6772162318229675, 1.0701606273651123, 1.4164671897888184, -1.2244070768356323, -0.4181874394416809, -1.7712498903274536, -0.10419805347919464, -0.7737183570861816, 0.05756426975131035, -1.9480395317077637, -0.3501425087451935, -1.8250161409378052, -2.3282580375671387, -1.2207633256912231, -0.7894208431243896, 1.2270760536193848, 0.06587442010641098, -0.976783812046051, 1.3193925619125366, -0.4362161159515381, -1.9159375429153442, 1.2036168575286865, -2.194551706314087 ]
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi, regarding the following information: > Please note that this is a design purpose: a `DatasetDict` has the same features for all its datasets. Normally, a `DatasetDict` is composed of several sub-datasets each corresponding to a different **split**. > > To handle sub-datasets with different features, we use another approach: use different **configurations** instead of **splits**. Altough this is often implied (such as how else would `DatasetDict` be able to process multiple splits in the same way?), I would expect it to be written somewhere in the docs plainly and maybe even in bold. Also I would expect to see it in multiple places such as: - in docstring of `DatasetDict` - in nlp/image/audio guides on how to create a dataset - [in conceptual guide on how to create a loading script](https://huggingface.co/docs/datasets/main/en/about_dataset_load) I think this addition would benefit the docs, especially when you guide a newbie (such as me) through the process of creating a dataset. As I said, you somehow suspect that this is in fact the case, but without reading it in the docs you cannot be sure.
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ```
789
180
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code to reproduce available [here](https://huggingface.co/datasets/pietrolesci/robust_nli). In short: I have 3 feature mapping ```python Tri_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]), } ) Ent_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-entailment", "entailment"]), } ) Con_features = Features( { "idx": Value(dtype="int64"), "premise": Value(dtype="string"), "hypothesis": Value(dtype="string"), "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]), } ) ``` Then I create different datasets ```python dataset_splits = {} for split in df["split"].unique(): print(split) df_split = df.loc[df["split"] == split].copy() if split in Tri_dataset: df_split["label"] = df_split["label"].map({"entailment": 0, "neutral": 1, "contradiction": 2}) ds = Dataset.from_pandas(df_split, features=Tri_features) elif split in Ent_bin_dataset: df_split["label"] = df_split["label"].map({"non-entailment": 0, "entailment": 1}) ds = Dataset.from_pandas(df_split, features=Ent_features) elif split in Con_bin_dataset: df_split["label"] = df_split["label"].map({"non-contradiction": 0, "contradiction": 1}) ds = Dataset.from_pandas(df_split, features=Con_features) else: print("ERROR:", split) dataset_splits[split] = ds datasets = DatasetDict(dataset_splits) ``` I then push to hub ```python datasets.push_to_hub("pietrolesci/robust_nli", token="<token>") ``` Finally, I load it from the hub ```python datasets_loaded_from_hub = load_dataset("pietrolesci/robust_nli") ``` And I get that ```python datasets["LI_TS"].features != datasets_loaded_from_hub["LI_TS"].features ``` since ```python "label": ClassLabel(num_classes=2, names=["non-contradiction", "contradiction"]) ``` gets remapped to ```python "label": ClassLabel(num_classes=3, names=["entailment", "neutral", "contradiction"]) ``` Hi, regarding the following information: > Please note that this is a design purpose: a `DatasetDict` has the same features for all its datasets. Normally, a `DatasetDict` is composed of several sub-datasets each corresponding to a different **split**. > > To handle sub-datasets with different features, we use another approach: use different **configurations** instead of **splits**. Altough this is often implied (such as how else would `DatasetDict` be able to process multiple splits in the same way?), I would expect it to be written somewhere in the docs plainly and maybe even in bold. Also I would expect to see it in multiple places such as: - in docstring of `DatasetDict` - in nlp/image/audio guides on how to create a dataset - [in conceptual guide on how to create a loading script](https://huggingface.co/docs/datasets/main/en/about_dataset_load) I think this addition would benefit the docs, especially when you guide a newbie (such as me) through the process of creating a dataset. As I said, you somehow suspect that this is in fact the case, but without reading it in the docs you cannot be sure.
[ -1.2451794147491455, -0.8649232387542725, -0.7281451225280762, 1.553868055343628, -0.22664426267147064, -0.9993091821670532, 0.2305677980184555, -1.1509039402008057, 1.659450888633728, -0.6978124380111694, 0.4650605022907257, -1.6354515552520752, -0.01876036450266838, -0.5618094801902771, -0.7158192992210388, -0.9354511499404907, -0.43358394503593445, -0.647844135761261, 1.0594372749328613, 2.504539966583252, 1.3537321090698242, -1.3717018365859985, 2.678347110748291, 0.7667494416236877, -0.07971303164958954, -0.941303014755249, 0.6392586827278137, 0.026954039931297302, -1.1907784938812256, -0.4691286087036133, -1.0424803495407104, -0.2747510075569153, -0.4182811975479126, -0.5155866146087646, -0.12353280186653137, 0.4750727117061615, -0.41198456287384033, -0.5022237300872803, -0.7168172597885132, -0.8658886551856995, 0.5331714153289795, -0.3562619090080261, 0.9353601336479187, -0.39720025658607483, 1.8053985834121704, -0.5535914897918701, 0.518395721912384, 0.6995766758918762, 1.1773884296417236, 0.32667821645736694, 0.027907926589250565, 0.3616662621498108, 0.46544232964515686, -0.0883021354675293, 0.6340338587760925, 1.3219131231307983, 0.6818751692771912, 0.5913165211677551, 0.8967456221580505, -2.1556320190429688, 1.1674844026565552, -1.2061305046081543, 0.2002599686384201, 1.445934534072876, -0.7261993288993835, 0.3766355812549591, -1.8223623037338257, -0.049051206558942795, 0.5835367441177368, -2.2245934009552, 0.3724067807197571, -1.3511738777160645, -0.6130244731903076, 1.005454182624817, 0.44386282563209534, -1.1959924697875977, 0.07352542877197266, -0.32124340534210205, 0.9344584941864014, 0.3494105339050293, 1.0933512449264526, -1.5891788005828857, -0.0308145172894001, -0.3436228632926941, 0.13134144246578217, -1.230780839920044, -1.4930716753005981, 0.542497992515564, 0.4366168677806854, 0.45963823795318604, -0.07844836264848709, 1.2000983953475952, -1.1366539001464844, 0.7275172472000122, -1.041454792022705, -1.6493335962295532, -1.50454843044281, -2.20249080657959, -2.1724231243133545, 0.7704429626464844, -0.4916680157184601, -0.5792763233184814, 2.0328352451324463, -0.9342861771583557, -1.574482798576355, 1.1484870910644531, 0.35286980867385864, 0.06477129459381104, 2.454087972640991, 0.22395440936088562, -0.7091776132583618, 0.5627260804176331, -0.7559760212898254, 0.7190683484077454, -0.25407594442367554, 1.3848469257354736, 0.39118415117263794, -0.9929361939430237, 1.692997694015503, -0.3324757218360901, 0.6555797457695007, -0.5402072072029114, -0.5131280422210693, -0.5933266282081604, 0.3509489893913269, 1.8295425176620483, -0.32804757356643677, 1.4690049886703491, -0.2033367156982422, -1.5221623182296753, -1.654370665550232, 0.9858603477478027, 0.4806986451148987, -0.7533137202262878, 0.06533815711736679, -0.3227439522743225, 0.09041871130466461, -0.1489638388156891, 1.2234385013580322, 1.3101850748062134, 0.779169499874115, -0.3640286326408386, -0.7550421953201294, 0.10505786538124084, 0.02230352908372879, -0.829312801361084, -1.600072979927063, -0.3254599869251251, 0.12287604063749313, 0.5908232927322388, -1.2412457466125488, 1.7726548910140991, 0.9324183464050293, 1.831104040145874, 1.032397985458374, -0.39141544699668884, 1.536503791809082, 0.1254754215478897, 1.7070499658584595, -0.48517751693725586, 0.5833888053894043, -0.27446064352989197, -1.1637632846832275, 0.8872939348220825, -0.310308039188385, -2.1414084434509277, -0.9019045829772949, -0.7598418593406677, -0.13964766263961792, -0.7906374931335449, 0.9760512113571167, -0.3396027386188507, -1.367580771446228, 0.1926964968442917, -0.8090031147003174, -0.04939926788210869, -1.2081745862960815, 0.40982338786125183, 0.5883526802062988, -0.6522760391235352, 0.07011411339044571, -0.0931582972407341, -1.1487845182418823, -0.416411817073822, 0.13288722932338715, 1.9545458555221558, -0.7830870747566223, 0.7891784310340881, 1.1440714597702026, -0.81821209192276, -0.0057470230385661125, 0.24080711603164673, -0.3767400085926056, 0.8519314527511597, -1.029973030090332, -0.5871512293815613, 1.142580509185791, -0.06396536529064178, -0.6276655197143555, 1.4794504642486572, 0.6129332780838013, -0.9329330921173096, -0.310350626707077, -0.07087808847427368, -0.7462022304534912, 0.05002680420875549, -1.3660751581192017, -0.13861508667469025, 0.5250883102416992, -1.5181667804718018, -0.5122861862182617, -0.10096162557601929, 1.300116777420044, -0.2664024531841278, 1.4586576223373413, -0.39401569962501526, -0.18812061846256256, -0.30017945170402527, -0.30945098400115967, 0.017578180879354477, -0.23218078911304474, -0.7132721543312073, 0.1047263815999031, -0.8611741065979004, 0.34125155210494995, 1.4010367393493652, 0.3767460882663727, -0.028202537447214127, 0.5287933945655823, 1.1479923725128174, 0.4845116138458252, 0.023906216025352478, -0.9640198945999146, -1.4313087463378906, 1.9195895195007324, -1.4823360443115234, 2.0585877895355225, 0.7201471924781799, -0.03050624206662178, -1.7278319597244263, -1.984663963317871, 1.3233970403671265, 1.2391901016235352, 2.34387469291687, 0.49448180198669434, 0.39872321486473083, -0.8051160573959351, -0.6945935487747192, 0.33007845282554626, -1.0593448877334595, -0.5818406939506531, 0.2822447121143341, 2.355001211166382, 1.7955610752105713, -0.46384096145629883, -0.19322113692760468, -0.9533686637878418, 1.3972179889678955, -0.1812622994184494, 0.14662830531597137, 1.967130184173584, -0.21524368226528168, -1.0768728256225586, 1.3074313402175903, -2.318618059158325, 0.05671962723135948, 1.9678374528884888, 0.3670143783092499, 0.055329810827970505, -1.319191813468933, -0.6235135793685913, -0.3234320878982544, -0.5885088443756104, -1.2363642454147339, 0.47056716680526733, -0.17351645231246948, -0.7929063439369202, -1.3359181880950928, 0.11077502369880676, -1.1437550783157349, -1.578786849975586, 0.21725989878177643, 1.8607923984527588, 2.08082914352417, -0.8123661279678345, 1.5546016693115234, -0.3008984923362732, -0.011817866936326027, 1.1887946128845215, 1.2860298156738281, 3.0749385356903076, 1.8494391441345215, -1.2640368938446045, 0.5039407014846802, -0.18140211701393127, -0.4616866707801819, 1.1644538640975952, -1.3729248046875, 1.3839030265808105, -0.040258411318063736, -1.0777510404586792, -1.1036534309387207, 0.8167561888694763, 0.3817443251609802, 0.07806664705276489, -0.5436364412307739, 1.0119119882583618, 0.1668606698513031, 1.420821189880371, 0.5987639427185059, -0.2734985053539276, 0.6881628632545471, -0.3676114082336426, -0.3933156430721283, 1.530598521232605, 0.10434694588184357, -1.4233312606811523, -2.2278828620910645, -0.08235117793083191, -0.8720018267631531, 0.15184134244918823, -0.5159162878990173, -1.059025526046753, 1.8681914806365967, 0.2472899854183197, -1.226717472076416, -0.25516873598098755, -0.4526006877422333, -0.5956296324729919, 2.884692907333374, -1.344565510749817, -0.2386503666639328, -1.0964206457138062, -0.7979401350021362, 1.6847056150436401, -1.0902942419052124, -0.13272784650325775, -0.9883076548576355, -0.4746383726596832, -1.3881332874298096, -0.5363200902938843, 0.185092955827713, -1.0119433403015137, 0.8898327946662903, 0.24800896644592285, -1.2131614685058594, -0.41397979855537415, -0.7684968113899231, 0.8653547167778015, -0.207139253616333, 0.13371071219444275, 2.0572621822357178, 0.33215442299842834, -0.29318955540657043, 0.723905086517334, 1.2410911321640015, 0.6118901968002319, -0.58537358045578, 0.2755281925201416, -0.6722330451011658, 0.3560076355934143, -1.4005990028381348, 0.1793697029352188, -2.6976253986358643, 0.5912714004516602, -0.11043918877840042, -0.09659405797719955, 0.09247253090143204, -1.2461628913879395, 1.0780614614486694, 2.5567147731781006, -1.1318128108978271, 0.3679691255092621, 0.31819942593574524, 1.1348830461502075, -1.6252708435058594, 0.29435113072395325, -0.45304960012435913, 1.9707366228103638, 0.24915671348571777, 1.105823040008545, -0.5106444954872131, -2.2778046131134033, 0.6513379812240601, -1.344028115272522, -1.2697986364364624, 0.6801872253417969, -0.9621278047561646, 0.25870564579963684, -1.4853538274765015, -0.266929566860199, -0.9301642179489136, -1.0576106309890747, 0.6191572546958923, 0.12868301570415497, 0.28729942440986633, -0.4922182857990265, 0.4235350787639618, -2.2973756790161133, -1.4658069610595703, -0.27996495366096497, -0.8974877595901489, 0.5606580972671509, -0.4375956654548645, 0.8207802176475525, -0.202189102768898, -0.07992735505104065, 0.4639877676963806, 1.5235151052474976, 3.3146579265594482, 0.2578393816947937, 0.3230053782463074, -0.3108137845993042, -1.036617636680603, 1.6310895681381226, 0.8619455695152283, 0.035258699208498, -0.5499448180198669, -1.089794635772705, 1.261679768562317, 1.8460203409194946, 1.0495998859405518, -0.05090249329805374, -0.9015642404556274, -0.715424120426178, -0.1549978405237198, 0.19304493069648743, 0.3171387314796448, 0.9685388803482056, -0.009658449329435825, 0.017895840108394623, 1.441550612449646, 1.1344958543777466, -0.4089442193508148, 0.16621871292591095, -0.7922569513320923, -0.4519110321998596, 0.6048526763916016, 0.18240946531295776, 0.041224367916584015, 0.47163301706314087, -0.9778524041175842, -0.38243719935417175, -0.4157019555568695, -0.8934913873672485, -0.6494413614273071, -0.41849976778030396, -0.3081439435482025, 1.5815019607543945, 0.1093273013830185, -0.55643630027771, -0.06286080926656723, -0.9748212099075317, -0.135343998670578, -1.217237949371338, 0.15188072621822357, -0.05103584751486778, -0.2278871238231659, -0.19715936481952667, 1.747165322303772, -0.7998660802841187, -1.9961386919021606, 0.14734385907649994, 0.24287375807762146, -0.19316092133522034, 0.26232606172561646, 1.5898735523223877, 0.5738462805747986, 1.4331544637680054, 1.1488744020462036, 0.8536118865013123, -0.5366510152816772, -1.3827508687973022, 0.5957642197608948, 1.1835169792175293, -1.3471453189849854, 0.8582830429077148, -0.05064255744218826, -0.48439040780067444, 0.4179556965827942, 1.210050344467163, 0.5558439493179321, -1.8656835556030273, 0.7539373636245728, -0.9171155691146851, 0.85414719581604, 0.6114279627799988, 0.5496599674224854, 0.1746819019317627, 0.7870432138442993, -1.1364212036132812, -1.1180455684661865, -0.7317055463790894, -0.6488995552062988, 2.0662121772766113, -0.38118258118629456, 0.7421551942825317, -0.4145662188529968, -1.2423685789108276, 0.026126515120267868, 0.6799948215484619, 0.31773239374160767, -0.5349404215812683, 0.8276689648628235, -0.5748076438903809, -1.023399829864502, -1.3598668575286865, -0.30193030834198, -1.070468544960022, -0.9476413130760193, 1.1416285037994385, 0.6912609934806824, 0.21479055285453796, 1.843422770500183, 0.8022012710571289, 0.33972159028053284, -2.559539794921875, 0.8831998705863953, 0.28283658623695374, -0.08681703358888626, 0.850892186164856, 0.4134870767593384, 0.972468912601471, -0.0923711359500885, 0.5375823974609375, -2.4912166595458984, 2.363612174987793, -0.13159514963626862, 0.7489147186279297, 0.026704445481300354, -0.22751615941524506, 1.074294924736023, 0.6290568113327026, 0.3765454888343811, -0.9469837546348572, 0.3965265452861786, -0.4857875108718872, 1.2424787282943726, 0.8850612640380859, -0.7189779877662659, 0.05213601514697075, 1.431256890296936, 0.5714412927627563, -0.4902054965496063, -0.9734386801719666, -0.7999133467674255, 0.9964643120765686, 1.640210509300232, 0.0008301278576254845, 0.010260560549795628, 0.901620626449585, 0.6190987229347229, -1.2836964130401611, 0.03391547128558159, -0.811365008354187, -0.7756093740463257, 1.7492783069610596, 2.20949649810791, -0.2405850887298584, -0.27180659770965576, -0.6077617406845093, -1.3552076816558838, 0.8304729461669922, -0.1318756490945816, 0.366858571767807, 0.5970462560653687, -0.6952643394470215, 0.9916614890098572, 0.9075968861579895, 0.917397141456604, 0.3338114321231842, 0.29959654808044434, 0.4600737690925598, -0.4290418028831482, -1.1230723857879639, -0.11957066506147385, -1.0075538158416748, -2.6596317291259766, 0.4001292288303375, -0.17571789026260376, -1.289850115776062, -0.0350441038608551, -1.0237929821014404, 1.0051589012145996, -0.5958867073059082, -0.9608864188194275, -1.5641579627990723, 0.20846201479434967, 0.11565833538770676, 1.08387291431427, -1.5614159107208252, -0.41406741738319397, 1.1759446859359741, 0.979802668094635, -0.7549492120742798, 0.829211950302124, 0.12772546708583832, 1.1278241872787476, 0.7340189218521118, -0.4363175630569458, 0.5652576684951782, -0.16624011099338531, -1.429084062576294, 0.42248138785362244, 1.2105600833892822, 0.20825892686843872, 1.5649404525756836, -0.44753238558769226, 0.0404558889567852, 0.36488351225852966, -0.590903639793396, -0.5089191198348999, -0.49056997895240784, 0.4517338275909424, 0.03798800706863403, -0.9968439936637878, -0.15334585309028625, 0.010046700946986675, -0.21409612894058228, 0.06218786910176277, -1.3343504667282104, -0.06253601610660553, -0.49776843190193176, -0.7077584862709045, -1.135869026184082, -0.17310494184494019, 1.246834635734558, -0.8346919417381287, -0.13523860275745392, 0.3842449486255646, 0.22337691485881805, 0.5034450888633728, 0.5145336985588074, -0.8795977234840393, -0.32772526144981384, -0.17370803654193878, -0.3555713891983032, 0.29653486609458923, 1.4302127361297607, -0.1194513812661171, -1.003903865814209, 0.6127427220344543, -0.23518680036067963, 0.10326706618070602, 1.9362226724624634, -0.010776174254715443, -0.6761624813079834, 0.23357562720775604, -0.7131118178367615, 1.8436970710754395, 1.6371150016784668, 1.4449948072433472, -0.307157963514328, -0.6830027103424072, 0.6985041499137878, -0.5497161149978638, -0.44364216923713684, 0.758560836315155, 0.2594875693321228, -0.18570713698863983, -1.5886032581329346, 0.8475496172904968, 1.3306158781051636, -0.9077208042144775, -0.7427971363067627, 0.18361206352710724, -0.8090711832046509, 1.0714893341064453, 0.5187730193138123, 0.3076261579990387, 0.48233941197395325, 1.5894356966018677, 0.9150964617729187, -0.3981799781322479, 0.46509772539138794, 0.6552060842514038, -0.05223481357097626, -2.2020986080169678, -1.2602769136428833, 0.3543083965778351, -0.6640734076499939, -1.5430134534835815, 1.4813445806503296, -1.132705807685852, -1.0798165798187256, 0.6002957224845886, 0.12113691121339798, 1.3671903610229492, 0.437105268239975, 1.5064964294433594, 1.9802799224853516, 0.7765687704086304, 0.4395926594734192, 1.1462907791137695, -0.0926244929432869, -0.402094304561615, 1.8386576175689697, -0.4833007752895355, 0.42210787534713745, 1.0163345336914062, -0.16442108154296875, -1.214611530303955, -0.7266342043876648, -1.5279861688613892, -0.8746682405471802, 1.2029738426208496, 0.03159181773662567, -1.0314146280288696, 0.18559125065803528, 1.6439875364303589, 0.043299924582242966, -0.5067536234855652, 0.6442485451698303, 0.3638128340244293, -0.8674290776252747, -0.009347602725028992, -0.885902464389801, 0.6124183535575867, -0.02770165726542473, -0.38587450981140137, 0.2925816774368286, 0.4758460521697998, 1.500191569328308, -0.05445484444499016, 0.13411781191825867, 0.9643118977546692, -1.410855770111084, 1.6758188009262085, -0.771203339099884, 0.23035281896591187, -2.3181257247924805, 1.4526249170303345, -0.7629600763320923, 1.9510927200317383, -2.6088573932647705, 0.5452174544334412, -0.4945051968097687, -0.4519360661506653, 0.22955891489982605, -0.4313279688358307, 0.15912945568561554, -0.04471302032470703, -1.1552925109863281, -0.021849606186151505, -0.5595124959945679, 0.6772162318229675, 1.0701606273651123, 1.4164671897888184, -1.2244070768356323, -0.4181874394416809, -1.7712498903274536, -0.10419805347919464, -0.7737183570861816, 0.05756426975131035, -1.9480395317077637, -0.3501425087451935, -1.8250161409378052, -2.3282580375671387, -1.2207633256912231, -0.7894208431243896, 1.2270760536193848, 0.06587442010641098, -0.976783812046051, 1.3193925619125366, -0.4362161159515381, -1.9159375429153442, 1.2036168575286865, -2.194551706314087 ]