|
Download README.md from LinerAI/Academic-OCR: direct link, hf CLI and curl.
- Browser
- Download file 4.2 kB
-
https://huggingface.co/datasets/LinerAI/Academic-OCR/resolve/main/README.md
- Command line
-
hf download hf://datasets/LinerAI/Academic-OCR/README.md
-
curl -L -o README.md https://huggingface.co/datasets/LinerAI/Academic-OCR/resolve/main/README.md
4.2 kB
| license: other | |
| license_name: per-document-open-licenses | |
| language: | |
| - en | |
| task_categories: | |
| - image-to-text | |
| - text-retrieval | |
| tags: | |
| - ocr | |
| - document-parsing | |
| - layout-analysis | |
| - academic | |
| - scientific-papers | |
| - paddleocr-vl | |
| size_categories: | |
| - n<1K | |
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: train | |
| path: data/train.parquet | |
| # Academic-OCR | |
| **Academic-OCR** is a sample of 1,000 open-license 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) | |
| - [License](#license) | |
| --- | |
| ## Quick Start | |
| ```python | |
| from 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 (HTML) and display formulas (LaTeX) of the paper | |
| 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"] | |
| ``` | |
| --- | |
| ## Dataset Overview | |
| Each 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 ID | |
| openalex_id: string # OpenAlex work ID | |
| doi: string # DOI URL (null for 58 papers) | |
| title: string # Paper title | |
| publication_year: int64 # Publication year | |
| license: string # cc-by, cc-by-sa or public-domain | |
| source_url: string # Landing page of the open-access copy | |
| num_pages: int64 # Number of pages | |
| table_count: int64 # Number of tables detected | |
| formula_count: int64 # Number of formulas detected | |
| image_count: int64 # Number of figures detected | |
| parser_version: string # Parser version | |
| processing_time_ms: int64 # Parsing time for the paper | |
| markdown: string # Full text as Markdown, in reading order | |
| layout_blocks: list # Layout blocks, see below | |
| ``` | |
| **Each item in `layout_blocks`:** | |
| ``` | |
| page_idx: int64 # Page index, starting at 0 | |
| type: string # text, table or formula | |
| label: string # Layout label (e.g. paragraph_title, table, display_formula) | |
| text: string # Plain text, HTML for tables, LaTeX for formulas | |
| text_level: int64 # Heading level for titles, otherwise null | |
| bbox: 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"} | |
| ``` | |
| > **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. | |
| --- | |
| ## 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. 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. | |