Datasets:
add readme
Browse files
README.md
CHANGED
@@ -16,4 +16,27 @@ configs:
|
|
16 |
data_files:
|
17 |
- split: train
|
18 |
path: data/train-*
|
19 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
data_files:
|
17 |
- split: train
|
18 |
path: data/train-*
|
19 |
+
---
|
20 |
+
# GenMoji Dataset
|
21 |
+
|
22 |
+
This repository hosts the **GenMoji Dataset**, a collection of Apple emojis sourced from Emojigraph, along with their respective captions.
|
23 |
+
|
24 |
+
## Dataset Overview
|
25 |
+
|
26 |
+
- **Total Examples:** 3,770
|
27 |
+
- **Features:**
|
28 |
+
- `image`: An emoji image file.
|
29 |
+
- `caption`: A textual description of the emoji.
|
30 |
+
|
31 |
+
## Example Usage
|
32 |
+
To load the dataset, use the Hugging Face `datasets` library:
|
33 |
+
|
34 |
+
```python
|
35 |
+
from datasets import load_dataset
|
36 |
+
dataset = load_dataset("emon-j/genmoji-data")
|
37 |
+
print(dataset)
|
38 |
+
example = dataset['train'][0]
|
39 |
+
print("Caption:", example['caption'])
|
40 |
+
example_image = example['image']
|
41 |
+
example_image.show()
|
42 |
+
```
|