Skip to content

Fix trainer mode resolution (closes #914)#1151

Open
DarylOkeke wants to merge 4 commits into
sunlabuiuc:masterfrom
DarylOkeke:fix/trainer-mode-resolution
Open

Fix trainer mode resolution (closes #914)#1151
DarylOkeke wants to merge 4 commits into
sunlabuiuc:masterfrom
DarylOkeke:fix/trainer-mode-resolution

Conversation

@DarylOkeke
Copy link
Copy Markdown

Replaces model.mode with _resolve_mode(output_schema) in Trainer.evaluate, falling back to model.mode for custom models.

Copy link
Copy Markdown
Collaborator

@jhnwu3 jhnwu3 left a comment

Choose a reason for hiding this comment

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

These functions should be deleted at some point. They're redundant and don't actually work in the framework lol.

@jhnwu3
Copy link
Copy Markdown
Collaborator

jhnwu3 commented May 31, 2026

closing b/c we'll be deleting these old legacy functions soon (tbh we completely forgot lol).

@jhnwu3 jhnwu3 closed this May 31, 2026
@jhnwu3
Copy link
Copy Markdown
Collaborator

jhnwu3 commented May 31, 2026

ah nvm I see this is your newer PR. Let's close the other one.

@jhnwu3 jhnwu3 reopened this May 31, 2026
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