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

JSON-formatted input for training configuration #94

Merged
merged 11 commits into from
Nov 1, 2023

Conversation

rouson
Copy link
Contributor

@rouson rouson commented Oct 31, 2023

This pull request adds

  • A hyperparameters_t type encapsulating mini-batch size, learning rate, and type of optimizer
  • A network_configuration_t type encapsulating nodes per layer, activation function, and whether or not to use skip connections
  • A training_configuration_t type that extends the [sourcery] file_t type and aggregates hyperparameters_t and network_configuration_t objects.
  • to_json and from_json functions that create or consume JSON-formatted lines stored in string_tarrays for each of the above types.

Each from_json function can be invoked via a generic interface to a user-defined structure constructor function named after the corresponding type.

@rouson rouson merged commit f57316e into main Nov 1, 2023
4 checks passed
@rouson rouson changed the title JSON-formatted input for hyperparameters & net configuration JSON-formatted input for training configuration Nov 1, 2023
@rouson rouson deleted the training-specification-json branch December 20, 2023 23:49
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.

1 participant