license: mit
task_categories:
- text-generation
language:
- en
tags:
- arxiv
- maths
- computer-science
- physics
size_categories:
- 100K<n<1M
arxiv-tex-corpus-full (80GB)
Large-scale LaTeX corpus from arXiv (math, CS, physics, statistics)
π Paper: https://arxiv.org/abs/2602.17288
π Overview
arxiv-tex-corpus-full (80GB) is a large-scale dataset of LaTeX source content extracted from papers hosted on arXiv.
This version contains approximately 80GB of structured JSONL data, restricted to the following arXiv categories:
mathcshep-thhep-phquant-phstat.MLstat.TH
The dataset is designed for research in:
- Large Language Model (LLM) pretraining
- Mathematical reasoning
- Theoretical physics modeling
- Scientific document modeling
- LaTeX language modeling
This repository provides the full 80GB version of the corpus.
π¦ Files
train.jsonl
val.jsonl
checkpoint.txt
train.jsonl
Training split in JSON Lines format.
val.jsonl
Validation split in JSON Lines format.
checkpoint.txt
Internal processing checkpoint file used during dataset construction. This file is not required for training.
π§Ύ Data Format
Each line in train.jsonl and val.jsonl is a JSON object.
Example schema:
{
"paper_id": "xxxx.xxxxx",
"category": "cs",
"latex": "\\documentclass{article} ..."
}
Fields
paper_idβ arXiv identifiercategoryβ one of:mathcshep-thhep-phquant-phstat.MLstat.TH
latexβ extracted LaTeX source content
π Dataset Statistics
- Total size: ~80GB
- Format: JSONL
- Categories: mathematics, computer science, theoretical physics, quantum physics, and statistics
- Snapshot date: (add date here)
- Deduplication: (state yes/no)
π§Ή Processing Pipeline
The dataset was constructed by:
- Downloading arXiv source archives.
- Extracting LaTeX source files from eligible papers.
- Filtering papers to retain only the specified categories.
- Converting documents into structured JSONL format.
- Splitting into training and validation sets.
Unless otherwise specified:
- No semantic cleaning was applied.
- No normalization of LaTeX commands was performed.
- No compilation validation was enforced.
βοΈ Licensing
This dataset contains LaTeX source files from papers hosted on arXiv.
Each paper retains its original license as specified by its authors on arXiv.
Users are responsible for complying with the licensing terms of individual papers.
For license details, see: https://arxiv.org/help/license
If you filtered by specific licenses (e.g., CC-BY only), please state that here explicitly.
π― Intended Use
This dataset is intended for:
- Pretraining or continued training of language models
- Research in mathematical and scientific reasoning
- Modeling structured scientific documents
- Studying LaTeX generation and transformation
π« Limitations
- LaTeX sources may contain compilation errors.
- Some source bundles may be incomplete.
- Bibliography files may be missing in some cases.
- Licensing varies across papers.
- Category labeling follows arXiv metadata and may not reflect full topical scope.
π Citation
If you use this dataset, please cite:
- The original arXiv papers
- This repository
Example:
@dataset{arxiv_latex_corpus_2026,
title = {arxiv-latex-corpus (80GB)},
year = {2026},
publisher = {Hugging Face},
}
π€ Acknowledgements
This dataset is derived from papers made publicly available by authors via arXiv. We thank the research community for openly sharing their work.