Skip to content

Add the image extension's example and documentation - #398

Merged
alanprior merged 2 commits into
mainfrom
alan/image-features
Sep 17, 2026
Merged

alanprior merged 2 commits into
mainfrom
alan/image-features

Conversation

@alanprior

@alanprior alanprior commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Layer 4 of 4 in stack #402, on #400: what surrounds the image extension. #399 adds the image extra, #401 the encoder internals, #400 the transformer and estimator wrapper.

What is in it

  • examples/image/tabpfn_with_images.py fits the Amazon Bestseller task of MulTaBench, the log price of a best-selling product from its photo, rank, page and ratings, three ways: numeric fields only, picture only, both. It reports RMSE. Under FAST_TEST_MODE=1 it runs on a 300-row sample.
  • examples/image/README.md explains the cell format, the gated encoder license and how TabPFNWithImages is used.
  • ImageTransformer and TabPFNWithImages are exported from the package root, and one line each goes into README.md and examples/README.md.
  • tests/test_examples.py registers the example under REQUIRES_MODULE, so it skips unless kagglehub is installed by hand. The archive comes from Kaggle and the encoder's weights are gated on the Hugging Face Hub, so it cannot run in CI without an account on each side.

馃 Generated with Claude Code

@alanprior alanprior changed the title Alan/image features Add the image extension: declared image columns become frozen DINOv3 features Sep 14, 2026
@alanprior
alanprior changed the base branch from main to alan/image-extra September 16, 2026 09:00
@alanprior alanprior changed the title Add the image extension: declared image columns become frozen DINOv3 features Add the image extension's example and documentation Sep 16, 2026
@alanprior
alanprior changed the base branch from alan/image-extra to alan/image-core September 16, 2026 09:06
@alanprior
alanprior added this pull request to stack #402 September 16, 2026 16:33
adrian-prior
adrian-prior previously approved these changes Sep 17, 2026
Comment thread examples/image/README.md Outdated
github-actions[bot]
github-actions Bot previously approved these changes Sep 17, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reapproving after a push, as this is a PR from an internal author and was already approved.

github-actions[bot]
github-actions Bot previously approved these changes Sep 17, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reapproving after a push, as this is a PR from an internal author and was already approved.

Base automatically changed from alan/image-core to main September 17, 2026 17:18
alanprior and others added 2 commits September 17, 2026 20:18
The example fits the Amazon Bestseller task of MulTaBench from the picture
files' paths and a few tabular fields; the README describes the cell forms and
the setup, and the extension is listed with the others.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reapproving after a push, as this is a PR from an internal author and was already approved.

@alanprior
alanprior merged commit f2e3f10 into main Sep 17, 2026
18 checks passed
@alanprior
alanprior deleted the alan/image-features branch September 17, 2026 17:31
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.

2 participants