File size: 5,548 Bytes
2c5d625
 
 
 
 
 
 
 
 
 
4209dd0
2c5d625
 
 
 
 
 
 
 
db07ac2
2c5d625
205f073
2c5d625
 
 
 
 
 
 
 
 
 
 
 
4209dd0
 
2c5d625
 
 
3a09203
 
205f073
3a09203
 
 
 
 
 
2c5d625
 
3a09203
 
 
205f073
 
 
 
 
 
 
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
---
task_categories:
- feature-extraction
language:
- en
tags:
- physics
- astrophysics
- high energy physics
- science
- arxiv
pretty_name: Astro-HEP Corpus
size_categories:
- 100K<n<1M
---


# Dataset Card for Astro-HEP Corpus

**Astro-HEP Corpus** consists of approximately 21.8 million paragraphs extracted from more than 600,000 scholarly articles related to astrophysics or high energy physics or both. All articles were published between 1986 and 2022 (inclusive) on the open-access archive <a target="_blank" rel="noopener noreferrer" href="http://arxiv.org/" >arXiv.org</a>. Note: Due to copyright uncertainties, I am unable to make the actual data available here.

This table details the main columns of the dataset:

|Column|Description|
|:----------:|:-:|
|*Text*|Full text of the paragraph|
|*Characters*|Number of unicode characters in the paragraph|
|*Subwords*|Number of BERT subwords in the paragraph|
|*arXiv ID*|Identifier of the parent article provided by arXiv|
|*Year*|Year of the first publication of the parent article|
|*Month*|Month of the first publication of the parent article|
|*Day*|Day of the first publication of the parent article|
|*Position*|Position in the sequence of paragraphs in the article|


The primary purpose of the Astro-HEP Corpus, beyond its role as a training set for the for the <a target="_blank" rel="noopener noreferrer" href="https://huggingface.co./arnosimons/astro-hep-bert">Astro-HEP-BERT</a> model, lies in its use for analyzing the meaning of concepts in astrophysics and high energy physics. For further insights into the corpus, the model, and the underlying research project (<a target="_blank" rel="noopener noreferrer" href="https://doi.org/10.3030/101044932" >Network Epistemology in Practice</a>) please refer to this paper [link coming soon].

<!-- <a target="_blank" rel="noopener noreferrer" href="">Astro-HEP-BERT paper</a>. -->

## Composition

This figure shows the temporal distribution of articles in terms of initial publication year, category (ASTRO or HEP), and subcategory (six subcategories for
ASTRO and four subcategories for HEP), all of which is metadata directly imported from arXiv.org:

<img src="astro-hep-bert-paper-corpus-overview.png" alt="Composition of the Astro-HEP Corpus" width="800"/>

<!-- ![Composition of the Astro-HEP Corpus](astro-hep-bert-paper-corpus-overview.png "Composition of the Astro-HEP Corpus") -->

## Construction

<!-- The articles were selected using the <a target="_blank" rel="noopener noreferrer" href="https://www.kaggle.com/datasets/Cornell-University/arxiv" >original arXiv metadata file</a> and the <a target="_blank" rel="noopener noreferrer" href="https://arxiv.org/category_taxonomy" >original arXiv taxonomy</a>, which comprises four primary categories for high energy physics (hep-ex, hep-lat, hep-ph, and hep-th) and one primary category for astrophysics (astro-ph). The latter includes six subcategories (astro-ph.CO, astro-ph.EP, astro-ph.GA, astro-ph.HE, astro-ph.IM, and astro-ph.SR). <a target="_blank" rel="noopener noreferrer" href="https://www.pandoc.org/" >Pandoc</a> was used to extract plain text from the original latex files sourced from arXiv.org. In addition, all in-text citations were replaced with the marker "[CIT]" and all multiline mathematical expressions were replaced with with "FORMULA". Mathematical expressions in the inline math mode (e.g. "$...$") remained unaltered. To parse the plain text versions of the articles into their respective paragraphs, no specialized parser was necessary because, owing to the requirements of the LaTeX markup language and the parsing already performed by Pandoc, all paragraphs could be parsed by straightforward newline splitting. Additional cleaning was performed to remove authorship and funding information as well as noisy paragraphs (see here [link coming soon]). -->

The articles were selected using the original arXiv <a target="_blank" rel="noopener noreferrer" href="https://www.kaggle.com/datasets/Cornell-University/arxiv" >metadata</a> file and <a target="_blank" rel="noopener noreferrer" href="https://arxiv.org/category_taxonomy" >taxonomy</a>, which includes four primary categories for high energy physics (hep-ex, hep-lat, hep-ph, hep-th) and one primary category for astrophysics (astro-ph), the latter of which encompasses six subcategories (astro-ph.CO, astro-ph.EP, astro-ph.GA, astro-ph.HE, astro-ph.IM, and astro-ph.SR). <a target="_blank" rel="noopener noreferrer" href="https://www.pandoc.org/" >Pandoc</a> was employed to extract plain text from the original LaTeX files sourced from arXiv.org. Furthermore, all in-text citations were replaced with the marker "[CIT]", and all multiline mathematical expressions were replaced with "FORMULA". Inline mathematical expressions (e.g., "$...$") were left unchanged. Parsing the plain text versions of the articles into paragraphs did not require a specialized parser. Due to the LaTeX markup language requirements and the parsing performed by Pandoc, all paragraphs could be parsed by simple newline splitting. Additional cleaning was conducted to remove authorship and funding information as well as noisy paragraphs (see here [link coming soon]).


## Details

- **Developer:** <a target="_blank" rel="noopener noreferrer" href="https://www.tu.berlin/en/hps-mod-sci/arno-simons">Arno Simons</a>
- **Funded by:** The European Union under Grant agreement ID: <a target="_blank" rel="noopener noreferrer" href="https://doi.org/10.3030/101044932" >101044932</a>
- **Language:** English