anindya-hf-2002 commited on
Commit
2be3dc3
·
verified ·
1 Parent(s): 6290a92

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +115 -1
README.md CHANGED
@@ -31,4 +31,118 @@ task_categories:
31
  - image-to-text
32
  language:
33
  - en
34
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  - image-to-text
32
  language:
33
  - en
34
+ ---
35
+ Here’s a completed dataset card for your **Pix2Tex** dataset based on the provided template:
36
+
37
+ ---
38
+
39
+ # Pix2Tex
40
+
41
+ ## Dataset Details
42
+
43
+ ### Dataset Description
44
+
45
+ The **Pix2Tex Dataset** is a high-quality, curated dataset for training and evaluating Vision-Language Models (VLMs) capable of extracting LaTeX code from images of mathematical formulas. This dataset combines both **printed** and **handwritten** formula images, offering diverse and challenging samples for tasks involving LaTeX recognition.
46
+
47
+ The dataset contains images paired with their LaTeX annotations, enabling researchers and developers to explore various use cases, including mathematical OCR (Optical Character Recognition), multimodal learning, and LaTeX generation from formula images.
48
+
49
+ - **Curated by:** Anindya
50
+ - **Language(s):** English (en)
51
+ - **License:** Apache 2.0
52
+
53
+ ---
54
+
55
+ ## Uses
56
+
57
+ ### Direct Use
58
+
59
+ The **Pix2Tex Dataset** can be used for:
60
+ - Training and evaluation of Vision-Language Models (VLMs).
61
+ - Image-to-Text conversion for LaTeX generation.
62
+ - Research in mathematical OCR and handwriting recognition.
63
+ - Applications involving mathematical document digitization.
64
+
65
+ ### Out-of-Scope Use
66
+
67
+ The dataset should not be used for purposes unrelated to image-to-text conversion, LaTeX generation, or Vision-Language modeling tasks. Misuse of the dataset for malicious purposes, such as creating deceptive content, is strictly prohibited.
68
+
69
+ ---
70
+
71
+ ## Dataset Structure
72
+
73
+ ### Features
74
+
75
+ The dataset contains the following features:
76
+ - **`image`**: The image of the formula (either printed or handwritten).
77
+ - **`latex`**: The corresponding LaTeX code representing the formula.
78
+
79
+ ### Splits
80
+
81
+ The dataset is split into three subsets for easier use in machine learning workflows:
82
+
83
+ | Split | Number of Examples | Size (bytes) |
84
+ |-------------|---------------------|--------------------|
85
+ | **Train** | 377,163 | 1,638,732,362.625 |
86
+ | **Validation** | 125,721 | 545,374,827.875 |
87
+ | **Test** | 125,722 | 544,914,564.75 |
88
+
89
+ ### Configurations
90
+
91
+ The dataset includes a default configuration with the following data files:
92
+ - Train: `data/train-*`
93
+ - Validation: `data/validation-*`
94
+ - Test: `data/test-*`
95
+
96
+ ---
97
+
98
+ ## Dataset Creation
99
+
100
+ ### Curation Rationale
101
+
102
+ The **Pix2Tex Dataset** was created to address the need for diverse, high-quality datasets for training Vision-Language Models (VLMs) that can extract LaTeX from mathematical formula images. By including both printed and handwritten formulas, the dataset provides a robust benchmark for real-world applications.
103
+
104
+ ### Source Data
105
+
106
+ #### Data Collection and Processing
107
+
108
+ The dataset was created by combining two existing datasets:
109
+ - One dataset containing printed formula images with their LaTeX annotations.
110
+ - Another dataset containing handwritten formula images with their LaTeX annotations.
111
+
112
+ Both datasets were preprocessed to ensure consistency in column naming and annotation quality. The resulting dataset was split into training, validation, and test sets.
113
+
114
+ #### Who are the source data producers?
115
+
116
+ The source data was collected from publicly available datasets and curated for the specific purpose of LaTeX extraction tasks.
117
+
118
+ ---
119
+
120
+ ## Bias, Risks, and Limitations
121
+
122
+ ### Risks and Limitations
123
+
124
+ - The dataset includes a mix of printed and handwritten formulas, which might introduce variability in performance for models trained solely on one type of input.
125
+ - The handwritten formulas may contain noise due to variations in handwriting styles, potentially challenging OCR tasks.
126
+
127
+ ### Recommendations
128
+
129
+ Users are advised to preprocess the dataset and evaluate models on both printed and handwritten subsets to better understand their performance across different input types.
130
+
131
+ ---
132
+
133
+ ## Citation
134
+
135
+ If you use this dataset in your research or projects, please cite it as follows:
136
+
137
+
138
+ ## Glossary
139
+
140
+ - **Vision-Language Models (VLMs)**: Machine learning models that combine visual and textual inputs to perform tasks such as image-to-text generation.
141
+ - **LaTeX**: A typesetting system commonly used for mathematical and scientific documents.
142
+
143
+ ---
144
+
145
+ ## Dataset Card Contact
146
+
147
+ For any questions or feedback, feel free to contact:
148
+ - **Hugging Face Profile:** [anindya-hf-2002](https://huggingface.co/anindya-hf-2002)