The dataset viewer is not available for this subset.
datasets.builder.__create_fn__.<locals>.__init__() got multiple values for keyword argument 'name'

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

YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

This is an helper script to load an html enterprise dataset into a datasets object

How to use

  1. Download a NS0 dump at https://dumps.wikimedia.org/other/enterprise_html/runs/20230220/

  2. Untar it

For example with:

mkdir enwiki-NS6-20230220-ENTERPRISE-HTML
tar -I pigz -vxf enwiki-NS6-20230220-ENTERPRISE-HTML.json.tar.gz -C enwiki-NS6-20230220-ENTERPRISE-HTML
  1. Load it:
from datasets import load_dataset

local_path=... # Path to directory where you extracted the NS0 dump
shard_id=...

ds = load_dataset(
    "SaulLu/wikipedia_html_enterprise", 
    shard=shard_id, 
    data_dir=local_path
)
Downloads last month
0
Edit dataset card