Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new model,
ModernNCA, along with various related updates and improvements. The changes include adding the new model and its configuration, updating the version, and integrating the model into the existing framework.New Model Integration:
mambular/base_models/modern_nca.py: Added theModernNCAclass, which includes methods for training, validation, and prediction using NCA-style candidate selection.mambular/models/modern_nca.py: AddedModernNCARegressor,ModernNCAClassifier, andModernNCALSSclasses that extend the base model for different tasks.mambular/configs/modernnca_config.py: Added theDefaultModernNCAConfigclass for configuring theModernNCAmodel.Configuration and Initialization:
mambular/configs/__init__.py: IncludedDefaultModernNCAConfigin the module exports.mambular/base_models/__init__.py: AddedModernNCAto the list of base models.mambular/models/__init__.py: AddedModernNCARegressor,ModernNCAClassifier, andModernNCALSSto the list of models.Version Update:
mambular/__version__.py: Updated the version from1.3.1to1.3.2.pyproject.toml: Updated the version from1.3.1to1.3.2.Utility and Wrapper Enhancements:
mambular/arch_utils/simple_utils.py: Added utility functions and classes, includingMLP_Blockandmake_random_batches.mambular/base_models/utils/lightning_wrapper.py: Enhanced the wrapper to supportModernNCAby adding methods for setup, training, validation, and prediction steps. [1] [2] [3] [4] [5] [6] [7]