deepcopy commited on
Commit
63353a7
·
verified ·
1 Parent(s): 8091fe5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +70 -2
README.md CHANGED
@@ -32,7 +32,75 @@ configs:
32
  path: data/val-*
33
  - split: test
34
  path: data/test-*
 
 
 
 
 
 
 
 
35
  ---
36
- # Dataset Card for "IBEM-v1-cropped"
37
 
38
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  path: data/val-*
33
  - split: test
34
  path: data/test-*
35
+ task_categories:
36
+ - image-to-text
37
+ tags:
38
+ - latex
39
+ - math
40
+ - ocr
41
+ size_categories:
42
+ - 100K<n<1M
43
  ---
44
+ # IBEM Cropped: Bounding Box Mathematical Expressions from Scientific Pages
45
 
46
+ A processed version of the **IBEM Dataset** (Anitei et al., 2023), designed for the training and evaluation of image-to-markup models, expression recognition, and related document understanding tasks. Each sample in this dataset consists of a cropped image region containing a **single mathematical expression** (either displayed or embedded), along with its corresponding LaTeX annotations.
47
+
48
+ ## Dataset Summary
49
+
50
+ This dataset is derived from the original **IBEM dataset** by extracting individual mathematical expressions using the provided bounding boxes, and cropping them from their original document pages. All page-level coordinates were specified as percentages and converted to absolute pixel coordinates during cropping.
51
+
52
+ Each record includes:
53
+ - A cropped image of the mathematical expression.
54
+ - The original LaTeX string (`latex`).
55
+ - A normalized LaTeX string (`latex_norm`) with visual formatting removed.
56
+ - The ID of the original page.
57
+ - The expression type (`isolated` or `embedded`).
58
+
59
+ ## Dataset Structure
60
+
61
+ **Features:**
62
+
63
+ ```python
64
+ features = Features({
65
+ "image": Image(),
66
+ "latex": Value("string"),
67
+ "latex_norm": Value("string"),
68
+ "page_id": Value("string"),
69
+ "expr_type": Value("string"),
70
+ })
71
+ ````
72
+
73
+ **Splits:**
74
+
75
+ The dataset is split into standard `train`, `val`, and `test` subsets based on the official partition lists provided by the authors (`Tr*.lst`, `Va*.lst`, `Ts*.lst`).
76
+
77
+ ## Source
78
+
79
+ **Citation:**
80
+
81
+ > Anitei, D., Sánchez, J. A., & Benedí, J. M. (2023). The IBEM Dataset: a large printed scientific image dataset for indexing and searching mathematical expressions (1.0) \[Data set]. Zenodo. [https://doi.org/10.5281/zenodo.7963703](https://doi.org/10.5281/zenodo.7963703)
82
+
83
+ ## Original Dataset Description
84
+
85
+ The IBEM dataset consists of 600 LaTeX documents with a total of 8,272 pages, containing:
86
+
87
+ * **29,603 displayed mathematical expressions**
88
+ * **137,089 embedded mathematical expressions**
89
+
90
+ These were extracted from the LaTeX source files of documents in the **KDD Cup Collection**. The dataset supports a variety of tasks, including:
91
+
92
+ * Mathematical expression detection and extraction
93
+ * LaTeX recognition from printed page images
94
+ * Indexing and search of STEM content in large-scale document archives
95
+
96
+ ## Preprocessing Notes
97
+
98
+ * **Preamble fields** containing LaTeX macros were excluded.
99
+ * All expressions were **cropped** to their respective bounding boxes and stored as image snippets.
100
+ * Only the `latex` and `latex_norm` fields were retained for expression text.
101
+ * Expressions split across multiple lines were treated as-is, using the duplicated complete LaTeX string provided by the original dataset.
102
+
103
+ ## Licensing
104
+
105
+ Distributed under the same license as the original IBEM dataset.
106
+ Creative Commons Attribution 4.0 International