|
|
--- |
|
|
license: apache-2.0 |
|
|
task_categories: |
|
|
- image-to-text |
|
|
language: |
|
|
- en |
|
|
tags: |
|
|
- OCR |
|
|
- KIE |
|
|
- Latex |
|
|
- code |
|
|
size_categories: |
|
|
- 10K<n<100K |
|
|
--- |
|
|
|
|
|
# Latex-KIE Dataset |
|
|
|
|
|
The **Latex-KIE** dataset is a large-scale collection of paired LaTeX formula images and their corresponding LaTeX code. It is specifically designed for training and evaluating models for **Image-to-LaTeX**, **Key Information Extraction (KIE)**, and **Optical Character Recognition (OCR)** tasks in scientific domains. |
|
|
|
|
|
--- |
|
|
|
|
|
## 📊 Dataset Summary |
|
|
|
|
|
- **Images**: Rendered LaTeX math formulas (black text on white background) |
|
|
- **Text**: Corresponding raw LaTeX code for each image |
|
|
- **Split**: `train` |
|
|
- **Total Samples**: 92,057 |
|
|
- **Format**: Parquet (`.parquet`) |
|
|
- **Size**: ~439 MB |
|
|
|
|
|
--- |
|
|
|
|
|
## 🧾 Data Fields |
|
|
|
|
|
Each data sample consists of: |
|
|
|
|
|
| Column | Type | Description | |
|
|
|----------------|------------|------------------------------------------| |
|
|
| `image` | Image | Rendered image of the LaTeX formula | |
|
|
| `latex_formula`| `string` | Corresponding LaTeX string representation| |
|
|
|
|
|
--- |
|
|
|
|
|
## 📂 Example |
|
|
|
|
|
```json |
|
|
{ |
|
|
"image": "<Rendered Image of LaTeX>", |
|
|
"latex_formula": "\\begin{align*} L_{N,M,N} = \\frac{1}{N^d} \\sum ... \\end{align*}" |
|
|
} |
|
|
``` |
|
|
|
|
|
--- |
|
|
|
|
|
## 🧠 Use Cases |
|
|
|
|
|
This dataset is intended for: |
|
|
|
|
|
- Training models for **Image-to-LaTeX generation** |
|
|
- Key Information Extraction (KIE) from scientific formulas |
|
|
- Benchmarking OCR models on scientific/math notation |
|
|
- Pretraining/fine-tuning Transformer or CNN-based encoders for math-to-text generation |
|
|
|
|
|
--- |