Datasets:
The dataset viewer is not available for this subset.
Exception: SplitsNotFoundError Message: The split names could not be parsed from the dataset config. Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 298, in get_dataset_config_info for split_generator in builder._split_generators( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 79, in _split_generators raise ValueError( ValueError: The TAR archives of the dataset should be in WebDataset format, but the files in the archive don't share the same prefix or the same types. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 65, in compute_split_names_from_streaming_response for split in get_dataset_split_names( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 352, in get_dataset_split_names info = get_dataset_config_info( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 303, 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.
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Dataset Card for SuperWikiImage (SWI)
Waifu to catch your attention.
Dataset Details
Dataset Description
Off from the presses of SuperWikipedia-NEXT comes SuperWikiImage: A ~15TiB (~7 Million) collection of images from wikipedia.
- Curated by: KaraKaraWitch
- Funded by: Recursal.ai
- Shared by: KaraKaraWitch
- Language(s) (NLP): Many. Refer to the data below for a list of languages.
- License: Mixed. Refer to lower section on licensing
Dataset Sources [optional]
- Source Data: https://dumps.wikimedia.org/other/enterprise_html/ (Images are scraped from wikimedia commons)
Supported Tasks and Leaderboards
Anything to deal with images such as image to text, text to image, image to image and many more are supported.
Languages
We have selected the following Wikipedia's:
List of Wikipedia's
af.wikipedia.org ar.wikipedia.org ast.wikipedia.org az.wikipedia.org be.wikipedia.org bg.wikipedia.org bn.wikipedia.org ca.wikipedia.org ce.wikipedia.org cs.wikipedia.org cy.wikipedia.org da.wikipedia.org de.wikipedia.org el.wikipedia.org en.wikipedia.org eo.wikipedia.org es.wikipedia.org et.wikipedia.org eu.wikipedia.org fa.wikipedia.org fi.wikipedia.org fr.wikipedia.org gl.wikipedia.org he.wikipedia.org hi.wikipedia.org hr.wikipedia.org hu.wikipedia.org hy.wikipedia.org id.wikipedia.org it.wikipedia.org ja.wikipedia.org ka.wikipedia.org kk.wikipedia.org ko.wikipedia.org la.wikipedia.org lt.wikipedia.org lv.wikipedia.org min.wikipedia.org mk.wikipedia.org ms.wikipedia.org my.wikipedia.org nl.wikipedia.org nn.wikipedia.org no.wikipedia.org pl.wikipedia.org pt.wikipedia.org ro.wikipedia.org ru.wikipedia.org sh.wikipedia.org simple.wikipedia.org sk.wikipedia.org sl.wikipedia.org sr.wikipedia.org sv.wikipedia.org ta.wikipedia.org tg.wikipedia.org th.wikipedia.org tr.wikipedia.org uk.wikipedia.org ur.wikipedia.org uz.wikipedia.org vi.wikipedia.org zh-min-nan.wikipedia.org zh.wikipedia.org zh-yue.wikipedia.org
.wikipedia.org
extensions have been added for your convenience.
Selection of Wikipedia
We deem a particular Wikipedia language as high quality if:
- Has a total article count of
>100,000
. - Has a
Depth > 5.1
.
Depth is calculated using the following equation:
depth = (article_edits / total_pages) * ((total_pages - articles) / articles) ** 2
This formula is directly taken from list of Wikipedias.
Filtering
No extensive filtering is done compared to superwiki-next.
The process is as follows:
- We iterate over dump files to retrieve all the figures in a dataset
- We selectively remove figures in wikipedia that does not end with
(".jpeg", ".jpg", ".png")
- Deduplicate by filename matching
- Prune all images that do not have at least 1 language describing the image.
- Download from wikipedia (Slow)
- Compile into webdataset.
For data keys, refer to the usage example.
Usage Example
The dataset can be loaded with webdataset. Do note that there are multiple extensions to check: jpg
, jpeg
or png
. They have not been reconverted to preserve the original file from wikimedia commons.
import webdataset as wds
# The dataset is compatible with WebDataset format. Example...
tar_root = "... chunk_00/wiki_images-0000.tar"
hf_dataset = wds.WebDataset(str(tar_root)).decode("pil")
for i in hf_dataset:
print(i)
# Prints something like this:
# {
# "__key__": "Liam Neeson Deauville 2012 2",
# "__url__": "v2_SuperWikiFigures/hf_data/chunk_00/wiki_images-0000.tar",
# "jpg": "<PIL.Image.Image image mode=RGB size=566x800 at 0x7FCB939A05E0>",
# "__local_path__": "v2_SuperWikiFigures/hf_data/chunk_00/wiki_images-0000.tar",
# "json": {
# "url": "https://upload.wikimedia.org/wikipedia/commons/f/fe/Liam_Neeson_Deauville_2012_2.jpg",
# "lang": {
# "az": "Liam Nison Oskar Şindler rolu üçün seçilmişdi.",
# "no": "Liam Neeson",
# "es": "Liam Neeson",
# "el": "Λίαμ Νίσον, Α' Ανδρικός Ρόλος",
# "ru": "Актер Лиам Нисон озвучил священника Отца Шона в шестнадцатом сезоне сериала.",
# "pl": "Liam Neeson - odtwórca roli Qui-Gona",
# "kk": "фильмде Оскар Шиндлер рөлін ойнаған Лиам Нисон (2012)",
# "de": "Liam Neeson, Darsteller des Oskar Schindler",
# "bn": "শিন্ডলার্স লিস্ট চলচ্চিত্রের মুখ্য অভিনেতা লিয়াম নিসন",
# "ast": "Liam Neeson (semeya de 2012) interpreta a Oskar Schindler.",
# "id": "Liam Neeson, pemenang Aktor Terbaik",
# "tr": "Liam Neeson (2012 yılındaki fotoğrafı) filmde Oskar Schindler olarak yer alıyor.",
# "pt": "Liam Neeson",
# "it": "Liam Neeson",
# "vi": "Liam Neeson (ảnh năm 2012) thủ vai Oskar Schindler.",
# "cs": "Liam Neeson vítěz v kategorii nejlepší herec",
# "uk": "Ліам Нісон",
# "fi": "Liam Neeson Deau\xadvillen elo\xadkuva\xadfestivaaleilla 2012.",
# "en": "Liam Neeson, Best Animated Voice Performance winner",
# "sv": "Liam Neeson (i bilden från 2012) gjorde rollen som Oskar Schindler i filmen.",
# },
# },
# }
break
Licensing
It's complicated. We have retrieved a jsonl including the licenses to the individual images in the pre-pass to the dataset.
The latest time the license was retrieved was 2024-09-28 00:56 UTC
The dataset includes only the following permitted licenses:
permits = [ "attribution", "cc by", "cc sa", "cc-by", "cc0", "C0 1.0", "fal", "Nagi BY SA", "No restrictions", "pdm-", "public domain", "Share Alike", "dl-de/by-2-0", "dl-de/zero-2-0", # ...Software licenses? "AGPL", "apache", "APSL", "Artistic 2.0", "bsd", "BSL", "CeCILL", "EPL", "FWL", "GFDL", "gpl", "lgpl", "LPL", "LPPL", "mit", "MPL ", "NetHack GPL", "OFL", "OGL", "OPL 3.0", "OSPL", "PostgreSQL License", "WTFPL", "ZLIB", # Streetmaps "ODbL", "OS OpenData", "Geoportal", "DGA Map", # Data "StatCanOpen", "CDDL", "EdictGov-India", "GODL-India", "KOGL Type 1", "KOGL Type-1", "KoreaGov", "LGACDMX", "Licence Ouverte", "OGDL", "정보공유라이선스 2.0: 허용", # Unsure. "copyrighted free use", "Open data", ]
Images which licenses are unclear, are banknotes or in the following blacklisted licenses are removed.
blacklist = [
# "ECB deicsions",
# "ECB decisions",
"Use permitted by the BOI, Currency Department",
"Flora License",
"<b>Alice 2 End User License Agreement",
"Resolution restricted-by-sa",
]
Scripts used to process the files have been included. They are similar to the SuperWikiNEXT-32B dataset.
Dataset Curators
KaraKaraWitch. (I typically hangout in PygmalionAI discord, sometimes EleutherAI and now HF discord. If something is wrong, @KaraKaraWitch
on discord.)
I'd be happy if you could spread the word and recommend this dataset for your use cases. :)
BibTeX Citation
@ONLINE{superwikiimg,
title = {SuperWikiImages},
author = {KaraKaraWitch, recursal.ai},
year = {2024},
howpublished = {\url{https://huggingface.co/datasets/recursal/SuperWikiImage-7M}},
}
Recursal's Vision
To make AI accessible to everyone, regardless of language, or economical status
This is the collective goal of the RWKV Open Source foundation
and Recursal AI
, the commercial entity who backs it.
We believe that AI should not be controlled by a select few individual organization. And that it should be made accessible regardless if you are rich or poor, or a native speaker of english.
About RWKV
RWKV is an Open Source, non profit group, under the linux foundation. Focused on developing the RWKV AI architecture, in accordence to our vision.
The RWKV architecture scales efficiently and economically. As an RNN & Transformer hybrid, it is able to provide the performance similar to leading transformer models, while having the compute and energy efficiency of an RNN based architecture.
You can find out more about the project, and latest models, at the following
About Recursal AI
Recursal AI, is the commercial entity built to provide support for RWKV model development and users, while providing commercial services via its public cloud, or private-cloud / on-premise offerings.
As part of our vision. Our commitment, is to ensure open source development and access to the best foundational AI models and datasets.
The following dataset/models provided here, is part of that commitment.
You can find out more about recursal AI here
- Downloads last month
- 357