The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    ValueError
Message:      Each config must include `config_name` field with a string name of a config, but got 1. 
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 55, in compute_config_names_response
                  for config in sorted(get_dataset_config_names(path=dataset, token=hf_token))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 351, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1495, in dataset_module_factory
                  raise e1 from None
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1472, in dataset_module_factory
                  return HubDatasetModuleFactoryWithoutScript(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1029, in get_module
                  metadata_configs = MetadataConfigs.from_dataset_card_data(dataset_card_data)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/metadata.py", line 180, in from_dataset_card_data
                  raise ValueError(
              ValueError: Each config must include `config_name` field with a string name of a config, but got 1.

Need help to make the dataset viewer work? Open a discussion for direct support.

YAML Metadata Error: "configs[0]" must be of type object
YAML Metadata Error: "configs[1]" must be of type object
YAML Metadata Error: "configs[2]" must be of type object
YAML Metadata Error: "configs[3]" must be of type object
YAML Metadata Error: "configs[4]" must be of type object
YAML Metadata Error: "configs[5]" must be of type object
YAML Metadata Error: "configs[6]" must be of type object
YAML Metadata Error: "configs[7]" must be of type object
YAML Metadata Error: "configs[8]" must be of type object
YAML Metadata Error: "configs[9]" must be of type object
YAML Metadata Error: "configs[10]" must be of type object
YAML Metadata Error: "configs[11]" must be of type object
YAML Metadata Error: "configs[12]" must be of type object
YAML Metadata Error: "configs[13]" must be of type object
YAML Metadata Error: "configs[14]" must be of type object
YAML Metadata Error: "configs[15]" must be of type object
YAML Metadata Error: "configs[16]" must be of type object
YAML Metadata Error: "configs[17]" must be of type object
YAML Metadata Error: "configs[18]" must be of type object
YAML Metadata Error: "configs[19]" must be of type object
YAML Metadata Error: "configs[20]" must be of type object
YAML Metadata Error: "configs[21]" must be of type object

Dataset Card for yaakov/wikipedia-de-splits

Dataset Description

The only goal of this dataset is to have random German Wikipedia articles at various dataset sizes: Small datasets for fast development and large datasets for statistically relevant measurements.

For this purpose, I loaded the 2665357 articles in the test set of the pre-processed German Wikipedia dump from 2022-03-01, randomly permuted the articles and created splits of sizes 2**n: 1, 2, 4, 8, .... The split names are strings. The split 'all' contains all 2665357 available articles.

Dataset creation

This dataset has been created with the following script:

!apt install git-lfs
!pip install -q transformers datasets

from huggingface_hub import notebook_login
notebook_login()

from datasets import load_dataset
wikipedia_de = load_dataset("wikipedia", "20220301.de")['train']

shuffled = wikipedia_de.shuffle(seed=42)

from datasets import DatasetDict
res = DatasetDict()

k, n = 0, 1
while n <= shuffled.num_rows:
    res[str(k)] = shuffled.select(range(n))
    k += 1; n *= 2
res['all'] = shuffled

res.push_to_hub('yaakov/wikipedia-de-splits')
Downloads last month
2
Edit dataset card