File size: 3,486 Bytes
157b2f8 2aca6a6 157b2f8 56dd688 157b2f8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 | ---
license: mit
task_categories:
- text-generation
language:
- en
tags:
- arxiv
- maths
- computer-science
- physics
size_categories:
- 10K<n<100K
---
<h1 align="center">arxiv-tex-corpus-medium (15GB)</h1>
<p align="center">
Medium-scale LaTeX corpus from arXiv (math, CS, physics, statistics)
</p>
π Paper: https://arxiv.org/abs/2602.17288
## π Overview
**arxiv-tex-corpus-medium (15GB)** is a medium-sized version of the arXiv LaTeX corpus, containing structured LaTeX source content extracted from selected arXiv categories.
This dataset is restricted to the following categories:
* `math`
* `cs`
* `hep-th`
* `hep-ph`
* `quant-ph`
* `stat.ML`
* `stat.TH`
This version (~15GB) is intended for:
* Research experiments
* Model prototyping
* Ablation studies
* Resource-constrained training setups
## π Full Dataset
For the complete version (~80GB), see:
π [arxiv-tex-corpus-full](https://huggingface.co/datasets/anuj0456/arxiv-tex-corpus-full)
The 80GB version contains the full dataset without size reduction.
## π¦ 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 creation.
Not required for training.
## π§Ύ Data Format
Each line in `train.jsonl` and `val.jsonl` is a JSON object.
Example schema:
```json
{
"paper_id": "xxxx.xxxxx",
"category": "cs",
"latex": "\\documentclass{article} ..."
}
```
### Fields
* `paper_id` β arXiv identifier
* `category` β one of:
* `math`
* `cs`
* `hep-th`
* `hep-ph`
* `quant-ph`
* `stat.ML`
* `stat.TH`
* `latex` β extracted LaTeX source content
## π Dataset Characteristics
* Size: ~15GB
* Format: JSONL
* Categories: mathematics, computer science, theoretical physics, quantum physics, and statistics
* Derived from the same pipeline as the 80GB version
* Snapshot date: *(add date here)*
This version is a reduced subset of the full dataset.
## π§Ή Processing Pipeline
The dataset was constructed by:
1. Downloading arXiv source archives.
2. Extracting LaTeX source files.
3. Filtering to retain only specified categories.
4. Converting documents to structured JSONL format.
5. Creating train/validation splits.
6. Subsampling to create the 15GB medium version.
## βοΈ 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 information:
[https://arxiv.org/help/license](https://arxiv.org/help/license)
## π― Intended Use
* Medium-scale pretraining
* Fine-tuning on scientific domains
* Research in mathematical reasoning
* LaTeX modeling and generation
## π« Limitations
* LaTeX sources may contain compilation errors.
* Some source bundles may be incomplete.
* Licensing varies per paper.
* This dataset is a subset of the full corpus.
## π Citation
If you use this dataset, please cite:
1. The original arXiv papers
2. The arxiv-latex-corpus dataset
Example:
```bibtex
@dataset{arxiv_latex_corpus_2026,
title = {arxiv-latex-corpus},
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. |