Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -33,6 +33,43 @@ configs:
|
|
| 33 |
- split: val
|
| 34 |
path: data/val-*
|
| 35 |
---
|
| 36 |
-
# Dataset Card for
|
| 37 |
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
- split: val
|
| 34 |
path: data/val-*
|
| 35 |
---
|
| 36 |
+
# Dataset Card for MathWriting
|
| 37 |
|
| 38 |
+
## Dataset Summary
|
| 39 |
+
|
| 40 |
+
The **MathWriting** dataset contains online handwritten mathematical expressions collected through a prompted interface and rendered to RGB images. It consists of **230,000 human-written expressions**, each paired with its corresponding LaTeX string. The dataset is intended to support research in **online and offline handwritten mathematical expression (HME) recognition**.
|
| 41 |
+
|
| 42 |
+
Key features:
|
| 43 |
+
|
| 44 |
+
- Online handwriting converted to rendered RGB images.
|
| 45 |
+
- Each sample is labeled with a LaTeX expression.
|
| 46 |
+
- Includes splits: `train`, `val`, and `test`.
|
| 47 |
+
- All samples in this release are **human-written** (no synthetic data).
|
| 48 |
+
- Image preprocessing includes resizing (max dimension ≤ 512 px), stroke width jitter, and subtle color perturbations.
|
| 49 |
+
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+
## Supported Tasks and Leaderboards
|
| 53 |
+
|
| 54 |
+
**Primary Task:**
|
| 55 |
+
- *Handwritten Mathematical Expression Recognition (HMER)*: Given an image of a handwritten formula, predict its LaTeX representation.
|
| 56 |
+
|
| 57 |
+
This dataset is also suitable for:
|
| 58 |
+
- Offline HME recognition (from rendered images).
|
| 59 |
+
- Sequence modeling and encoder-decoder learning.
|
| 60 |
+
- Symbol layout analysis and parsing in math.
|
| 61 |
+
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
+
## Dataset Structure
|
| 65 |
+
|
| 66 |
+
Each example has the following structure:
|
| 67 |
+
|
| 68 |
+
```python
|
| 69 |
+
{
|
| 70 |
+
'image': <PIL.Image.Image in RGB mode>,
|
| 71 |
+
'latex': str, # the latex string"
|
| 72 |
+
'sample_id': str, # unique identifier
|
| 73 |
+
'split_tag': str, # "train", "val", or "test"
|
| 74 |
+
'data_type': str, # always "human" in this version
|
| 75 |
+
}
|