Skip to content

Releases: datalab-to/omni_parse_bench

v1.0.0

Choose a tag to compare

@PaulScemama PaulScemama released this 26 Oct 20:43
84e4137

What's Changed

New Contributors

Full Changelog: v0.2.0...v1.0.0

v1.0.0rc1

v1.0.0rc1 Pre-release
Pre-release

Choose a tag to compare

@PaulScemama PaulScemama released this 16 Oct 20:42

What's Changed

Full Changelog: v0.2.0...v1.0.0rc1

v0.2.0

Choose a tag to compare

@PaulScemama PaulScemama released this 14 Oct 20:20
7599d0d

What's Changed

Breaking changes:

  • settings.json must say unsupported, the outputs the system can't produce; grading refuses a folder without it. Fix an existing run by running opb benchmark again with the same --out (it calls no vendor for pages already predicted), by opb grade RUN_DIR --unsupported ..., or by adding "unsupported": [];
  • unsupported is set once per run, not read off each page: a prediction that leaves out an output its page asks for fails those tests;
  • grading reads only predictions/<page_id>.json; records/ adds only cost. A page with a record but no readable prediction is predicted again (opb reparse rebuilds predictions from records without a call);
  • scores.jsonl: the record stamp is renamed prediction. Old lines are graded again once, automatically, with no vendor calls and the same verdicts;
  • Python: benchmark.read_record is removed; use recorded(run, page_id) for the record and predicted(run, page_id) for the outputs; and
  • an OpenAI-compatible base_url other than OpenRouter takes its key from OPB_ENDPOINT_KEY (none if unset); OPENROUTER_API_KEY and OPENAI_API_KEY go only to OpenRouter.

New:

  • opb grade DIR [--unsupported ...] grades any folder of predictions, such as your own model's; and
  • 13 open-weight providers (chandra-ocr, deepseek-ocr, dots-mocr, glm-ocr, hunyuan-ocr, infinity-parser2, lightonocr, mineru, nanonets-ocr, olmocr, paddleocr-vl, surya-ocr and unlimited-ocr), each with a pinned server image in providers/oss/ (see docs/providers.md).

Full Changelog: v0.1.2...v0.2.0

v0.1.2

Choose a tag to compare

@PaulScemama PaulScemama released this 14 Oct 16:39
0ff6fa1

What's Changed

Breaking changes:

  • The dataset needs a new outputs column in its manifest. The current dataset (revision b8e0a5f, HF main) has it. 0.1.2 refuses older revisions (1c35a52 and earlier, or copies downloaded before) with an error that says how to get the current one. 0.1.1 can't read the current dataset, so upgrade, or stay on 0.1.1 with --dataset hf://datasets/datalab-to/omni_parse_bench@1c35a52.
  • A run graded with another gold or other scoring code is refused, instead of being graded again without notice. Pass --rescore to grade every page again; nothing is predicted again. A run graded with 0.1.1 is refused by opb benchmark until it is run once with --rescore; its scores don't change. Later releases that change no scoring file won't need this.
  • CLI errors are raised as Python exceptions with their traceback, instead of a one-line message and exit code 1. The exit code is still non-zero. A command whose extra isn't installed now raises ImportError, and the message names the pip install to run.
  • gold.Page has a required outputs field: the output types its tests read, as a sorted tuple. Code that builds Page objects itself must pass it.
  • A run no longer notices a changed page file, because the page digest was removed. To ask a page again after replacing its file, delete its record. settings.json now records only what the run asks for.

Worth noting:

  • --workers now also takes a JSON object of calls at once per adapter, for example {"datalab": 8, "llm": 4}. A model id as a key is refused, with a hint.

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@PaulScemama PaulScemama released this 09 Oct 19:56
a3600e1

What's Changed

  • opb names the extra a command needs when an install lacks it by @PaulScemama in #5

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@PaulScemama PaulScemama released this 09 Oct 19:44
ecf2ee7

What's Changed

  • Initial release.