-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore(pt): refactor the command function interface (#4225)
Fix #3934. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced clarity and usability of the training process with explicit parameters for model training, freezing, and bias changing functions. - Improved function interfaces streamline user interactions and understanding. - **Bug Fixes** - Resolved issues related to parameter handling by transitioning from a flags-based system to a more structured approach. - **Refactor** - Updated function signatures for better readability and maintainability, improving the overall structure of the code. - Simplified the freezing mechanism in tests by removing the use of a `Namespace` object. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
d7d2210
commit af86b57
Showing
3 changed files
with
94 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters