pixxu commited on
Commit
f628eb5
·
verified ·
1 Parent(s): c905f7d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +58 -51
README.md CHANGED
@@ -1,52 +1,59 @@
1
- ---
2
- license: apache-2.0
3
- task_categories:
4
- - text-to-image
5
- language:
6
- - vi
7
- tags:
8
- - text-rendering
9
- - ocr
10
- - synthetic-data
11
- - generative-models
12
- - fine-tuning
13
- size_categories:
14
- - 100K<n<1M
15
- pretty_name: Vietnamese Text Render 500K
16
- ---
17
-
18
- # Vietnamese Text Render 500K Dataset
19
-
20
- A large-scale dataset containing 500K Vietnamese text rendering image-text pairs for training generative models to improve text rendering performance.
21
-
22
- This dataset is still being updated.
23
-
24
- ## Dataset Structure
25
-
26
- - **`image`**: Rendered text image in PNG format
27
- - **`text`**: Corresponding text content
28
- - **`filename`**: Original filename
29
-
30
- ## Usage
31
-
32
- This dataset is designed for fine-tuning generative models to improve text rendering capabilities on Vietnamese language.
33
-
34
- ```python
35
- from datasets import load_dataset
36
-
37
- dataset = load_dataset("pixxu/ViTextRender-500K")
38
- print(dataset)
39
-
40
- # Access a sample
41
- sample = dataset['train'][0]
42
- print(sample['text'])
43
- sample['image'].show()
44
- ```
45
-
46
- ## Applications
47
-
48
- - Fine-tuning text-to-image models for better text rendering on Vietnamese language.
49
-
50
- ## License
51
-
 
 
 
 
 
 
 
52
  Apache License 2.0
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - text-to-image
5
+ language:
6
+ - vi
7
+ tags:
8
+ - text-rendering
9
+ - ocr
10
+ - synthetic-data
11
+ - generative-models
12
+ - fine-tuning
13
+ size_categories:
14
+ - 100K<n<1M
15
+ pretty_name: Vietnamese Text Render 500K
16
+ ---
17
+
18
+ # Vietnamese Text Render 500K Dataset
19
+
20
+ A large-scale dataset containing 500K Vietnamese text rendering image-text pairs for training generative models to improve text rendering performance.
21
+
22
+ This dataset is still being updated.
23
+
24
+ ## Dataset Structure
25
+
26
+ - **`image`**: Rendered text image in PNG format
27
+ - **`text`**: Corresponding text content
28
+ - **`filename`**: Original filename
29
+
30
+ ## Usage
31
+
32
+ This dataset is designed for fine-tuning generative models to improve text rendering capabilities on Vietnamese language.
33
+
34
+ ```python
35
+ from datasets import load_dataset
36
+ from PIL import Image
37
+ from io import BytesIO
38
+
39
+ dataset = load_dataset("pixxu/ViTextRender-500K")
40
+ print(dataset)
41
+
42
+ # Access a sample
43
+ sample = dataset['train'][0]
44
+ print(sample['text'])
45
+ img = Image.open(BytesIO(sample['image']))
46
+ img.show()
47
+
48
+ # If you use Google Colab
49
+ # img = Image.open(BytesIO(sample['image'])).convert("RGB")
50
+ # display(img)
51
+ ```
52
+
53
+ ## Applications
54
+
55
+ - Fine-tuning text-to-image models for better text rendering on Vietnamese language.
56
+
57
+ ## License
58
+
59
  Apache License 2.0