Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,4 +11,57 @@ tags:
|
|
| 11 |
- code
|
| 12 |
size_categories:
|
| 13 |
- 10K<n<100K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
|
|
|
| 11 |
- code
|
| 12 |
size_categories:
|
| 13 |
- 10K<n<100K
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
Here's a suggested `README.md` for your Hugging Face dataset repository based on the dataset name, structure, and sample content from the screenshot:
|
| 17 |
+
|
| 18 |
+
---
|
| 19 |
+
# Latex-KIE Dataset
|
| 20 |
+
|
| 21 |
+
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.
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
## 📊 Dataset Summary
|
| 26 |
+
|
| 27 |
+
- **Images**: Rendered LaTeX math formulas (black text on white background)
|
| 28 |
+
- **Text**: Corresponding raw LaTeX code for each image
|
| 29 |
+
- **Split**: `train`
|
| 30 |
+
- **Total Samples**: 92,057
|
| 31 |
+
- **Format**: Parquet (`.parquet`)
|
| 32 |
+
- **Size**: ~439 MB
|
| 33 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## 🧾 Data Fields
|
| 37 |
+
|
| 38 |
+
Each data sample consists of:
|
| 39 |
+
|
| 40 |
+
| Column | Type | Description |
|
| 41 |
+
|----------------|------------|------------------------------------------|
|
| 42 |
+
| `image` | Image | Rendered image of the LaTeX formula |
|
| 43 |
+
| `latex_formula`| `string` | Corresponding LaTeX string representation|
|
| 44 |
+
|
| 45 |
+
---
|
| 46 |
+
|
| 47 |
+
## 📂 Example
|
| 48 |
+
|
| 49 |
+
```json
|
| 50 |
+
{
|
| 51 |
+
"image": "<Rendered Image of LaTeX>",
|
| 52 |
+
"latex_formula": "\\begin{align*} L_{N,M,N} = \\frac{1}{N^d} \\sum ... \\end{align*}"
|
| 53 |
+
}
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
---
|
| 57 |
+
|
| 58 |
+
## 🧠 Use Cases
|
| 59 |
+
|
| 60 |
+
This dataset is intended for:
|
| 61 |
+
|
| 62 |
+
- Training models for **Image-to-LaTeX generation**
|
| 63 |
+
- Key Information Extraction (KIE) from scientific formulas
|
| 64 |
+
- Benchmarking OCR models on scientific/math notation
|
| 65 |
+
- Pretraining/fine-tuning Transformer or CNN-based encoders for math-to-text generation
|
| 66 |
+
|
| 67 |
---
|