Skip to content

fix(medcat): Fix config defaulting to train=True. - #591

Merged
mart-r merged 1 commit into
mainfrom
fix/medcat/config-default-train
Jul 27, 2026
Merged

fix(medcat): Fix config defaulting to train=True.#591
mart-r merged 1 commit into
mainfrom
fix/medcat/config-default-train

Conversation

@mart-r

@mart-r mart-r commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

This default would normally be fixed at model load time or at inference time (see calls to ). However, when building a new model (e.g with a mostly default config), the value would remain . And if there is no save/load or inference before training, this would fail to train because of it.

PS: To reiterate, this would not have affected any users down the line since there's fixes at model load time. This would have only affected new model creation (with default/unchanged config).

This default would normally be fixed at model load time or at inference time (see calls to ).
However, when building a new model (e.g with a mostly default config), the value would remain . And if there is no save/load or inference before training, this would fail to train because of it.

PS: To reiterate, this would not have affected any users down the line since there's fixes at model load time. This would have only affected new model creation (with default/unchanged config).

@tomolopolis tomolopolis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@mart-r
mart-r merged commit 69d4bd0 into main Jul 27, 2026
20 checks passed
@mart-r
mart-r deleted the fix/medcat/config-default-train branch July 27, 2026 11:37
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