File size: 1,808 Bytes
59c968a
 
bcf01b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59c968a
bcf01b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
---
license: cc0-1.0
task_categories:
- image-classification
tags:
- image
- synthetic
- imagefolder
size_categories:
- n<1K
configs:
- config_name: full
  default: true
  metadata_filenames:
  - full_train.csv
  - full_val.csv
  - full_test.csv
  data_files:
  - split: train
    path:
    - images/*.webp
    - full_train.csv
  - split: validation
    path:
    - images/*.webp
    - full_val.csv
  - split: test
    path:
    - images/*.webp
    - full_test.csv
- config_name: core
  metadata_filenames:
  - core_train.csv
  - core_val.csv
  - core_test.csv
  data_files:
  - split: train
    path:
    - images/*.webp
    - core_train.csv
  - split: validation
    path:
    - images/*.webp
    - core_val.csv
  - split: test
    path:
    - images/*.webp
    - core_test.csv
---

# Tiny overlapping ImageFolder demo

A tiny synthetic repository for testing Hugging Face Dataset Viewer.

- 12 lossless WebP images, each exactly 128×128.
- `full`: 8 train, 2 validation, 2 test.
- `core`: 4 train, 1 validation, 1 test.
- `core` is a subset of `full`.
- Images exist once in `images/`.
- `manifest.csv` is the canonical manifest.
- `splits/` contains lightweight source indices.
- Root `full_*.csv` and `core_*.csv` are materialized metadata files used by ImageFolder.

## Expected Viewer

The Viewer should show:

- subsets: `full`, `core`
- splits: `train`, `validation`, `test`
- an `image` column with thumbnails
- metadata such as `shape`, `background`, and `caption`

## Load

```python
from datasets import load_dataset

full = load_dataset("YOUR_USERNAME/YOUR_DATASET", "full")
core = load_dataset("YOUR_USERNAME/YOUR_DATASET", "core")
```

## Upload

Run from this directory:

```bash
pip install -U huggingface_hub
hf auth login
hf upload YOUR_USERNAME/YOUR_DATASET . . --repo-type=dataset
```