๐ฎ [2025-08] We have updated to a larger dataset, which contains nearly 80 million samples, with significant improvements in both data quality and diversity. [link]
๐ฎ [2024-02] We trained a formula recognition model, ๐๐๐ฑ๐๐๐ฅ๐ฅ๐๐ซ, using the latex-formulas dataset. It can convert LaTeX formulas into images and boasts high accuracy and strong generalization capabilities, covering most formula recognition scenarios.
For more details, please refer to the ๐๐๐ฑ๐๐๐ฅ๐ฅ๐๐ซ GitHub repository.
There are two datasets: raw_formulas and cleaned_formulas(This dataset has 550K formula-image pairs).
We scraped approximately 1 million LaTeX formula image-text pairs from arxiv that were uncleaned and without text segmentation to create the raw_formulas dataset. After cleaning the raw_formulas dataset and integrating it with the im2latex-100K dataset, we obtained the cleaned_formulas dataset, which has 550K formula-image pairs.
To render the images corresponding to the formulas, the following external packages are needed:
for raw_formulas dataset:
from datasets import load_dataset
data = load_dataset("OleehyO/latex-formulas", "raw_formulas")
for cleaned_formulas dataset:
from datasets import load_dataset
data = load_dataset("OleehyO/latex-formulas", "cleaned_formulas")
We scraped LaTeX formulas containing the following environments:
The formulas do not include the following content:
equation, equation*, align, \[...\] environments in raw_formulas were all replaced with the align* environment.43 commits
11 commits
๐ฎ [2025-08] We have updated to a larger dataset, which contains nearly 80 million samples, with significant improvements in both data quality and diversity. [link]
๐ฎ [2024-02] We trained a formula recognition model, ๐๐๐ฑ๐๐๐ฅ๐ฅ๐๐ซ, using the latex-formulas dataset. It can convert LaTeX formulas into images and boasts high accuracy and strong generalization capabilities, covering most formula recognition scenarios.
For more details, please refer to the ๐๐๐ฑ๐๐๐ฅ๐ฅ๐๐ซ GitHub repository.
There are two datasets: raw_formulas and cleaned_formulas(This dataset has 550K formula-image pairs).
We scraped approximately 1 million LaTeX formula image-text pairs from arxiv that were uncleaned and without text segmentation to create the raw_formulas dataset. After cleaning the raw_formulas dataset and integrating it with the im2latex-100K dataset, we obtained the cleaned_formulas dataset, which has 550K formula-image pairs.
To render the images corresponding to the formulas, the following external packages are needed:
for raw_formulas dataset:
from datasets import load_dataset
data = load_dataset("OleehyO/latex-formulas", "raw_formulas")
for cleaned_formulas dataset:
from datasets import load_dataset
data = load_dataset("OleehyO/latex-formulas", "cleaned_formulas")
We scraped LaTeX formulas containing the following environments:
The formulas do not include the following content:
equation, equation*, align, \[...\] environments in raw_formulas were all replaced with the align* environment.43 commits
11 commits