Rewrite dataset card
Browse files21 unmodified lines22232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015121 unmodified linespath: data/train.parquet---# Academic-OCR: Structured OCR of Academic Papers**Academic-OCR** is a sample of 1,000 academic papers parsed into structured text and layout by [Liner](https://liner.com)'s large-scale PDF parsing pipeline.The full pipeline parsed **26,206,698 academic PDFs** (success rate 99.9%) between June and September 2026 with [PaddleOCR-VL](https://huggingface.co/PaddlePaddle/PaddleOCR-VL) on 8x H100 GPUs. This sample contains only papers whose open-access copy carries an open license (CC BY, CC BY-SA or public domain).## Highlights- **Full-page structure**: every layout block with its label, bounding box, page index and recognized text- **Tables and formulas**: tables as HTML, formulas as LaTeX, inside the layout blocks and the Markdown- **Ready-to-use Markdown**: one Markdown document per paper, in reading order- **Open licenses only**: each row carries its own license and DOI for attribution## Dataset Description| Attribute | Value ||-----------|-------|| Papers | 1,000 || Pages | 22,718 || Tables | 4,125 || Formulas | 6,549 || Publication Years | 1871 to 2026 || Licenses | CC BY (790), CC BY-SA (184), public domain (26) || Parser | PaddleOCR-VL 1.5 / 1.6 (`liner-paddleocr-vl-batch-v2`) || Format | Parquet |### Layout LabelsThe most frequent block labels across the sample:| Label | Blocks ||-------|--------|| text | 116,939 || reference_content | 33,533 || paragraph_title | 22,911 || figure_title | 9,284 || footnote | 8,136 || display_formula | 4,337 || table | 3,801 || abstract | 2,472 || doc_title | 2,361 || vision_footnote | 2,291 || formula_number | 2,155 |## Data Fields| Field | Type | Description ||-------|------|-------------|| `id` | string | Liner paper ID || `openalex_id` | string | [OpenAlex](https://openalex.org) work ID || `doi` | string | DOI URL (missing for 58 papers) || `title` | string | Paper title || `publication_year` | int | Publication year || `license` | string | License of the open-access copy (`cc-by`, `cc-by-sa`, `public-domain`) || `source_url` | string | Landing page of the open-access copy || `num_pages` | int | Number of pages || `table_count` | int | Number of tables detected || `formula_count` | int | Number of formulas detected || `image_count` | int | Number of figures detected || `parser_version` | string | Parser version || `processing_time_ms` | int | Parsing time for the document || `markdown` | string | Full document as Markdown, in reading order || `layout_blocks` | list | Layout blocks (fields below) |Each item in `layout_blocks`:| Field | Type | Description ||-------|------|-------------|| `page_idx` | int | Page index, starting at 0 || `type` | string | Block type: `text`, `table` or `formula` || `label` | string | Layout label (see the table above) || `text` | string | Recognized content: plain text, HTML for tables, LaTeX for formulas || `text_level` | int | Heading level for titles, otherwise null || `bbox` | list[float] | Bounding box `[x0, y0, x1, y1]` || `bbox_type` | string | Unit of `bbox`; always `percent` (fractions of the page width and height) in this sample |## How the Sample Was Built1. **PDF collection**: Liner's existing academic PDF collection, plus open-access PDFs crawled from DOI links2. **Parsing**: PaddleOCR-VL (no fine-tuning) on 8x H100, 24 parser workers3. **License filter**: open-access license looked up in OpenAlex; only `cc-by`, `cc-by-sa` and `public-domain` kept4. **Sampling**: 250 papers drawn at random (fixed seed) from each of four parsing batches, so the sample spans recent and older papers; papers whose boxes were stored in pixels were skipped### Full Pipeline Scale| Batch | Papers | Parsed | Success Rate ||-------|--------|--------|--------------|| Existing PDF collection | 6,901,026 | 6,881,967 | 99.72% || Crawled, 2024 and later | 5,257,872 | 5,257,847 | 99.9995% || Crawled, 2019 to 2023 | 5,644,208 | 5,640,960 | 99.94% || Crawled, 2018 and earlier | 8,427,859 | 8,425,924 | 99.98% || **Total** | **26,230,965** | **26,206,698** | **99.91%** |## Usage```pythonfrom datasets import load_datasetds = load_dataset("LinerAI/Academic-OCR", split="train")paper = ds[0]print(paper["title"], paper["license"], paper["doi"])print(paper["markdown"][:1000])tables = [b["text"] for b in paper["layout_blocks"] if b["label"] == "table"]formulas = [b["text"] for b in paper["layout_blocks"] if b["label"] == "display_formula"]```## Intended Use- Benchmarking and training document parsing, layout analysis and table or formula recognition- Building retrieval and question answering over scientific full text- Studying the structure of academic papers across fields and decades## Limitations- The output is machine-generated and was not checked by humans; OCR, table and formula errors remain- Licenses come from OpenAlex metadata and may be wrong for some papers; check the source before reuse- Figure images are not included, only their positions and captions## LicenseEach paper keeps its own license, given in the `license` column: [CC BY](https://creativecommons.org/licenses/by/4.0/), [CC BY-SA](https://creativecommons.org/licenses/by-sa/4.0/) or public domain (license versions are not recorded in OpenAlex; check `source_url`). Attribute the original authors with the `doi` when you reuse a paper. Rows under CC BY-SA must be shared under the same license.## AcknowledgementThe parsing was run on GPUs provided by the 2026 High-Performance Computing Support Program of the National IT Industry Promotion Agency (NIPA), Korea.21 unmodified lines22232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114221 unmodified linespath: data/train.parquet---# Academic-OCR**Academic-OCR** is a sample of 1,000 academic papers parsed into layout blocks and Markdown with PaddleOCR-VL.## Table of Contents- [Quick Start](#quick-start)- [Dataset Overview](#dataset-overview)- [Data Format](#data-format)- [How It Was Built](#how-it-was-built)- [License](#license)---## Quick Start```pythonfrom datasets import load_datasetds = load_dataset("LinerAI/Academic-OCR", split="train")paper = ds[0]print(paper["title"], paper["license"], paper["doi"])print(paper["markdown"][:1000])# Tables (HTML) and display formulas (LaTeX) of the papertables = [b["text"] for b in paper["layout_blocks"] if b["label"] == "table"]formulas = [b["text"] for b in paper["layout_blocks"] if b["label"] == "display_formula"]```---## Dataset OverviewEach row is one paper. It has the full text as Markdown and every layout block on every page, with its label, bounding box and recognized text. Tables are stored as HTML and formulas as LaTeX.| Item | Count ||------|-------|| Papers | 1,000 || Pages | 22,718 || Tables | 4,125 || Formulas | 6,549 || Publication years | 1871 to 2026 || Licenses | CC BY 790, CC BY-SA 184, public domain 26 |Most frequent layout labels:| Label | Blocks ||-------|--------|| `text` | 116,939 || `reference_content` | 33,533 || `paragraph_title` | 22,911 || `figure_title` | 9,284 || `footnote` | 8,136 || `display_formula` | 4,337 || `table` | 3,801 || `abstract` | 2,472 || `doc_title` | 2,361 || `vision_footnote` | 2,291 || `formula_number` | 2,155 |---## Data Format**Parquet schema:**```id: string # Liner paper IDopenalex_id: string # OpenAlex work IDdoi: string # DOI URL (null for 58 papers)title: string # Paper titlepublication_year: int64 # Publication yearlicense: string # cc-by, cc-by-sa or public-domainsource_url: string # Landing page of the open-access copynum_pages: int64 # Number of pagestable_count: int64 # Number of tables detectedformula_count: int64 # Number of formulas detectedimage_count: int64 # Number of figures detectedparser_version: string # Parser versionprocessing_time_ms: int64 # Parsing time for the papermarkdown: string # Full text as Markdown, in reading orderlayout_blocks: list # Layout blocks, see below```**Each item in `layout_blocks`:**```page_idx: int64 # Page index, starting at 0type: string # text, table or formulalabel: string # Layout label (e.g. paragraph_title, table, display_formula)text: string # Plain text, HTML for tables, LaTeX for formulastext_level: int64 # Heading level for titles, otherwise nullbbox: list<double> # [x0, y0, x1, y1]bbox_type: string # Always "percent": fractions of the page width and height```**Example block:**```json{"page_idx": 0, "type": "text", "label": "paragraph_title", "text": "ABSTRACT", "text_level": 2, "bbox": [0.444, 0.491, 0.556, 0.507], "bbox_type": "percent"}```---## How It Was Built1. PDFs come from Liner's academic PDF collection and from open-access PDFs crawled through DOI links.2. Each PDF was parsed with PaddleOCR-VL 1.5 / 1.6 as is, without fine-tuning (`liner-paddleocr-vl-batch-v2`).3. The license of each paper's open-access copy was looked up in OpenAlex. Only `cc-by`, `cc-by-sa` and `public-domain` were kept.4. 250 papers were drawn at random (fixed seed) from each of four parsing batches, so both recent and older papers are included. Papers whose boxes were stored in pixels were skipped.> **Note:** The output is machine-generated and was not checked by hand. OCR, table and formula errors remain. Figure images are not included, only their positions and captions.---## LicenseEach paper keeps its own license, given in the `license` column: [CC BY](https://creativecommons.org/licenses/by/4.0/), [CC BY-SA](https://creativecommons.org/licenses/by-sa/4.0/) or public domain. Licenses come from OpenAlex metadata and may be wrong for some papers, so check `source_url` before reuse. Credit the original authors with the `doi`, and share rows under CC BY-SA under the same license.The parsing was run on GPUs provided by the 2026 High-Performance Computing Support Program of the National IT Industry Promotion Agency (NIPA), Korea.
README.md+90-99