feat: update dataset card
Browse files
README.md
CHANGED
@@ -1,3 +1,54 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
|
5 |
+
# GlyphByT5 Pretraining
|
6 |
+
|
7 |
+
|
8 |
+
This is the pretraining data for [Glyph-ByT5](https://glyph-byt5.github.io/).
|
9 |
+
|
10 |
+
## Dataset Details
|
11 |
+
|
12 |
+
> [**Glyph-ByT5: A Customized Text Encoder for Accurate Visual Text Rendering**](https://glyph-byt5.github.io/)
|
13 |
+
> [Zeyu Liu](https://github.com/lzy-tony), [Weicong Liang](https://scholar.google.com/citations?user=QvHDIygAAAAJ&hl=zh-CN), [Zhanhao Liang](https://github.com/RockeyCoss),
|
14 |
+
[Chong Luo](https://www.microsoft.com/en-us/research/people/cluo/), [Ji Li](https://sites.google.com/a/usc.edu/jili/), [Gao Huang](https://www.gaohuang.net/), [Yuhui Yuan](https://www.microsoft.com/en-us/research/people/yuyua/)
|
15 |
+
> Microsoft Research Asia; Tsinghua University; Peking University; The Australian National University
|
16 |
+
> Preprint
|
17 |
+
|
18 |
+
### Dataset Description
|
19 |
+
|
20 |
+
- **Repository:** [https://github.com/AIGText/Glyph-ByT5]
|
21 |
+
- **Paper:** [https://arxiv.org/abs/2403.09622]
|
22 |
+
- **Project Page:** [https://glyph-byt5.github.io/]
|
23 |
+
|
24 |
+
## Dataset Structure
|
25 |
+
|
26 |
+
This dataset contains a json file containing the annotation file needed for Glyph-ByT5 pretraining. The json file is organized as a list of dicts. Each dict contains the following fields:
|
27 |
+
|
28 |
+
**Note: As font family and color are randomly selected during pretraining, 'color' and 'font-family' fields are None and later filled randomly in the corresponding dataset code.**
|
29 |
+
|
30 |
+
```
|
31 |
+
{
|
32 |
+
'texts': [
|
33 |
+
text_1,
|
34 |
+
...
|
35 |
+
text_k,
|
36 |
+
],
|
37 |
+
'styles': [
|
38 |
+
{
|
39 |
+
'color': color_1,
|
40 |
+
'font-family': 'font_1',
|
41 |
+
},
|
42 |
+
...
|
43 |
+
{
|
44 |
+
'color': color_k,
|
45 |
+
'font-family': 'font_k',
|
46 |
+
},
|
47 |
+
],
|
48 |
+
'bbox': [
|
49 |
+
[x1, y1, w1, h1, a1],
|
50 |
+
...
|
51 |
+
[xk, yk, wk, hk, ak],
|
52 |
+
]
|
53 |
+
}
|
54 |
+
```
|