VikramSingh178 commited on
Commit
c768c1a
·
verified ·
1 Parent(s): c6f3c53

Update README.md

Browse files

- **Dataset Name**: Products-10k
- **Generated Captions Model**: Salesforce/blip-image-captioning-large
- **Number of Images**: 10,000
- **Image Formats**: JPEG, PNG
- **Captioning Prompt**: "Photography of"
- **Source**: The images are sourced from a variety of product categories.

## Dataset Structure

The dataset is structured as follows:

- **image**: Contains the product images in RGB format.
- **text**: Contains the generated captions for each product image.



## Usage

You can load and use this dataset with the Hugging Face `datasets` library as follows:

```python
from datasets import load_dataset

dataset = load_dataset("VikramSingh178/Products-10k_sample-BLIP-captions", split="train")

# Display an example
example = dataset[0]
image = example["image"]
caption = example["text"]
image.show()
print("Caption:", caption)

```

<cite> products10k_blip-captions,
author = {Vikram Singh},
title = {Products-10k Dataset with BLIP-Generated Captions},
year = {2024},
url = {https://huggingface.co/datasets/VikramSingh178/Products-10k_sample-BLIP-captions},
</cite>

<cite>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -23,4 +23,4 @@ tags:
23
  - art
24
  size_categories:
25
  - 1K<n<10K
26
- ---
 
23
  - art
24
  size_categories:
25
  - 1K<n<10K
26
+ ---