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

Encoder refactor V2 #2370

Merged
merged 242 commits into from
Aug 18, 2022
Merged

Conversation

dantreiman
Copy link
Contributor

@dantreiman dantreiman commented Aug 9, 2022

This PR contains all of Connor's commits from #2269 (:encoder_refactor) merged atop the master branch, plus additional refactoring and test fixes in :daniel/encoder_refactor

master -----------------+------+>
                        |      |
daniel/encoder_refactor |      +*---->
                        |       | 
encoder_refactor        +------->

+ = branch
* = merge commit

A few notes:

  • We have a glue function load_config_with_kwargs which loads a config from a dictionary, and collects any key-value pairs not captured by the config in an extra kwargs dictionary. I removed this from instantiation of input features, now all input feature and encoder params are captured by the config.
  • load_config_with_kwargs is still in use for combiners to pass in output_size.

@dantreiman dantreiman merged commit 03b4ab2 into ludwig-ai:master Aug 18, 2022
@jppgks jppgks mentioned this pull request Aug 18, 2022
@dantreiman dantreiman deleted the daniel/encoder_refactor branch August 18, 2022 18:11
@connor-mccorm connor-mccorm linked an issue Aug 26, 2022 that may be closed by this pull request
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.

RFC: Nesting Refactor for Encoder/Decoder Config
8 participants