# Dataset viewer not showing subsets?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-viewer-not-showing-subsets%2F168631%3E%5C
**Category:** 🤗Hub\
**Created:** [September 24, 2025, 12:04pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-viewer-not-showing-subsets%2F168631 "2025-09-24T12:04:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![drvenabili](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@drvenabili](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdrvenabili)%5C
**Post date:** [September 24, 2025, 12:04pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-viewer-not-showing-subsets%2F168631%2F1 "2025-09-24T12:04:08Z")

</div>

Hi,

I’m encountering an issue I can’t find the solution to. I have created a dataset ( [iguanodon-ai/kubhist2 · Datasets at Hugging Face](https://huggingface.co/datasets/iguanodon-ai/kubhist2) ).

It has one split (train) but several configs, and for doing so I have followed the documentation here: [Structure your repository](https://huggingface.co/docs/datasets/repository_structure#configurations)

```auto
  - config_name: '1710'
    data_files:
      - split: train
        path: data/1710/train/*.parquet
  - config_name: '1720'
    data_files:
      - split: train
        path: data/1720/train/*.parquet

```

The structure is the same as this HF-released dataset ( [HuggingFaceFW/finepdfs at main](https://huggingface.co/datasets/HuggingFaceFW/finepdfs/tree/main) ).

The problem I’m having is that on my dataset the viewer shows only the split and not the subset:

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/c/b/cb3116c9cdab501d83464f18ac936c9dc4236267.png)

but on the HF dataset, the viewer does show all the subsets:

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/6/d/6d12c007a506fe6b969f352c1cb98d24d61ddafc.png)

What is going on? Can someone please enlighten me? Is it because I’m uploading parquet files and the automated parquet-converter tries to change the data?

Thanks!

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 24, 2025, 12:26pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-viewer-not-showing-subsets%2F168631%2F2 "2025-09-24T12:26:31Z")

</div>

Oh. Seems working now ([maybe by your own commit](https://huggingface.co/datasets/iguanodon-ai/kubhist2/commit/eb524ac2df76995dcdedf8d4ba4c7ff780da3685)).

---

<div class="post-metadata">

**Author:** ![drvenabili](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@drvenabili](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdrvenabili)%5C
**Post date:** [September 24, 2025, 12:28pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-viewer-not-showing-subsets%2F168631%2F3 "2025-09-24T12:28:37Z")

</div>

Hi! Thanks but I don’t see it changed – the viewer only shows one split (train), and not the subsets (1640, 1650, 1660, etc.). Can you please provide a screenshot of why you see?

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 24, 2025, 12:31pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-viewer-not-showing-subsets%2F168631%2F4 "2025-09-24T12:31:13Z")

</div>

> the viewer only shows one split (train), and not the subsets (1640, 1650, 1660, etc.)

sure…

 ![dsv_test1](https://us1.discourse-cdn.com/hellohellohello/original/3X/c/7/c715941f4536b72a292fdb7c562ef0f82e6857e6.png)

---

<div class="post-metadata">

**Author:** ![drvenabili](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@drvenabili](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdrvenabili)%5C
**Post date:** [September 24, 2025, 12:32pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-viewer-not-showing-subsets%2F168631%2F5 "2025-09-24T12:32:55Z")

</div>

Thanks. Unfortunately that’s the issue I don´t understand. I have the same exact config as [HuggingFaceFW/finepdfs · Datasets at Hugging Face](https://huggingface.co/datasets/HuggingFaceFW/finepdfs) (in the README.md) and yet the result is different from them.

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 24, 2025, 12:34pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-viewer-not-showing-subsets%2F168631%2F6 "2025-09-24T12:34:25Z")

</div>

How about this…?

* * *

Why it still shows one subset: your README YAML is using `metadata: dataset_info:` rather than the viewer’s `configs:` schema. The Hub viewer reads `configs:` for subsets. Your README currently lists decades under `metadata → dataset_info`, plus an `all` config marked `default: true`. That does not populate the viewer’s subset dropdown. ([Hugging Face](https://huggingface.co/datasets/iguanodon-ai/kubhist2/blob/main/README.md "README.md · iguanodon-ai/kubhist2 at main"))

Fix precisely:

1. Put a YAML front-matter block at the very top of `README.md` using `configs:`.
2. Keep your `all` entry if you want it as default, but list every decade under `configs:` too.
3. Remove the `metadata:` wrapper. Optional: keep separate `dataset_info:` if you want, but it does not drive the viewer.

Minimal example to paste at the very top of `README.md`:

```yaml
---
configs:
  - config_name: "1640"
    data_files:
      - split: train
        path: data/1640/train/*.parquet
  - config_name: "1650"
    data_files:
      - split: train
        path: data/1650/train/*.parquet
  # …repeat for all decades…
  - config_name: "all"
    default: true
    data_files:
      - split: train
        path: data/all/train/*.parquet
---

```

Reference syntax and behavior are defined in the Hub docs: use `configs:` with `data_files` for manual subsets; this is distinct from the metadata block. ([Hugging Face](https://huggingface.co/docs/hub/en/datasets-data-files-configuration "Data files Configuration"))

If you commit that change to `main`, the viewer should show a “Subset” dropdown with all decades.

---

<div class="post-metadata">

**Author:** ![drvenabili](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@drvenabili](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdrvenabili)%5C
**Post date:** [September 24, 2025, 12:38pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-viewer-not-showing-subsets%2F168631%2F7 "2025-09-24T12:38:51Z")

</div>

That did it! Thank you very much John!

Looks like I failed to edit the heading with migrating from the older dataset\_info to the newer configs, my bad.
