Ma7ee7 commited on
Commit
2a59674
·
verified ·
1 Parent(s): d21e14f

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +311 -21
README.md CHANGED
@@ -1,23 +1,313 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: Title
5
- dtype: string
6
- - name: Raw-Text
7
- dtype: string
8
- - name: Clean-Text
9
- dtype: string
10
- - name: Hash
11
- dtype: string
12
- splits:
13
- - name: train
14
- num_bytes: 1739086253
15
- num_examples: 19822
16
- download_size: 832929285
17
- dataset_size: 1739086253
18
- configs:
19
- - config_name: default
20
- data_files:
21
- - split: train
22
- path: data/train-*
23
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ pretty_name: ArXiv 20K Title-to-Paper
3
+ task_categories:
4
+ - text-generation
5
+ size_categories:
6
+ - 10K<n<100K
7
+ tags:
8
+ - arxiv
9
+ - scientific-papers
10
+ - research-papers
11
+ - language-modeling
12
+ - text-generation
13
+ - long-context
14
+ - pretraining
15
+ - scientific-text
16
+ license: other
 
 
 
 
 
 
17
  ---
18
+
19
+ # ArXiv 20K Title-to-Paper
20
+
21
+ A mixed-domain collection of full scientific paper text extracted from arXiv.
22
+
23
+ The dataset is designed primarily for experiments involving **title-conditioned scientific text generation**, long-form language modeling, document modeling, and scientific-text research.
24
+
25
+ ## Dataset Summary
26
+
27
+ The initial collection contained **20,000 papers** sampled across a broad mixture of arXiv subject categories.
28
+
29
+ A conservative structural filtering pass removed obviously broken documents, severe extraction failures, extreme repetition, error pages, and other unusable records.
30
+
31
+ **Final row count in this release: 19,822 papers.**
32
+
33
+ The filtering pass retained **99.11%** of the original collection.
34
+
35
+ This release preserves both the extracted source text and a dedicated column for future cleaned text.
36
+
37
+ ## Schema
38
+
39
+ The dataset contains four columns:
40
+
41
+ | Column | Description |
42
+ |---|---|
43
+ | `Title` | Title of the arXiv paper |
44
+ | `Raw-Text` | Full text extracted from the arXiv HTML rendering with only minimal extraction normalization |
45
+ | `Clean-Text` | Reserved for the cleaned version of the paper text |
46
+ | `Hash` | SHA-256 hash of the raw extracted text |
47
+
48
+ ### Current `Clean-Text` status
49
+
50
+ In the initial release, `Clean-Text` is null.
51
+
52
+ The raw text is intentionally preserved before a more aggressive corpus-wide cleaning pass is performed.
53
+
54
+ A later revision is intended to populate this column while retaining `Raw-Text` unchanged, allowing direct comparison between the source extraction and cleaned representation.
55
+
56
+ ## Example
57
+
58
+ ```python
59
+ from datasets import load_dataset
60
+
61
+ dataset = load_dataset(
62
+ "Ma7ee7/ArXiv-20K-Title-to-Paper",
63
+ split="train",
64
+ )
65
+
66
+ row = dataset[0]
67
+
68
+ print(row["Title"])
69
+ print(row["Raw-Text"][:2000])
70
+ print(row["Clean-Text"])
71
+ print(row["Hash"])
72
+ ```
73
+
74
+ A title-to-paper training pair can simply be constructed as:
75
+
76
+ ```python
77
+ input_text = row["Title"]
78
+
79
+ target_text = (
80
+ row["Clean-Text"]
81
+ if row["Clean-Text"] is not None
82
+ else row["Raw-Text"]
83
+ )
84
+ ```
85
+
86
+ ## Collection
87
+
88
+ Papers were sampled from a mixture of arXiv categories rather than a single research field.
89
+
90
+ The category pool included areas from:
91
+
92
+ - computer science
93
+ - machine learning
94
+ - statistics
95
+ - mathematics
96
+ - physics
97
+ - electrical engineering
98
+ - quantitative biology
99
+ - economics
100
+ - quantitative finance
101
+
102
+ Example categories include:
103
+
104
+ ### Computer Science
105
+
106
+ - `cs.AI`
107
+ - `cs.CL`
108
+ - `cs.CV`
109
+ - `cs.LG`
110
+ - `cs.NE`
111
+ - `cs.RO`
112
+ - `cs.IR`
113
+ - `cs.SE`
114
+ - `cs.CR`
115
+ - `cs.HC`
116
+ - `cs.DS`
117
+
118
+ ### Statistics
119
+
120
+ - `stat.ML`
121
+ - `stat.TH`
122
+ - `stat.AP`
123
+ - `stat.CO`
124
+
125
+ ### Mathematics
126
+
127
+ - `math.PR`
128
+ - `math.ST`
129
+ - `math.OC`
130
+ - `math.NA`
131
+ - `math.CO`
132
+ - `math.LO`
133
+ - `math.IT`
134
+
135
+ ### Physics
136
+
137
+ - `physics.comp-ph`
138
+ - `physics.data-an`
139
+ - `quant-ph`
140
+ - `cond-mat.stat-mech`
141
+ - `hep-th`
142
+ - `astro-ph.CO`
143
+
144
+ ### Electrical Engineering
145
+
146
+ - `eess.SP`
147
+ - `eess.SY`
148
+ - `eess.IV`
149
+
150
+ ### Quantitative Biology
151
+
152
+ - `q-bio.NC`
153
+ - `q-bio.QM`
154
+ - `q-bio.BM`
155
+
156
+ ### Economics and Quantitative Finance
157
+
158
+ - `econ.EM`
159
+ - `econ.TH`
160
+ - `q-fin.ST`
161
+ - `q-fin.EC`
162
+
163
+ A per-category cap was used during collection to reduce the chance that a single large field would dominate the corpus.
164
+
165
+ ## Text Extraction
166
+
167
+ Full paper text was collected primarily from arXiv's HTML representations.
168
+
169
+ The initial extraction preserves the paper text relatively conservatively.
170
+
171
+ During extraction:
172
+
173
+ - website interface elements were removed
174
+ - script and style elements were removed
175
+ - mathematical expressions were represented using their available LaTeX-style alternative text
176
+ - obvious HTML serialization artifacts were normalized
177
+ - excessive blank-line runs were collapsed
178
+
179
+ The resulting text is stored in `Raw-Text`.
180
+
181
+ No language model was used to rewrite or paraphrase the scientific content.
182
+
183
+ ## Filtering
184
+
185
+ The original collection contained:
186
+
187
+ **20,000 rows**
188
+
189
+ After filtering:
190
+
191
+ **19,822 rows were retained**
192
+
193
+ **178 rows were rejected**
194
+
195
+ This corresponds to a survival rate of approximately:
196
+
197
+ **99.11%**
198
+
199
+ The filtering stage was deliberately conservative.
200
+
201
+ Documents could be rejected for problems such as:
202
+
203
+ - extreme repeated-line extraction
204
+ - very short text
205
+ - implausibly large extraction
206
+ - too few words
207
+ - severe repeated-line dominance
208
+ - apparent error or conversion pages
209
+ - malformed records
210
+ - exact duplicate text
211
+ - duplicate titles
212
+
213
+ The most common detected failure mode in the initial corpus was extreme line repetition.
214
+
215
+ ## Corpus Statistics
216
+
217
+ For the surviving dataset:
218
+
219
+ - **Rows:** 19,822
220
+ - **Median characters per paper:** ~73,603
221
+ - **Mean characters per paper:** ~87,316
222
+ - **Median words per paper:** ~11,718
223
+ - **Mean words per paper:** ~14,239
224
+
225
+ The shortest retained paper contained approximately 5.5k characters.
226
+
227
+ The largest retained extraction contained approximately 1.96M characters.
228
+
229
+ ## Hashes
230
+
231
+ `Hash` is a SHA-256 digest derived from `Raw-Text`.
232
+
233
+ The hash is intended to provide:
234
+
235
+ - exact-text deduplication
236
+ - integrity checking
237
+ - stable identity for a specific raw extraction
238
+ - comparison across future cleaning revisions
239
+
240
+ The hash is based on the raw text rather than `Clean-Text`, so future cleaning changes do not alter the identifier.
241
+
242
+ ## Intended Uses
243
+
244
+ Potential uses include:
245
+
246
+ - title-to-paper generation experiments
247
+ - scientific language modeling
248
+ - long-context modeling
249
+ - scientific document completion
250
+ - research on document structure
251
+ - scientific-text compression
252
+ - retrieval experiments
253
+ - pretraining or continued pretraining
254
+ - studying relationships between titles and full documents
255
+
256
+ ## Limitations
257
+
258
+ ### Extraction artifacts
259
+
260
+ `Raw-Text` is derived from automatic HTML extraction.
261
+
262
+ Some papers may still contain artifacts involving:
263
+
264
+ - tables
265
+ - figures
266
+ - captions
267
+ - mathematical formatting
268
+ - references
269
+ - unusual Unicode
270
+ - repeated fragments
271
+ - document-specific layout
272
+
273
+ The filtering process targets severe failures rather than guaranteeing perfectly clean prose.
274
+
275
+ ### Clean-Text
276
+
277
+ `Clean-Text` is currently unpopulated.
278
+
279
+ A later dataset revision is expected to add a deterministic cleaned representation while retaining the original raw extraction.
280
+
281
+ ### Sampling
282
+
283
+ This is not a complete or statistically representative sample of all arXiv papers.
284
+
285
+ The corpus was intentionally sampled across a selected group of scientific categories to create a diverse experimental dataset.
286
+
287
+ ### Scientific accuracy
288
+
289
+ Inclusion in this dataset does not imply that a paper's claims are correct, peer reviewed, replicated, or endorsed.
290
+
291
+ ## Licensing
292
+
293
+ This dataset aggregates text from papers hosted by arXiv.
294
+
295
+ Individual papers on arXiv may be distributed under different licenses and copyright terms.
296
+
297
+ The `license: other` designation for this dataset does **not** replace or override the license associated with any individual paper.
298
+
299
+ Users are responsible for determining whether their intended use complies with the license and rights associated with the underlying works.
300
+
301
+ ## Dataset Version
302
+
303
+ ### v0.1
304
+
305
+ Initial filtered release.
306
+
307
+ - 20,000 initially collected papers
308
+ - 19,822 retained after structural filtering
309
+ - `Raw-Text` populated
310
+ - `Clean-Text` reserved but currently null
311
+ - SHA-256 raw-text hashes included
312
+
313
+ Future revisions may populate `Clean-Text` and improve quality filtering while preserving the raw source column.