fixed dataset with original images

#2
by Kshetrajna - opened
README.md CHANGED
@@ -1,19 +1,4 @@
1
  ---
2
- license: apache-2.0
3
- task_categories:
4
- - image-classification
5
- - text-classification
6
- - zero-shot-classification
7
- tags:
8
- - e-commerce
9
- - product-categorization
10
- - taxonomy
11
- - multimodal
12
- - shopify
13
- - retail
14
- - product-catalog
15
- size_categories:
16
- - 10K<n<100K
17
  dataset_info:
18
  features:
19
  - name: product_title
@@ -32,13 +17,13 @@ dataset_info:
32
  dtype: string
33
  splits:
34
  - name: train
35
- num_bytes: 7425492387
36
- num_examples: 38631
37
  - name: test
38
- num_bytes: 2085920280
39
- num_examples: 9658
40
- download_size: 9496974081
41
- dataset_size: 9511412667
42
  configs:
43
  - config_name: default
44
  data_files:
@@ -47,127 +32,3 @@ configs:
47
  - split: test
48
  path: data/test-*
49
  ---
50
-
51
- # The Catalogue: Product Taxonomy Classification Benchmark
52
-
53
- A large-scale, multimodal benchmark dataset for product taxonomy classification, featuring real e-commerce products with images, descriptions, and hierarchical category labels.
54
-
55
- ## Dataset Description
56
-
57
- **The Catalogue** is a benchmark dataset designed to evaluate AI models on the task of classifying products into a standardized taxonomy. Each sample includes a product image, title, description, brand, and the ground-truth category from Shopify's product taxonomy.
58
-
59
- This dataset is ideal for:
60
- - Evaluating vision-language models on real-world product classification
61
- - Benchmarking multimodal understanding in e-commerce contexts
62
- - Testing hierarchical classification capabilities
63
- - Comparing different approaches to product categorization
64
-
65
- ### Dataset Statistics
66
-
67
- | Metric | Value |
68
- |--------|-------|
69
- | Total samples | 48,289 |
70
- | Unique categories | 10,476 |
71
- | Unique brands | 28,913 |
72
- | Products with descriptions | 92.9% |
73
- | Products with brand | 98.2% |
74
- | Average category depth | 4.5 levels |
75
- | Category depth range | 1-8 levels |
76
-
77
- ### Top-Level Category Distribution
78
-
79
- | Category | Count | Percentage |
80
- |----------|-------|------------|
81
- | Home & Garden | 7,912 | 16.4% |
82
- | Sporting Goods | 6,968 | 14.4% |
83
- | Arts & Entertainment | 5,558 | 11.5% |
84
- | Hardware | 5,137 | 10.6% |
85
- | Vehicles & Parts | 2,555 | 5.3% |
86
- | Business & Industrial | 2,435 | 5.0% |
87
- | Electronics | 2,344 | 4.9% |
88
- | Apparel & Accessories | 2,173 | 4.5% |
89
- | Health & Beauty | 2,162 | 4.5% |
90
- | Food, Beverages & Tobacco | 2,036 | 4.2% |
91
- | Animals & Pet Supplies | 1,922 | 4.0% |
92
- | Furniture | 1,707 | 3.5% |
93
- | Baby & Toddler | 1,226 | 2.5% |
94
- | Toys & Games | 1,153 | 2.4% |
95
- | Office Supplies | 1,129 | 2.3% |
96
- | Cameras & Optics | 967 | 2.0% |
97
- | Other | 900 | 1.9% |
98
-
99
- ## Dataset Structure
100
-
101
- ### Data Fields
102
-
103
- | Field | Type | Description |
104
- |-------|------|-------------|
105
- | `product_title` | string | Product title |
106
- | `product_description` | string | Product description (may be empty) |
107
- | `product_image` | Image | Product image |
108
- | `potential_product_categories` | list[string] | Candidate category paths |
109
- | `ground_truth_brand` | string | Brand name (may be empty) |
110
- | `ground_truth_is_secondhand` | boolean | Whether the product is secondhand |
111
- | `ground_truth_category` | string | Ground truth category path |
112
-
113
- ### Category Format
114
-
115
- Categories follow a hierarchical path format:
116
- ```
117
- Electronics > Computers > Laptops
118
- Home & Garden > Kitchen & Dining > Cookware
119
- ```
120
-
121
- ### Data Splits
122
-
123
- | Split | Samples | Percentage |
124
- |-------|---------|------------|
125
- | Train | 38,631 | 80% |
126
- | Test | 9,658 | 20% |
127
-
128
- ## Usage
129
-
130
- ```python
131
- from datasets import load_dataset
132
-
133
- dataset = load_dataset("Shopify/product-catalogue")
134
-
135
- # Access splits
136
- train_data = dataset["train"]
137
- test_data = dataset["test"]
138
-
139
- # Example
140
- sample = train_data[0]
141
- print(f"Title: {sample['product_title']}")
142
- print(f"Category: {sample['ground_truth_category']}")
143
- sample['product_image'].show()
144
- ```
145
-
146
- ## Evaluation
147
-
148
- The primary task is to predict the `ground_truth_category` given the product's image, title, and optionally description/brand.
149
-
150
- Suggested metrics:
151
- - Hierarchical F1 for categories
152
- - Precision and recall for brand and is_secondhand
153
-
154
- ## Source
155
-
156
- Products were sampled from Shopify's merchant catalog, representing real e-commerce products across diverse categories and industries.
157
-
158
- ## License
159
-
160
- Apache 2.0
161
-
162
- ## Citation
163
-
164
- ```bibtex
165
- @dataset{product-catalogue,
166
- title={The Catalogue: Product Taxonomy Classification Benchmark},
167
- author={Shopify},
168
- year={2025},
169
- publisher={Hugging Face},
170
- url={https://huggingface.co/datasets/Shopify/the-catalogue-public-beta}
171
- }
172
- ```
173
-
 
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
  features:
4
  - name: product_title
 
17
  dtype: string
18
  splits:
19
  - name: train
20
+ num_bytes: 2091545165
21
+ num_examples: 38917
22
  - name: test
23
+ num_bytes: 512186339
24
+ num_examples: 9730
25
+ download_size: 2469913869
26
+ dataset_size: 2603731504
27
  configs:
28
  - config_name: default
29
  data_files:
 
32
  - split: test
33
  path: data/test-*
34
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/{test-00000-of-00005.parquet → test-00000-of-00002.parquet} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7ed14e760d9d879a3fc25aec0466997e068dea3a03fb6db5dc8e85fbad9c7d32
3
- size 421327327
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bf632d0158145577a0961866d84113d80408e18094ad7afaebaae77804620cc
3
+ size 249241197
data/{test-00001-of-00005.parquet → test-00001-of-00002.parquet} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cacdcfcbf608dbe873cb542b7222038a2c0aae86f0016beba3b5fb7d36932141
3
- size 383746612
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ceedd89201855bc0d89490ea01cdd43c81b33552712e7f271e43875660e9db93
3
+ size 247200812
data/test-00004-of-00005.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f638327f84ad749dee73a7ad867ddf9146c877c2a81119e5bd77f2770351ffdf
3
- size 354477773
 
 
 
 
data/{test-00002-of-00005.parquet → train-00000-of-00005.parquet} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9a46ffd4a6dafa8f2bfc03ded46da5d65cedaed0d41f70523f84f3b3a166086e
3
- size 377646277
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d91640b0ffdfbef90bb0da4c2c216bbf798c939b04d13b27e76c8a043f2b2f01
3
+ size 399284005
data/train-00000-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6ecb8da7f551ef0fbda305f6352ce4e96ac43f1c02d26bbf4870a52d6f458f88
3
- size 503726506
 
 
 
 
data/{test-00003-of-00005.parquet → train-00001-of-00005.parquet} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9bbd69012d2a586daf4917cc600282515de9e1cecc1bd8462c50da73347bb2c0
3
- size 380444166
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:842dcd2ee9ca39c3c1a84a807e1c035af4be14cda5e0ba31f9ee7c1c6c9f7bad
3
+ size 392510433
data/train-00001-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3269d7159c99e6b9fc8d76ef8bea8582b1d58a142de298dcceae3a60c66fdce9
3
- size 520278040
 
 
 
 
data/train-00002-of-00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:082cf8b440075b9ed7623526cfa06f1e38aefc7151f5955465fbb6c736780205
3
+ size 396746227
data/train-00002-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e97aa615f8fddf6ac62bf1c3324f87b5870976cb8d0877965203c6587ebacd3a
3
- size 515239613
 
 
 
 
data/train-00003-of-00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16f2199171197adcb46324e78fcfb4f1c59f69f8236c934a7c3b5d04bf81abda
3
+ size 393166550
data/train-00003-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9528c96850c2ead086079b9ae45fefcd25959ef6a0ef63e0f3bbceb634d3f91
3
- size 497497890
 
 
 
 
data/train-00004-of-00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c590bf45e1cc89ba63f39a8a35a7cf67383df4accadd873ca1f3c759cb9fa74
3
+ size 391764645
data/train-00004-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:40cf0825f7e360c9ce0cb003d6877b6e2b6356b6a4b850abf768abc601cd18ef
3
- size 515621914
 
 
 
 
data/train-00005-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d2b7917ab4ff829c8e85865deaeb543b81e24b0677f4a545328cb13d760186f0
3
- size 490269450
 
 
 
 
data/train-00006-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:168673f56658ec6b00c8a46eb2fad3d8232316ffa4e373904ce3e90bb9363d79
3
- size 547480337
 
 
 
 
data/train-00007-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4581750598636dbc7f100aa0a2842ab5107913e48b6a329fcfd14483b978dc33
3
- size 478866637
 
 
 
 
data/train-00008-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1489d1ae712b8fcb039b3eba998caec6f839414d3b188b49a6a5c3ca696cf151
3
- size 505629872
 
 
 
 
data/train-00009-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a106666138311260ec7ab226931b6a564098f905e3b474043bc11b308b005aa7
3
- size 484171932
 
 
 
 
data/train-00010-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:72537642ebf2c5121c08ae643817559c11934e0434cb9c0f1663284bd615419b
3
- size 521487950
 
 
 
 
data/train-00011-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9307d2c68872ea63022b83466664567c49dbf86d443977339461f8d51096d83f
3
- size 514457271
 
 
 
 
data/train-00012-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:477f1b00e7cccb13c90019dad41148735dc93b9e1f3e7e6027a4a0dcc37dfe40
3
- size 508913925
 
 
 
 
data/train-00013-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cffd7398de2ee8568139da4857f3278bdf114e374bed8bf7e86fb56211847f49
3
- size 477681393
 
 
 
 
data/train-00014-of-00015.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6b699ef6f1dad92883ff366728af91d0b40ebdaf508d3f0c0aefd8cf257336a0
3
- size 498009196