|
|
--- |
|
|
dataset_info: |
|
|
- config_name: interactions |
|
|
features: |
|
|
- name: user_id |
|
|
dtype: string |
|
|
- name: item_id |
|
|
dtype: string |
|
|
- name: interaction_type |
|
|
dtype: string |
|
|
- name: date |
|
|
dtype: string |
|
|
splits: |
|
|
- name: train |
|
|
num_bytes: 9081719 |
|
|
num_examples: 132121 |
|
|
- name: valid |
|
|
num_bytes: 725995 |
|
|
num_examples: 10565 |
|
|
- name: test |
|
|
num_bytes: 1489701 |
|
|
num_examples: 21679 |
|
|
download_size: 3059860 |
|
|
dataset_size: 11297415 |
|
|
- config_name: items |
|
|
features: |
|
|
- name: item_id |
|
|
dtype: string |
|
|
- name: master_category |
|
|
dtype: string |
|
|
- name: product_name |
|
|
dtype: string |
|
|
- name: price |
|
|
dtype: float64 |
|
|
- name: image |
|
|
dtype: image |
|
|
- name: release_date |
|
|
dtype: string |
|
|
- name: dominant_color |
|
|
dtype: string |
|
|
splits: |
|
|
- name: train |
|
|
num_bytes: 2930524512.326 |
|
|
num_examples: 114806 |
|
|
- name: valid |
|
|
num_bytes: 248537470.71 |
|
|
num_examples: 9070 |
|
|
- name: test |
|
|
num_bytes: 481070281.368 |
|
|
num_examples: 18604 |
|
|
download_size: 3736549854 |
|
|
dataset_size: 3660132264.4040003 |
|
|
- config_name: kits |
|
|
features: |
|
|
- name: kit_id |
|
|
dtype: string |
|
|
- name: kit_name |
|
|
dtype: string |
|
|
- name: description |
|
|
dtype: string |
|
|
- name: user_id |
|
|
dtype: string |
|
|
- name: image |
|
|
dtype: image |
|
|
- name: views |
|
|
dtype: int64 |
|
|
- name: likes |
|
|
dtype: int64 |
|
|
- name: date |
|
|
dtype: string |
|
|
splits: |
|
|
- name: train |
|
|
num_bytes: 1529711480.552 |
|
|
num_examples: 17316 |
|
|
- name: valid |
|
|
num_bytes: 140910966.145 |
|
|
num_examples: 1497 |
|
|
- name: test |
|
|
num_bytes: 286390717.904 |
|
|
num_examples: 3076 |
|
|
download_size: 1950241338 |
|
|
dataset_size: 1957013164.601 |
|
|
- config_name: user_profiles |
|
|
features: |
|
|
- name: user_id |
|
|
dtype: string |
|
|
- name: preferred_colors |
|
|
list: string |
|
|
- name: preferred_categories |
|
|
list: string |
|
|
splits: |
|
|
- name: train |
|
|
num_bytes: 343252 |
|
|
num_examples: 3463 |
|
|
- name: valid |
|
|
num_bytes: 29869 |
|
|
num_examples: 299 |
|
|
- name: test |
|
|
num_bytes: 61432 |
|
|
num_examples: 615 |
|
|
download_size: 65211 |
|
|
dataset_size: 434553 |
|
|
- config_name: users |
|
|
features: |
|
|
- name: user_id |
|
|
dtype: string |
|
|
- name: user_name |
|
|
dtype: string |
|
|
splits: |
|
|
- name: train |
|
|
num_bytes: 96964 |
|
|
num_examples: 3463 |
|
|
- name: valid |
|
|
num_bytes: 8372 |
|
|
num_examples: 299 |
|
|
- name: test |
|
|
num_bytes: 17220 |
|
|
num_examples: 615 |
|
|
download_size: 59204 |
|
|
dataset_size: 122556 |
|
|
configs: |
|
|
- config_name: interactions |
|
|
data_files: |
|
|
- split: train |
|
|
path: interactions/train-* |
|
|
- split: valid |
|
|
path: interactions/valid-* |
|
|
- split: test |
|
|
path: interactions/test-* |
|
|
- config_name: items |
|
|
data_files: |
|
|
- split: train |
|
|
path: items/train-* |
|
|
- split: valid |
|
|
path: items/valid-* |
|
|
- split: test |
|
|
path: items/test-* |
|
|
- config_name: kits |
|
|
data_files: |
|
|
- split: train |
|
|
path: kits/train-* |
|
|
- split: valid |
|
|
path: kits/valid-* |
|
|
- split: test |
|
|
path: kits/test-* |
|
|
- config_name: user_profiles |
|
|
data_files: |
|
|
- split: train |
|
|
path: user_profiles/train-* |
|
|
- split: valid |
|
|
path: user_profiles/valid-* |
|
|
- split: test |
|
|
path: user_profiles/test-* |
|
|
- config_name: users |
|
|
data_files: |
|
|
- split: train |
|
|
path: users/train-* |
|
|
- split: valid |
|
|
path: users/valid-* |
|
|
- split: test |
|
|
path: users/test-* |
|
|
--- |
|
|
=====================README==================== |
|
|
|
|
|
## Polyvore-1000 Dataset |
|
|
|
|
|
Welcome! I am Waly NGOM, PhD in Mathematics and passionate about Artificial Intelligence. This repository contains Polyvore-1000, a dataset designed for personalized recommendation in the fashion domain. |
|
|
|
|
|
Polyvore-1000 builds upon the Polyvore-U splits introduced by Han et al. (2017) and benefits from the complementary work of Lu et al. (CVPR 2019), who proposed an innovative binary-code based approach for efficient outfit recommendation. |
|
|
|
|
|
### Data Structure |
|
|
|
|
|
a. Available splits: train, valid, test (same proportions as Polyvore-U: 17,316 / 1,497 / 3,076 outfits). |
|
|
|
|
|
b. Configurations: |
|
|
|
|
|
items: detailed item data |
|
|
|
|
|
kits: information on each outfit |
|
|
|
|
|
users: synthetic user identifiers |
|
|
|
|
|
interactions: interactions between users and items (outfit composition, views, likes) |
|
|
|
|
|
user_profiles: aggregated user interaction profiles |
|
|
|
|
|
### Images |
|
|
|
|
|
Images are organized in images/<kit_id>/: |
|
|
|
|
|
- 0.jpg → outfit (kit) image |
|
|
|
|
|
- 1.jpg, 2.jpg, … → images corresponding to the items of the kit, in the order given by the JSON data |
|
|
|
|
|
## Hugging Face Authentication |
|
|
|
|
|
In a notebook or Python script: |
|
|
|
|
|
from huggingface_hub import login |
|
|
import os |
|
|
|
|
|
login(token=os.getenv("HF_TOKEN")) |
|
|
|
|
|
## Usage |
|
|
|
|
|
To load these datasets: |
|
|
|
|
|
from datasets import load_dataset |
|
|
|
|
|
items_ds = load_dataset("codewaly/polyvore1000", "items", split="train") |
|
|
|
|
|
kits_ds = load_dataset("codewaly/polyvore1000", "kits", split="train") |
|
|
|
|
|
users_ds = load_dataset("codewaly/polyvore1000", "users", split="train") |
|
|
|
|
|
interactions_ds = load_dataset("codewaly/polyvore1000", "interactions", split="train") |
|
|
|
|
|
user_profiles_ds = load_dataset("codewaly/polyvore1000", "user_profiles", split="train") |
|
|
|
|
|
## References |
|
|
|
|
|
1. Han, X., et al. (2017). Learning Fashion Compatibility with Bidirectional LSTMs. ACM Multimedia. |
|
|
|
|
|
2. Lu, Z., et al. (2019). Learning Binary Code for Personalized Fashion Recommendation. CVPR. |
|
|
|
|
|
|