Datasets:
English subset isnt here?
Cant find it but is listed in dataset card..
Hey, thanks for checking out the project!
The english config is definitely there. You can load it with this snippet (it's a big one!)
dataset = load_dataset("omarkamali/wikipedia-monthly", "latest.en", split="train")
Here's a preview:
- latest.en (points to the latest dump): https://huggingface.co/datasets/omarkamali/wikipedia-monthly/viewer/latest.en
- 20250702.en: https://huggingface.co/datasets/omarkamali/wikipedia-monthly/viewer/20250702.en
Some dumps from August are not uploaded yet due to bandwidth issues and so the english dump is from July 2025.
The problem will be hopefully fixed for September's update.
I'm also having the same issue, using datasets==4.5.0:
from datasets import load_dataset
dataset = load_dataset("omarkamali/wikipedia-monthly", "latest.en", split="train", cache_dir=os.getenv("HF_DATASETS_DIR"))
Traceback (most recent call last):
File "", line 1, in
NameError: name 'os' is not defined. Did you forget to import 'os'?
import os
dataset = load_dataset("omarkamali/wikipedia-monthly", "latest.en", split="train", cache_dir=os.getenv("HF_DATASETS_DIR"))
Traceback (most recent call last):
File "", line 1, in
File "~ /scratch/envs/FP_Hallucination/.venv/lib/python3.12/site-packages/datasets/load.py", line 1488, in load_dataset
builder_instance = load_dataset_builder(
^^^^^^^^^^^^^^^^^^^^^
File "~ /scratch/envs/FP_Hallucination/.venv/lib/python3.12/site-packages/datasets/load.py", line 1133, in load_dataset_builder
dataset_module = dataset_module_factory(
^^^^^^^^^^^^^^^^^^^^^^^
File "~ /scratch/envs/FP_Hallucination/.venv/lib/python3.12/site-packages/datasets/load.py", line 1026, in dataset_module_factory
raise e1 from None
File "~ /scratch/envs/FP_Hallucination/.venv/lib/python3.12/site-packages/datasets/load.py", line 1007, in dataset_module_factory
).get_module()
^^^^^^^^^^^^
File "~ /scratch/envs/FP_Hallucination/.venv/lib/python3.12/site-packages/datasets/load.py", line 640, in get_module
module_name, default_builder_kwargs = infer_module_for_data_files(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "~ /scratch/envs/FP_Hallucination/.venv/lib/python3.12/site-packages/datasets/load.py", line 301, in infer_module_for_data_files
raise DataFilesNotFoundError("No (supported) data files found" + (f" in {path}" if path else ""))
datasets.exceptions.DataFilesNotFoundError: No (supported) data files found in omarkamali/wikipedia-monthly
Hey @shenranw , please see this thread for a temporary resolution: https://huggingface.co/datasets/omarkamali/wikipedia-monthly/discussions/5
Full fix coming soon
That works, thank you!