GUI-Libra/GUI-Libra-8B
9B • Updated
• 33
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
for split_generator in builder._split_generators(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 82, 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 "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
info = get_dataset_config_info(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 291, 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.
This dataset contains:
data/images/: split image archives (*.tar.gz.part-*)data/annotations/: JSON annotation filesgit lfs install
git clone https://huggingface.co/datasets/GUI-Libra/GUI-Libra-81K-SFT
cd GUI-Libra-81K-SFT
After cloning, you should see:
data/images/ containing *.tar.gz.part-*data/annotations/ containing *.json.tar.gz
This will create merged archives under data/images_archives/.
cd data/images
mkdir -p ../images_archives ../images_extracted
for base in $(ls *.tar.gz.part-* | sed -E 's/\.part-[0-9]+$//' | sort -u); do
echo "[MERGE] $base.part-* -> ../images_archives/$base"
cat "${base}".part-* > "../images_archives/${base}"
done
This will extract each archive into a separate directory under data/images_extracted/.
cd ../images_archives
for tgz in *.tar.gz; do
name="${tgz%.tar.gz}"
mkdir -p "../images_extracted/${name}"
echo "[EXTRACT] $tgz -> ../images_extracted/${name}"
tar -xzf "$tgz" -C "../images_extracted/${name}"
done
After extraction, images will be available under:
data/images_extracted/<archive_name>/...import json
from pathlib import Path
ann_dir = Path("data/annotations")
all_json = {}
for p in sorted(ann_dir.glob("*.json")):
with open(p, "r", encoding="utf-8") as f:
all_json[p.name] = json.load(f)
print("Loaded json files:", len(all_json))
print("Example keys:", list(all_json.keys())[:5])
Each *.tar.gz.part-* group must be merged in order before extraction.
If you only need one subset (e.g., gui-odyssey), you can merge/extract only that prefix:
cd data/images
cat gui-odyssey.tar.gz.part-* > ../images_archives/gui-odyssey.tar.gz
tar -xzf ../images_archives/gui-odyssey.tar.gz -C ../images_extracted/gui-odyssey