Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify default model config behaviour #8

Merged
merged 3 commits into from
Jun 7, 2024

Conversation

francoishernandez
Copy link
Member

Fix #5

Previously, we retained the concept of "default model architecture is encoder/decoder RNN", but that did not fit the modularity of the latest changes (notably when updating nested configurations from existing models).

With these changes, the model configuration key defaults to None in the training code path, which makes it necessary to pass at least an architecture when training from scratch. An explicit error is raised in that sense. (Might still be improved/better documented.)

@francoishernandez francoishernandez force-pushed the default_model_config_behaviour branch 3 times, most recently from 685a7b1 to 5d1641f Compare June 6, 2024 23:06
@francoishernandez francoishernandez force-pushed the default_model_config_behaviour branch from 5d1641f to 65ae395 Compare June 6, 2024 23:11
@francoishernandez francoishernandez merged commit 1b6ac42 into main Jun 7, 2024
4 checks passed
@francoishernandez francoishernandez deleted the default_model_config_behaviour branch July 1, 2024 13:45
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.

eole train returns pydantic validation error for TrainConfig
1 participant