Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
id
stringlengths
27
33
source
stringclasses
1 value
format
stringclasses
1 value
text
stringlengths
13
1.81M
warning/0001/math-ph0001010.html
ar5iv
text
# References Osterwalder–Schrader axioms—Wightman Axioms—The mathematical axiom systems for quantum field theory (QFT) grew out of Hilbert’s sixth problem , that of stating the problems of quantum theory in precise mathematical terms. There have been several competing mathematical systems of axioms, and here we shall ...
warning/0001/nucl-th0001031.html
ar5iv
text
# 1 Introduction ## 1 Introduction The success of the shell model in predicting the nuclear magic numbers is related to the presence of a strong spin-orbit term in the nuclear average potential. Few years after the formulation of the nuclear shell–model , evidences of spin-orbit terms in the nuclear interaction were ...
warning/0001/quant-ph0001018.html
ar5iv
text
# Quantum computation with mesoscopic superposition states ## I Introduction Quantum Mechanics is now fundamental to the modern world we live and interact with, not being just the abstract realm of theoretical physics. Many new areas of emerging technology depend on the principles contained within it . One of the mos...
warning/0001/nucl-th0001025.html
ar5iv
text
# 1 Introduction ## 1 Introduction Some time ago a bright phenomenon of pion condensation predicted in attracted the common attention and was widely investigated -. The reason for this prediction was the fact that one of the solutions of the pion dispersion equation in medium (let it be called $`\omega _c`$) turns t...
warning/0001/math0001162.html
ar5iv
text
# Combed 3-Manifolds with Concave Boundary, Framed Links, and Pseudo-Legendrian Links ## Introduction This paper describes combinatorial realizations, based on the machinery of branched standard spines (see Section 1) of the following three topological categories (in which manifolds and diffeomorphisms are oriented b...
warning/0001/math0001081.html
ar5iv
text
"# Trace Functionals of the Kontsevich Quantization\n\n## 1 Introduction\n\nThe gist of deformation (...TRUNCATED)
warning/0001/cond-mat0001132.html
ar5iv
text
"# Theory of magnetic order in the three-dimensional spatially anisotropic Heisenberg model\n\n## I (...TRUNCATED)
warning/0001/hep-ph0001120.html
ar5iv
text
"# 1 Introduction\n\n## 1 Introduction\n\nIn this note we study scattering of virtual and real photo(...TRUNCATED)
warning/0001/cond-mat0001156.html
ar5iv
text
"# Thermodynamics and dielectric anomalies of DMAAS and DMAGaS crystals in the phase transitions reg(...TRUNCATED)
warning/0001/hep-ph0001105.html
ar5iv
text
"# 1 Introduction\n\n## 1 Introduction\n\nRecent polarized deep-inelastic experiments have yielded v(...TRUNCATED)
End of preview. Expand in Data Studio

Marin Markdownified Ar5iv

Markdownified Ar5iv transforms academic papers from arXiv into clean, structured Markdown format consisting of 22.34B tokens across two splits. This dataset preserves th content while making it accessible for language model training on academic text.

Value
Tokens 19 552 307 274
Primary source https://sigmathling.kwarc.info/resources/ar5iv-dataset-2024/
File format JSONL
License C-UDA-1.0 (mirrors upstream Ar5iv licenses)

Processing and Cleaning Pipeline

Our conversion pipeline combines several sophisticated techniques to transform raw Wikipedia HTML into high-quality Markdown:

  1. HTML Preprocessing: We start with the Ar5iv dump in Extended DOLMA format, which provides HTML representations of academic papers with metadata.

  2. Structural Cleanup

    • The abstract is transformed into a proper section heading for consistent document structure
    • LaTeX equations are carefully preserved using inline ($...$) and display ($$...$$) notation
    • Code blocks and listings maintain proper formatting with appropriate line breaks
  3. Noise Reduction:

    • Author information is removed
    • Title page elements are streamlined to avoid redundancy
    • The Ar5iv footer is removed to eliminate conversion metadata
    • Figure captions are removed to focus on the main content
    • Bibliography sections, footnotes, and citation links are removed
  4. Formatting Cleanup:

    • List items are cleaned to prevent duplicate numbering patterns (e.g., "1. 1.")
    • Content before the first main section (typically metadata) is removed
    • Equation tables are converted to inline elements for better rendering
  5. DOM Simplification: We employ a custom-enhanced version of Resiliparse that preserves semantic HTML structure. Rather than flattening to plain text, we retain important elements like headings, paragraphs, lists while removing scripts, tracking code, and boilerplate.

  6. Markdown Conversion: Our custom Markdownify implementation transforms the simplified DOM into clean Markdown. The final output stores each article as a JSON object containing the Markdown text and essential metadata.

Dataset Variants

The Markdownified Ar5iv dataset comes in two variants:

  1. Ar5iv No Problem (2.74B tokens): Papers that were converted without significant issues or warnings during the HTML generation process. This subset represents the cleanest and most reliable papers.
  2. Ar5iv Warning (19.6B tokens): Papers that generated warnings during conversion from LaTeX to HTML. While still valuable, these may contain occasional formatting artifacts.

Usage Example

from datasets import load_dataset

ds = load_dataset(
    "marin-community/ar5iv-warning-markdown",
    split="train",
    streaming=True
)

for article in ds.take(3):
    print(article["text"])

Citation

If you use this dataset in your research, please cite both the original Wikipedia contributors and our work:

@misc{markdownified_ar5iv_2024,
  title        = {Markdownified Ar5iv},
  author       = {The Marin Community},
  year         = {2024},
  url          = {https://huggingface.co/datasets/marin-community/ar5iv-warning-markdown}
}

License

All content inherits Ar5iv's licensing: C-UDA-1.0. Our conversion tools and pipeline are released under Apache 2.0.

Acknowledgement

We extend our gratitude to:

Downloads last month
42

Models trained or fine-tuned on marin-community/ar5iv-warning-markdown