Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The format of the datase #53

Open
leeburt opened this issue Jan 24, 2025 · 1 comment
Open

The format of the datase #53

leeburt opened this issue Jan 24, 2025 · 1 comment

Comments

@leeburt
Copy link

leeburt commented Jan 24, 2025

I downloaded a dataset and noticed that there are many extra spaces in the labels. For example, it appears as \alpha _ { k } instead of \alpha_{k}. Why is this happening, and what impact could it have on model training?

@leeburt leeburt changed the title dataset The format of the datase Jan 24, 2025
@Chokoyo
Copy link

Chokoyo commented Feb 12, 2025

The extra spaces in the labels arises from the dataset’s design to maintain consistent formatting.
Specifically, the dataset is constructed following the format and conventions used in the pix2tex and im2latex-100k datasets. The extra spaces are added during the normalization process to standardize the formatting of the formula. This ensures a fairer evaluation across different models by providing a consistent representation of LaTeX expressions, regardless of small formatting differences. While the additional spaces slightly increase the sequence length, they do not have a negative impact on model performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants