hahminlew commited on
Commit
01e9146
1 Parent(s): 9a005cc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -0
README.md CHANGED
@@ -42,6 +42,17 @@ The format of 'text' is 'category (e.g. outer), product original name (e.g. The
42
 
43
  You can easily construct this dataset and finetune stable diffusion from scratch using [easy-finetuning-stable-diffusion](https://github.com/hahminlew/easy-finetuning-stable-diffusion).
44
 
 
 
 
 
 
 
 
 
 
 
 
45
  ## Citation
46
 
47
  If you use KREAM Product Dataset, please cite it as:
 
42
 
43
  You can easily construct this dataset and finetune stable diffusion from scratch using [easy-finetuning-stable-diffusion](https://github.com/hahminlew/easy-finetuning-stable-diffusion).
44
 
45
+ ## Usage
46
+
47
+ ```
48
+ from datasets import load_dataset
49
+
50
+ dataset = load_dataset("hahminlew/kream-product-blip-captions", split="train")
51
+ sample = dataset[0]
52
+ display(sample["image"].resize((256, 256)))
53
+ print(sample["text"])
54
+ ```
55
+
56
  ## Citation
57
 
58
  If you use KREAM Product Dataset, please cite it as: