Skip to content

Pin Falcon-OCR to v1 and add a falcon-ocr-1.5 config - #60

Draft
davanstrien wants to merge 2 commits into
mainfrom
feat/falcon-ocr-15-config
Draft

davanstrien wants to merge 2 commits into
mainfrom
feat/falcon-ocr-15-config

Conversation

@davanstrien

@davanstrien davanstrien commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Why

tiiuae/Falcon-OCR now holds two model versions in one repo. TII overwrote main with the v1.5 weights on 2026-09-11 (no tag, no branch). The falcon-ocr slug loaded main, so it silently became v1.5 and no longer matches the v1 rows already judged.

What

  • falcon-ocr now pins the last v1 commit (42ec56b72a23984ac059e7c8a6d397a8529423fe) via --revision.
  • New falcon-ocr-1.5 slug loads the split falcon-ocr-1.5.py recipe and pins the v1.5 release head (fe757d59ecd79d4d68760162306a70a015761ad9). Same model_id, same 0.3B, same l4x1 launch. load_unified_dataset already relabels colliding model_ids by config name, so the two land as distinct leaderboard rows (Falcon-OCR (falcon-ocr) / Falcon-OCR (falcon-ocr-1.5)).
  • Tests: registry count 17; a new test requires both slugs to pin distinct full shas. test_run, test_cli, test_budget_checkpoint: 180 passed.
  • README mentions the new slug.

Depends on

The --revision flag lives in the script this registry loads from the Hub: davanstrien/uv-scripts-for-ai#110. Merge that first and let the uv-scripts/ocr mirror sync; until then the pinned default_args are an unknown argument for the Hub copy of falcon-ocr.py. Draft until that lands.

Smoke evidence for the flag itself (both pins reproduce the outputs previously collected for each version on the same BHL pages) is in #110.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TWTqZnz7cp1TzvicRo6FkN

tiiuae/Falcon-OCR now holds two model versions in one repo: TII overwrote
main with the v1.5 weights on 2026-09-11 without a tag or branch. The
`falcon-ocr` slug loaded main, so it silently became v1.5 and stopped
matching the v1 rows already judged.

- `falcon-ocr` pins the last v1 commit via `--revision`.
- New `falcon-ocr-1.5` slug pins the v1.5 release head. Same model_id;
  the dataset loader already relabels colliding configs by slug so both
  stay distinct leaderboard rows.
- Tests: registry count 17; both slugs must pin distinct full shas.

Depends on the `--revision` flag landing in uv-scripts/ocr falcon-ocr.py
(davanstrien/uv-scripts-for-ai, branch ocr/falcon-ocr-revision) and the
Hub mirror syncing.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TWTqZnz7cp1TzvicRo6FkN
uv-scripts split the Falcon recipe by version identity (falcon-ocr.py
pins v1, falcon-ocr-1.5.py pins the v1.5 release head). The slug now
loads the matching script. The explicit `--revision` pins stay as
belt-and-braces so the bench never depends on a script default.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TWTqZnz7cp1TzvicRo6FkN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant