Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -73,3 +73,40 @@ Each example has the following structure:
|
|
73 |
'split_tag': str, # "train", "val", or "test"
|
74 |
'data_type': str, # always "human" in this version
|
75 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
'split_tag': str, # "train", "val", or "test"
|
74 |
'data_type': str, # always "human" in this version
|
75 |
}
|
76 |
+
```
|
77 |
+
|
78 |
+
All samples are rendered from digital ink into JPEG images with randomized stroke width and light RGB variations for augmentation and realism.
|
79 |
+
|
80 |
+
## Usage
|
81 |
+
|
82 |
+
To load the dataset:
|
83 |
+
|
84 |
+
```python
|
85 |
+
from datasets import load_dataset
|
86 |
+
|
87 |
+
ds = load_dataset("deepcopy/MathWriting-Human")
|
88 |
+
sample = ds["train"][0]
|
89 |
+
image = sample["image"]
|
90 |
+
latex = sample["latex"]
|
91 |
+
```
|
92 |
+
|
93 |
+
## Licensing Information
|
94 |
+
|
95 |
+
The dataset is licensed by **Google LLC** under the **Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International** license ([CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)).
|
96 |
+
|
97 |
+
---
|
98 |
+
|
99 |
+
## Citation
|
100 |
+
|
101 |
+
Please cite the following paper if you use this dataset:
|
102 |
+
|
103 |
+
```
|
104 |
+
@misc{gervais2025mathwritingdatasethandwrittenmathematical,
|
105 |
+
title={MathWriting: A Dataset For Handwritten Mathematical Expression Recognition},
|
106 |
+
author={Philippe Gervais and Anastasiia Fadeeva and Andrii Maksai},
|
107 |
+
eprint={2404.10690},
|
108 |
+
archivePrefix={arXiv},
|
109 |
+
primaryClass={cs.CV},
|
110 |
+
url={https://arxiv.org/abs/2404.10690},
|
111 |
+
}
|
112 |
+
```
|