--- license: cc-by-4.0 dataset_info: features: - name: arxiv_id dtype: string - name: markdown dtype: string - name: paper_doi dtype: string - name: paper_authors sequence: string - name: paper_published_date dtype: string - name: paper_updated_date dtype: string - name: categories sequence: string - name: title dtype: string - name: summary dtype: string splits: - name: train num_bytes: 451295452 num_examples: 304 download_size: 444052109 dataset_size: 451295452 configs: - config_name: default data_files: - split: train path: data/train-* --- # Dataset card for arxiv-markdown ## Dataset Description * **GitHub:** [https://github.com/marcodsn/academic-chains](https://github.com/marcodsn/academic-chains/tree/main/large_scale) * **Dataset:** [https://huggingface.co/datasets/marcodsn/arxiv-markdown](https://huggingface.co/datasets/marcodsn/arxiv-markdown) (this page) > **[24/04/2025]** Because of the high storage utilization we are seeing, we are currently thinking about moving the embedded images to a [Cloudflare R2](https://www.cloudflare.com/developer-platform/products/r2/) instance and to only reference the URLs in the markdowns, stay tuned for more updates on this! This dataset contains open-access papers retrieved from [arXiv](https://arxiv.org) and converted to markdown format using [docling](https://github.com/docling-project/docling); specifically, we use the following docling pipeline: ```python pipeline_options = PdfPipelineOptions() pipeline_options.images_scale = IMAGE_RESOLUTION_SCALE # 2.0 pipeline_options.generate_page_images = True pipeline_options.generate_picture_images = True # We want to have embedded images to allow the creation of a multimodal dataset in the future pipeline_options.do_code_enrichment = True pipeline_options.do_formula_enrichment = True # For converting formulas to LaTeX converter = DocumentConverter( format_options={ InputFormat.PDF: PdfFormatOption(pipeline_options=pipeline_options) } ) ``` Currently the dataset constains the very first entries extracted from August 2024; we are currently dedicating an RTX 3090 full-time for the extraction of this data and will continue to upload new entries as they get processed. You can check the code we are utilizing for the entries generation at [this link](https://github.com/marcodsn/academic-chains/tree/main/large_scale) (optimizations and general suggestions are ver welcome!). ## Dataset Scope This dataset is being built as the first step to expanding the [academic-chains](https://huggingface.co/datasets/marcodsn/academic-chains) dataset, but other usage of this dataset by anyone from the community is welcome! You can check our license below in this same file. ## Limitations and Biases * **Extraction Fidelity:** While docling is amazing, it is not perfect, and extraction glitches (especially in tables) may still be present * **Slow Data Generation:** Document extraction while doing formula and code enrichment and picture extraction is SLOW on our 3090; we didn't use these options while extracting MDs for the academic-chains dataset because it was not strictly necessary, but would like to do things right this time, even though it will slow us down (relatively) **Note:** We see there is work going on on supporting batched inference for docling, and updates on using VLMs too, so we will try to keep our pipeline up to date and efficient! ## Acknowledgements A big-big-BIG thank you to arXiv and to all the authors of the open-access papers present in our dataset (and to all the others too!). And thank you to whoever supported my original academic-chains dataset too, you are the reason why I started working on this so soon and with a smile on my face! ## Licensing Information This dataset is licensed under the [CC-BY-4.0 License](https://creativecommons.org/licenses/by/4.0/). ## Citation Information ``` @misc{marcodsn_2025_arxivmarkdown, title = {arxiv-arkdown}, author = {Marco De Santis}, month = {April}, year = {2025}, url = {https://huggingface.co/datasets/marcodsn/arxiv-markdown} } ```