cuuupid / marker

Convert scanned or electronic documents to markdown, very very very fast

  • Public
  • 2.5K runs
  • L40S
  • GitHub
  • License

Input

file

Provide your input file (PDF, EPUB, MOBI, XPS, FB2).

integer

Provide the maximum number of pages to parse.

integer

Provide the parallel factor to use for OCR.

Default: 1

string

Provide the language to use for OCR.

Default: "English"

integer

The DPI to use for OCR.

Default: 400

boolean

Enable the editor model.

Default: false

Output

markdown

Rendering markdown...

metadata

{"language": "English", "filetype": "pdf", "toc": [], "pages": 4, "ocr_stats": {"ocr_pages": 0, "ocr_failed": 0, "ocr_success": 0}, "block_stats": {"header_footer": 0, "code": 0, "table": 0, "equations": {"successful_ocr": 0, "unsuccessful_ocr": 0, "equations": 0}}, "postprocess_stats": {"edit": {}}}
Generated in

This output was created using a different version of the model, cuuupid/marker:9c670513.

Run time and cost

This model costs approximately $0.092 to run on Replicate, or 10 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 95 seconds. The predict time for this model varies significantly based on the inputs.