CortexEvolved anuj0456 commited on
Commit
2f609a2
ยท
0 Parent(s):

Duplicate from KiteFishAI/arxiv-tex-corpus-full

Browse files

Co-authored-by: Anuj Gupta <anuj0456@users.noreply.huggingface.co>

Files changed (5) hide show
  1. .gitattributes +62 -0
  2. README.md +169 -0
  3. checkpoint.txt +1 -0
  4. train.jsonl +3 -0
  5. val.jsonl +3 -0
.gitattributes ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp filter=lfs diff=lfs merge=lfs -text
58
+ # Video files - compressed
59
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ *.webm filter=lfs diff=lfs merge=lfs -text
61
+ train.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ val.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - text-generation
5
+ language:
6
+ - en
7
+ tags:
8
+ - arxiv
9
+ - maths
10
+ - computer-science
11
+ - physics
12
+ size_categories:
13
+ - 100K<n<1M
14
+ ---
15
+
16
+ <h1 align="center">arxiv-tex-corpus-full (80GB)</h1>
17
+ <p align="center">
18
+ Large-scale LaTeX corpus from arXiv (math, CS, physics, statistics)
19
+ </p>
20
+
21
+ ๐Ÿ“„ Paper: https://arxiv.org/abs/2602.17288
22
+
23
+ ## ๐Ÿ“š Overview
24
+
25
+ **arxiv-tex-corpus-full (80GB)** is a large-scale dataset of LaTeX source content extracted from papers hosted on arXiv.
26
+
27
+ This version contains approximately **80GB of structured JSONL data**, restricted to the following arXiv categories:
28
+
29
+ * `math`
30
+ * `cs`
31
+ * `hep-th`
32
+ * `hep-ph`
33
+ * `quant-ph`
34
+ * `stat.ML`
35
+ * `stat.TH`
36
+
37
+ The dataset is designed for research in:
38
+
39
+ * Large Language Model (LLM) pretraining
40
+ * Mathematical reasoning
41
+ * Theoretical physics modeling
42
+ * Scientific document modeling
43
+ * LaTeX language modeling
44
+
45
+ This repository provides the **full 80GB version** of the corpus.
46
+
47
+ ## ๐Ÿ“ฆ Files
48
+
49
+ ```
50
+ train.jsonl
51
+ val.jsonl
52
+ checkpoint.txt
53
+ ```
54
+
55
+ ### `train.jsonl`
56
+
57
+ Training split in JSON Lines format.
58
+
59
+ ### `val.jsonl`
60
+
61
+ Validation split in JSON Lines format.
62
+
63
+ ### `checkpoint.txt`
64
+
65
+ Internal processing checkpoint file used during dataset construction.
66
+ This file is not required for training.
67
+
68
+ ## ๐Ÿงพ Data Format
69
+
70
+ Each line in `train.jsonl` and `val.jsonl` is a JSON object.
71
+
72
+ Example schema:
73
+
74
+ ```json
75
+ {
76
+ "paper_id": "xxxx.xxxxx",
77
+ "category": "cs",
78
+ "latex": "\\documentclass{article} ..."
79
+ }
80
+ ```
81
+
82
+ ### Fields
83
+
84
+ * `paper_id` โ€” arXiv identifier
85
+ * `category` โ€” one of:
86
+
87
+ * `math`
88
+ * `cs`
89
+ * `hep-th`
90
+ * `hep-ph`
91
+ * `quant-ph`
92
+ * `stat.ML`
93
+ * `stat.TH`
94
+ * `latex` โ€” extracted LaTeX source content
95
+
96
+ ## ๐Ÿ“Š Dataset Statistics
97
+
98
+ * Total size: ~80GB
99
+ * Format: JSONL
100
+ * Categories: mathematics, computer science, theoretical physics, quantum physics, and statistics
101
+ * Snapshot date: *(add date here)*
102
+ * Deduplication: *(state yes/no)*
103
+
104
+ ## ๐Ÿงน Processing Pipeline
105
+
106
+ The dataset was constructed by:
107
+
108
+ 1. Downloading arXiv source archives.
109
+ 2. Extracting LaTeX source files from eligible papers.
110
+ 3. Filtering papers to retain only the specified categories.
111
+ 4. Converting documents into structured JSONL format.
112
+ 5. Splitting into training and validation sets.
113
+
114
+ Unless otherwise specified:
115
+
116
+ * No semantic cleaning was applied.
117
+ * No normalization of LaTeX commands was performed.
118
+ * No compilation validation was enforced.
119
+
120
+ ## โš–๏ธ Licensing
121
+
122
+ This dataset contains LaTeX source files from papers hosted on arXiv.
123
+
124
+ Each paper retains its original license as specified by its authors on arXiv.
125
+
126
+ Users are responsible for complying with the licensing terms of individual papers.
127
+
128
+ For license details, see:
129
+ [https://arxiv.org/help/license](https://arxiv.org/help/license)
130
+
131
+ If you filtered by specific licenses (e.g., CC-BY only), please state that here explicitly.
132
+
133
+ ## ๐ŸŽฏ Intended Use
134
+
135
+ This dataset is intended for:
136
+
137
+ * Pretraining or continued training of language models
138
+ * Research in mathematical and scientific reasoning
139
+ * Modeling structured scientific documents
140
+ * Studying LaTeX generation and transformation
141
+
142
+ ## ๐Ÿšซ Limitations
143
+
144
+ * LaTeX sources may contain compilation errors.
145
+ * Some source bundles may be incomplete.
146
+ * Bibliography files may be missing in some cases.
147
+ * Licensing varies across papers.
148
+ * Category labeling follows arXiv metadata and may not reflect full topical scope.
149
+
150
+ ## ๐Ÿ“Œ Citation
151
+
152
+ If you use this dataset, please cite:
153
+
154
+ 1. The original arXiv papers
155
+ 2. This repository
156
+
157
+ Example:
158
+
159
+ ```bibtex
160
+ @dataset{arxiv_latex_corpus_2026,
161
+ title = {arxiv-latex-corpus (80GB)},
162
+ year = {2026},
163
+ publisher = {Hugging Face},
164
+ }
165
+ ```
166
+
167
+ ## ๐Ÿค Acknowledgements
168
+
169
+ This dataset is derived from papers made publicly available by authors via arXiv. We thank the research community for openly sharing their work.
checkpoint.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 0
train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1330b5f9da81c62b6836d9b5eb7d55724c9248c555cd54718a3714d9096bf4ed
3
+ size 78855074113
val.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:175da4a2d95105199d7192a8c2bc899a6a79da9144af0aff9639dc0da744e0f8
3
+ size 798730105