Marker

Local document converter with Markdown, JSON and optional hybrid LLM processing.

What is known from testing

On 2026-10-14, the headlesson operator ran all 4 steps of this lesson with Marker 2.0.0 (macOS 26.5.2 arm64; Python 3.11.13 isolated venv; pinned wheel-only installation; preloaded official font and models; CPU with two owned localhost model servers; one authored English digital PDF; default autospawn not tested; no optional remote LLM processing), and all passed. The final Next step is advice and was not run. No independent check has been reviewed. This is the operator's own run, not a vendor claim.

Independent check

Independent check: not yet reviewed. (Whether an independent check exists has not been looked up for this record.)

Description

Marker converts documents through a local model pipeline. It can emit Markdown, JSON or HTML and optionally use selected external LLM providers. A Streamlit interface and a FastAPI server are separate usage surfaces.

Current lesson

Goal: Convert an owner-chosen local PDF without enabling optional remote LLM processing.

This is the current lesson. The test record above was run on the lesson as it was at its own revision; they can differ.

  • 1. pip install marker-pdf
  • 2. marker_single --help
  • 3. marker_single ./sample.pdf
  • 4. Inspect the generated output against the source PDF.

Next (advice, not tested): Next: Select the real PDF and destination, run marker_single <confirmed-PDF-path>, and compare text, tables and equations with the original. Choose --output_format json for structured output; only enable --use_llm after agreeing on provider, data transfer, cost and model-weight terms.

Cautions recorded with the lesson

These notes come from the lesson. Some describe failures seen in tests; others are general cautions. Each one is not a separately tested result.

  • Python 3.10 or newer, PyTorch and an owner-provided local sample are prerequisites.
  • Apache-2.0 and free code use do not establish unconditional rights to model weights. Modified model-weight terms and paid commercial licensing may apply.
  • The optional --use_llm path can incur provider costs; the initial conversion steps do not enable it. Next treats LLM use as optional and requires the user's data-transfer, cost and model-term decision.
  • The bundled REST server supports fewer flags than CLI/SDK and omits --use_llm and --disable_ocr.
  • Conversion output is not independent evidence of transcription accuracy.
  • The 2.0.0 trial needed official font, layout and OCR-error model assets even for a digital PDF. These were preloaded and two owned localhost model servers were used through supported settings; automatic download and autospawn were not tested. The source code's default batch-service autospawn can keep a server running and write shared home-cache logs, so account for cleanup.
  • Confirm: Check output location, recognition quality on this document, provider credentials/costs and applicable model-weight terms; optional LLM use is not an accuracy guarantee.

How to start

Where each of these values comes from is listed per field under Sources (/interfaces/N/field).

Compared facts

Values are shown as recorded; the source, check date and certainty of each value are under Sources. unknown means not confirmed, not "no".

Sources: 37 fields from 9 sources (JSON pointers into the .json version)

Each line names fields of this page (as JSON pointers into the .json version) and where they come from. Labels without a link are non-public sources. Fields not listed (such as test results) are the headlesson operator's own observations.

Primary record

Test results here are the operator's own past lesson trials (legacy). They are not claimed to meet level L1 of run-task-contract/0.1.0.

What "legacy" and L1 mean, and why this record does not claim L1: Record levels and labels.

Relations

2 other relations point to records that are not published yet.

Retrieve over MCP

headlesson_get id="app:marker" sections ["lesson","gotchas"] on https://mcp.headlesson.com/mcp

Cite

headlesson app:marker: see test record test:48hvric (https://headlesson.com/tests/48hvric).

Page updated: 2026-11-04 (the date its content last changed).

要約(日本語): Marker。運営の試用(2026-10-14、2.0.0、passed)の記録がある。詳しい条件・限界・出典は本文のとおり。