Datasets:
File size: 5,843 Bytes
dc30b1f 3609128 dc30b1f f83917c 5620019 94d4b1e f83917c dc30b1f 002f356 2e9ecb0 9b164f0 27a0da1 2d99fed bacb64a 02bfe87 14fb5af 4d12cd9 3b15094 c54507d dc30b1f f83917c 5620019 94d4b1e dc30b1f 20b27e4 0d11cea 16ff2ad 4567b2b 4852b97 02bfe87 14fb5af c7c7865 4ee64a2 2dc10f6 dc30b1f 2dc10f6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 | ---
language:
- en
- vi
license: apache-2.0
size_categories:
- 10K<n<100K
task_categories:
- image-to-image
pretty_name: NomGenie - Font Diffusion for Sino-Nom Language
dataset_info:
- config_name: comparison
features:
- name: character
dtype: string
- name: style
dtype: string
- name: font
dtype: string
- name: content_image
dtype: image
- name: style_image
dtype: image
- name: target_image
dtype: image
- name: comparison_image
dtype: image
- name: content_hash
dtype: string
- name: target_hash
dtype: string
splits:
- name: handwritten_original
num_bytes: 9235671096
num_examples: 75512
- name: handwritten_val
num_bytes: 125036866
num_examples: 943
- name: handwritten_train
num_bytes: 7186472967
num_examples: 59472
download_size: 14752106451
dataset_size: 16547180929
- config_name: default
features:
- name: character
dtype: string
- name: style
dtype: string
- name: font
dtype: string
- name: content_image
dtype: image
- name: target_image
dtype: image
- name: content_hash
dtype: string
- name: target_hash
dtype: string
splits:
- name: train_original
num_bytes: 583130879
num_examples: 41245
- name: train
num_bytes: 21425838
num_examples: 1732
- name: val
num_bytes: 1090108
num_examples: 86
- name: handwritten_original
num_bytes: 970527402
num_examples: 75512
- name: handwritten_train
num_bytes: 765653543
num_examples: 59472
- name: handwritten_val
num_bytes: 11967171
num_examples: 943
download_size: 30344615849
dataset_size: 2353794941
- config_name: fourier
features:
- name: character
dtype: string
- name: style
dtype: string
- name: font
dtype: string
- name: content_image
dtype: image
- name: style_image
dtype: image
- name: target_image
dtype: image
- name: comparison_image
dtype: image
- name: content_hash
dtype: string
- name: target_hash
dtype: string
splits:
- name: total
num_bytes: 1254547987
num_examples: 27960
download_size: 897988686
dataset_size: 1254547987
- config_name: streaming
features:
- name: character
dtype: string
- name: style
dtype: string
- name: font
dtype: string
- name: content_image
dtype: image
- name: style_image
dtype: image
- name: target_image
dtype: image
- name: comparison_image
dtype: image
- name: content_hash
dtype: string
- name: target_hash
dtype: string
splits:
- name: train
num_bytes: 2794896921
num_examples: 61236
- name: val
num_bytes: 33483349
num_examples: 752
- name: total
num_bytes: 3440080525
num_examples: 75560
download_size: 36084952999
dataset_size: 6275047388
configs:
- config_name: comparison
data_files:
- split: handwritten_original
path: comparison/handwritten_original-*
- split: handwritten_val
path: comparison/handwritten_val-*
- split: handwritten_train
path: comparison/handwritten_train-*
- config_name: default
data_files:
- split: train_original
path: data/train_original-*
- split: train
path: data/train-*
- split: val
path: data/val-*
- split: handwritten_original
path: data/handwritten_original-*
- split: handwritten_train
path: data/handwritten_train-*
- split: handwritten_val
path: data/handwritten_val-*
- config_name: fourier
data_files:
- split: total
path: fourier/total-*
- config_name: streaming
data_files:
- split: total
path: streaming/total-*
- split: val
path: streaming/val-*
- split: train
path: streaming/train-*
tags:
- font
- diffusion
- deep-learning
- computer-vision
---
# NomGenie: Font Diffusion for Sino-Nom Language
**NomGenie** is a specialized image-to-image dataset designed for font generation and style transfer within the **Sino-Nom (Hán-Nôm)** script system. This dataset facilitates the training of deep learning models—particularly Diffusion Models and GANs—to preserve the historical and structural integrity of Vietnamese Nom characters while applying diverse typographic styles.
## Dataset Description
The dataset consists of paired images: a **content image** (representing the skeletal or standard structure of a character) and a **target image** (representing the character rendered in a specific artistic or historical font style).
### Key Features
* **character**: The specific Sino-Nom character represented.
* **style/font**: Metadata identifying the aesthetic transformation applied.
* **content_image**: The source glyph used as the structural reference.
* **target_image**: The ground truth stylized glyph for model supervision.
* **Hashing**: `content_hash` and `target_hash` are provided to ensure data integrity and assist in deduplication.
## Dataset Structure
### Data Splits
The dataset is organized into three distinct splits to support various training stages:
| Split | Examples | Size | Description |
| :--- | :--- | :--- | :--- |
| **train_original** | 8,235 | 124.79 MB | The full original training set. |
| **train** | 5,172 | 79.72 MB | A curated subset optimized for standard training. |
| **val** | 318 | 4.48 MB | Validation set for hyperparameter tuning and evaluation. |
## Quick Start
To use this dataset with the Hugging Face `datasets` library:
```python
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("path/to/NomGenie")
# Access a training sample
sample = dataset['train'][0]
display(sample['content_image'])
display(sample['target_image'])
## Technical Details
- Task Category: image-to-image
- Languages: Vietnamese (vi), English (en)
- License: Apache 2.0
- Primary Use Case: Generative AI for cultural heritage preservation and digital typography. |