Add Academic-OCR sample (1,000 open-license papers)
Browse filesFiles changed (2)
- README.mdAdded+151
- data/train.parquetAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151---license: otherlicense_name: per-document-open-licenseslanguage:- entask_categories:- image-to-text- text-retrievaltags:- ocr- document-parsing- layout-analysis- academic- scientific-papers- paddleocr-vlsize_categories:- n<1Kconfigs:- config_name: default data_files: - split: train path: 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 Labels
The 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 Built
1. **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_dataset
ds = 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
## License
Each 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.
## Acknowledgement
The parsing was run on GPUs provided by the 2026 High-Performance Computing Support Program of the National IT Industry Promotion Agency (NIPA), Korea.123version https://git-lfs.github.com/spec/v1oid sha256:809edd7e15801b91a1d4c79ecea6272cc13beea1aa9d92a822f03cd03d2068d8size 71434379README.mdAdded+151
data/train.parquetAdded+3