+
Skip to content

Conversation

HenryL27
Copy link
Collaborator

previously:

ValueError("Invalid statement: 'default'. Did not find '->', so this is assumed to be a static statement, but the model_name was not in ('table_transformer', 'deformable_detr'))

Now:

ValueError("Bad model selection: default
Invalid statement: 'default'. Did not find '->', so this is assumed to be a static statement, but the model_name was not in ('table_transformer', 'deformable_detr'))

…tring

Signed-off-by: Henry Lindeman <hmlindeman@yahoo.com>
@HenryL27 HenryL27 requested a review from austin-aryn-ai May 21, 2025 16:25
@austin-aryn-ai
Copy link
Contributor

How about:

Bad model selection: 'default'.  Valid values are ('table_transformer', 'deformable_detr')

Btw, are those values even documented? They sound way too technical...

@HenryL27
Copy link
Collaborator Author

HenryL27 commented May 21, 2025

How about: ...

Issue is you can also do stuff like model_selection="chars > 1000 -> table_transformer; deformable_detr", so those aren't the only valid values. So e.g. you could get something like:

Bad model selection: chars > 1000 -> table_transformer; default
Invalid statement: 'default'. Did not find '->', so this is assumed to be a static statement, but the model_name was not in ('table_transformer', 'deformable_detr')

Documentation is here

@HenryL27 HenryL27 merged commit 77cafad into main May 22, 2025
11 of 15 checks passed
@HenryL27 HenryL27 deleted the hml-model-selection-messages branch May 22, 2025 17:23
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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载