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

[Refactor][Feature] Train functions refactoring #593

Merged
merged 72 commits into from
Nov 26, 2024
Merged

[Refactor][Feature] Train functions refactoring #593

merged 72 commits into from
Nov 26, 2024

Conversation

mlahariya
Copy link
Collaborator

@mlahariya mlahariya commented Oct 30, 2024

Solves #570 and #569. We introduce a Trainer class that will handle the training process. Along with this, we also introduce a callback system - including callbacks for different operations, as well a callback manager tied closely with Trainer. A config manager handles the TrainConfig (which solves the logging directory problem).

image

@mlahariya mlahariya self-assigned this Oct 30, 2024
@mlahariya mlahariya changed the title Train functions refactoring [Refactor][Bug Resolve] Train functions refactoring Oct 30, 2024
@mlahariya mlahariya changed the title [Refactor][Bug Resolve] Train functions refactoring [Refactor][Feature] Train functions refactoring Oct 30, 2024
@mlahariya
Copy link
Collaborator Author

Hey @RolandMacDoland , @chMoussa, Please let me know if there is something else I need to revisit, else I will finish this merge.

@RolandMacDoland RolandMacDoland self-requested a review November 25, 2024 15:33
@chMoussa chMoussa self-requested a review November 25, 2024 15:48
Copy link
Collaborator

@RolandMacDoland RolandMacDoland left a comment

Choose a reason for hiding this comment

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

Thanks @mlahariya for this massive contribution. LGTM. Minor comments that you could ignore as you've already answered elsewhere.

docs/tutorials/qml/ml_tools/callbacks.md Show resolved Hide resolved
docs/tutorials/qml/ml_tools/callbacks.md Show resolved Hide resolved
qadence/ml_tools/callbacks/callbackmanager.py Show resolved Hide resolved
qadence/ml_tools/callbacks/saveload.py Show resolved Hide resolved
qadence/ml_tools/callbacks/saveload.py Show resolved Hide resolved
qadence/ml_tools/loss/loss.py Show resolved Hide resolved
@mlahariya mlahariya merged commit faa3d5e into main Nov 26, 2024
8 checks passed
@mlahariya mlahariya deleted the ML_570 branch November 26, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants